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:
parent
0f46a31902
commit
c9d21c380f
1 changed files with 1 additions and 0 deletions
1
vendor/hal_power_default.te
vendored
1
vendor/hal_power_default.te
vendored
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue