Allow hal_fingerprint_default to access sysfs_display
Fix the following avc denial: avc: denied { read } for name="panel_name" dev="sysfs" ino=71133 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_display:s0 tclass=file permissive=0 Bug: 223687187 Test: build and test fingerprint on device. Change-Id: Ic2b2cadb97f36643b79de6a8ebfe2232093fe7d7
This commit is contained in:
parent
fcc7d1dbae
commit
3df0d7812b
1 changed files with 2 additions and 0 deletions
|
@ -24,3 +24,5 @@ allow hal_fingerprint_default block_device:dir search;
|
|||
# Allow fingerprint to access fwk_sensor_hwservice
|
||||
allow hal_fingerprint_default fwk_sensor_hwservice:hwservice_manager find;
|
||||
|
||||
# Allow fingerprint to read sysfs_display
|
||||
allow hal_fingerprint_default sysfs_display:file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue