Add sepolicy rules for fastboot AIDL service am: 25ea0f418a
am: e1f3eb7802
am: 5eca847f64
Original change: https://android-review.googlesource.com/c/device/google/gs201-sepolicy/+/2293977 Change-Id: I322f88288feab1a217b60f2954c08b12176c66ca Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
5d03dcc5cf
1 changed files with 18 additions and 0 deletions
18
whitechapel_pro/hal_fastboot_default.te
Normal file
18
whitechapel_pro/hal_fastboot_default.te
Normal file
|
@ -0,0 +1,18 @@
|
|||
binder_use(hal_fastboot_default)
|
||||
|
||||
# For get-off-mode charge state
|
||||
allow hal_fastboot_default devinfo_block_device:blk_file { open read };
|
||||
allow hal_fastboot_default kmsg_device:chr_file { open write };
|
||||
|
||||
# For dev/block/by-name dir
|
||||
allow hal_fastboot_default block_device:dir r_dir_perms;
|
||||
|
||||
allow hal_fastboot_default tmpfs:dir rw_dir_perms;
|
||||
allow hal_fastboot_default rootfs:dir r_dir_perms;
|
||||
|
||||
# For set-brightness
|
||||
allow hal_fastboot_default sysfs_leds:dir search;
|
||||
allow hal_fastboot_default sysfs_leds:file rw_file_perms;
|
||||
allow hal_fastboot_default sysfs_leds:lnk_file read;
|
||||
|
||||
allow hal_fastboot_default citadel_device:chr_file getattr;
|
Loading…
Add table
Add a link
Reference in a new issue