Fix avc denials for powerhal

Test: boot to home screen
Bug: 214121738
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ic5e14f7c8d321278c2c39797126db930a0dc93f3
This commit is contained in:
chungkai 2022-02-08 08:43:31 +00:00 committed by Chung-Kai (Michael) Mei
parent 92d0030e6a
commit b1177899bd
2 changed files with 2 additions and 7 deletions

View file

@ -1,9 +1,2 @@
# b/208909174
dontaudit hal_power_default hal_power_default:capability { dac_read_search };
# b/214121738
dontaudit hal_power_default sysfs:file { open };
dontaudit hal_power_default sysfs:file { write };
dontaudit hal_power_default sysfs_fabric:file { open };
dontaudit hal_power_default sysfs_fabric:file { write };
dontaudit hal_power_default vendor_camera_prop:property_service { set };

View file

@ -4,3 +4,5 @@ allow hal_power_default sysfs_fs_f2fs:file rw_file_perms;
allow hal_power_default sysfs_display:file rw_file_perms;
allow hal_power_default sysfs_vendor_sched:file r_file_perms;
allow hal_power_default sysfs_gpu:file rw_file_perms;
allow hal_power_default sysfs_fabric:file rw_file_perms;
set_prop(hal_power_default, vendor_camera_prop)