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: Ief1ccc7e2fa6b8b4dc1ecbd6d446cc49ee3936ce
This commit is contained in:
parent
3496931400
commit
32f2e4b0e7
1 changed files with 2 additions and 0 deletions
|
@ -21,3 +21,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