Merge "Add proper permission for AIDL bootcontrol server"
This commit is contained in:
commit
f70d708544
2 changed files with 7 additions and 0 deletions
|
@ -5,3 +5,6 @@ binder_use(hal_bootctl_server)
|
|||
|
||||
hal_attribute_hwservice(hal_bootctl, hal_bootctl_hwservice)
|
||||
allow hal_bootctl_server proc_bootconfig:file r_file_perms;
|
||||
|
||||
# Needed to wait for AIDL hal services
|
||||
hal_attribute_service(hal_bootctl, hal_bootctl_service);
|
||||
|
|
4
vendor/hal_bootctl_default.te
vendored
4
vendor/hal_bootctl_default.te
vendored
|
@ -14,3 +14,7 @@ read_fstab(hal_bootctl_default)
|
|||
# Needed for reading/writing misc partition.
|
||||
allow hal_bootctl_default block_device:dir search;
|
||||
allow hal_bootctl_default misc_block_device:blk_file rw_file_perms;
|
||||
|
||||
# Needed for writing to kernel log
|
||||
allow hal_bootctl_default kmsg_device:chr_file open;
|
||||
allow hal_bootctl_default kmsg_device:chr_file write;
|
||||
|
|
Loading…
Reference in a new issue