Merge "Add permissions for hal_boot"

This commit is contained in:
Connor O'Brien 2016-11-29 00:49:20 +00:00 committed by Gerrit Code Review
commit 280ba8b712
3 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# boot_control subsystem
type hal_boot, domain;
type hal_boot, domain, boot_control_hal;
type hal_boot_exec, exec_type, file_type;
# hwbinder access

View file

@ -33,3 +33,7 @@ binder_call(update_engine, priv_app)
# Read OTA zip file at /data/ota_package/.
allow update_engine ota_package_file:file r_file_perms;
allow update_engine ota_package_file:dir r_dir_perms;
# Use binderized HAL
hwbinder_use(update_engine)
binder_call(update_engine, hal_boot)

View file

@ -16,5 +16,3 @@ allow update_verifier system_block_device:blk_file r_file_perms;
# Use binderized HAL
hwbinder_use(update_verifier)
binder_call(update_verifier, hal_boot)
allow update_verifier system_file:dir r_dir_perms;