Skip to content
Snippets Groups Projects
Commit 4ba3328c authored by Tri Vo's avatar Tri Vo Committed by android-build-merger
Browse files

Merge "Move update_engine rules out of update_engine_common.te"

am: 02580440

Change-Id: I9d772751cf8b03dc5ab0e68003d0d2dbd03568c8
parents 2b13b74a 02580440
No related branches found
No related tags found
No related merge requests found
......@@ -39,3 +39,13 @@ allow update_engine ota_package_file:dir r_dir_perms;
# Use Boot Control HAL
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)
......@@ -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 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment