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
02580440
Commit
02580440
authored
7 years ago
by
Tri Vo
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Move update_engine rules out of update_engine_common.te"
parents
c5e32208
fd7da7b2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/update_engine.te
+10
-0
10 additions, 0 deletions
public/update_engine.te
public/update_engine_common.te
+0
-10
0 additions, 10 deletions
public/update_engine_common.te
with
10 additions
and
10 deletions
public/update_engine.te
+
10
−
0
View file @
02580440
...
@@ -39,3 +39,13 @@ allow update_engine ota_package_file:dir r_dir_perms;
...
@@ -39,3 +39,13 @@ allow update_engine ota_package_file:dir r_dir_perms;
# Use Boot Control HAL
# Use Boot Control HAL
hal_client_domain(update_engine, hal_bootctl)
hal_client_domain(update_engine, hal_bootctl)
# access /proc/misc and /proc/sys/kernel/random/boot_id
allow update_engine proc:file r_file_perms;
allow update_engine proc_misc:file r_file_perms;
# read directories on /system and /vendor
allow update_engine system_file:dir r_dir_perms;
# Read files in /sys
r_dir_file(update_engine, sysfs)
This diff is collapsed.
Click to expand it.
public/update_engine_common.te
+
0
−
10
View file @
02580440
...
@@ -37,13 +37,3 @@ allow update_engine_common shell_exec:file rx_file_perms;
...
@@ -37,13 +37,3 @@ allow update_engine_common shell_exec:file rx_file_perms;
# Allow update_engine_common to suspend, resume and kill the postinstall program.
# Allow update_engine_common to suspend, resume and kill the postinstall program.
allow update_engine_common postinstall:process { signal sigstop sigkill };
allow update_engine_common postinstall:process { signal sigstop sigkill };
# access /proc/misc and /proc/sys/kernel/random/boot_id
allow update_engine proc:file r_file_perms;
allow update_engine proc_misc:file r_file_perms;
# read directories on /system and /vendor
allow update_engine system_file:dir r_dir_perms;
# Read files in /sys
r_dir_file(uncrypt, sysfs)
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