Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
ddc90255
Commit
ddc90255
authored
10 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Refine recovery domain."
parents
442b6f10
8b7ca455
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recovery.te
+5
-1
5 additions, 1 deletion
recovery.te
with
5 additions
and
1 deletion
recovery.te
+
5
−
1
View file @
ddc90255
...
@@ -10,7 +10,7 @@ recovery_only(`
...
@@ -10,7 +10,7 @@ recovery_only(`
allow recovery rootfs:file entrypoint;
allow recovery rootfs:file entrypoint;
permissive_or_unconfined(recovery)
permissive_or_unconfined(recovery)
allow recovery self:capability { chown dac_override fowner fsetid s
ys_admin
};
allow recovery self:capability { chown dac_override fowner fsetid s
etfcap sys_admin sys_tty_config
};
# Set security contexts on files that are not known to the loaded policy.
# Set security contexts on files that are not known to the loaded policy.
allow recovery self:capability2 mac_admin;
allow recovery self:capability2 mac_admin;
...
@@ -40,6 +40,7 @@ recovery_only(`
...
@@ -40,6 +40,7 @@ recovery_only(`
allow recovery graphics_device:dir r_dir_perms;
allow recovery graphics_device:dir r_dir_perms;
allow recovery input_device:dir r_dir_perms;
allow recovery input_device:dir r_dir_perms;
allow recovery input_device:chr_file r_file_perms;
allow recovery input_device:chr_file r_file_perms;
allow recovery tty_device:chr_file rw_file_perms;
# Create /tmp/recovery.log and execute /tmp/update_binary.
# Create /tmp/recovery.log and execute /tmp/update_binary.
allow recovery tmpfs:file { create_file_perms x_file_perms };
allow recovery tmpfs:file { create_file_perms x_file_perms };
...
@@ -57,5 +58,8 @@ recovery_only(`
...
@@ -57,5 +58,8 @@ recovery_only(`
allow recovery self:process setfscreate;
allow recovery self:process setfscreate;
wakelock_use(recovery)
wakelock_use(recovery)
# This line seems suspect, as it shouldn't really need to
# set scheduling parameters for a kernel domain task.
allow recovery kernel:process setsched;
allow recovery kernel:process setsched;
')
')
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment