Fix the following avc denial: avc: denied { write } for name="clkgate_enable" dev="sysfs" ino=69304 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0 Bug: 290709897 Test: enroll fingerprint Change-Id: Ib153087839d59e1839ceed4373a9be6f42e89619
9 lines
516 B
Text
9 lines
516 B
Text
allow hal_power_default sysfs_gpu:file rw_file_perms;
|
|
allow hal_power_default sysfs_fabric:file rw_file_perms;
|
|
allow hal_power_default sysfs_camera:file rw_file_perms;
|
|
allow hal_power_default sysfs_em_profile:file rw_file_perms;
|
|
allow hal_power_default sysfs_display:file rw_file_perms;
|
|
allow hal_power_default sysfs_trusty:file rw_file_perms;
|
|
allow hal_power_default sysfs_ospm:file rw_file_perms;
|
|
allow hal_power_default sysfs_scsi_devices_0000:file rw_file_perms;
|
|
set_prop(hal_power_default, vendor_camera_prop);
|