Allow hal_power_default to access sysfs_scsi_devices_0000

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
This commit is contained in:
Kris Chen 2023-08-17 20:27:22 +08:00 committed by KRIS CHEN
parent 0f46a31902
commit c9d21c380f

View file

@ -5,4 +5,5 @@ 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_display:file rw_file_perms;
allow hal_power_default sysfs_trusty: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_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); set_prop(hal_power_default, vendor_camera_prop);