sepolicy: adding getattr perm for init.
Change-Id: I4b7295066031aa838139dda203fec019a11386dd
This commit is contained in:
parent
3f9249c5d3
commit
a5d7317049
1 changed files with 4 additions and 2 deletions
6
generic/vendor/common/init.te
vendored
6
generic/vendor/common/init.te
vendored
|
@ -72,8 +72,10 @@ allow init sysfs_zram:file r_file_perms;
|
|||
|
||||
allow init vendor_sysfs_boot_adsp:file w_file_perms;
|
||||
|
||||
# Search and write access for vendor_sysfs_graphics for backlight
|
||||
# and vendor_sysfs_usb_device in recovery
|
||||
allow init bt_firmware_file:filesystem getattr;
|
||||
allow init firmware_file:filesystem getattr;
|
||||
|
||||
# Search and write access for vendor_sysfs_graphics for backlight in recovery
|
||||
recovery_only(`
|
||||
allow init vendor_sysfs_graphics:file w_file_perms;
|
||||
allow init vendor_sysfs_graphics:dir search;
|
||||
|
|
Loading…
Reference in a new issue