Allow fingerprint hal to read sysfs_leds
Fix the following avc denials: avc: denied { search } for name="backlight" dev="sysfs" ino=79316 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_leds:s0 tclass=dir permissive=1 avc: denied { read } for name="state" dev="sysfs" ino=79365 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_leds:s0 tclass=file permissive=1 Bug: 271072126 Test: Authenticate fingerprint. Change-Id: I9f346cb72ef660712b2bfb610df959667958c36a
This commit is contained in:
parent
1cdfdb4262
commit
ba0b76de16
1 changed files with 4 additions and 0 deletions
|
@ -33,3 +33,7 @@ binder_call(hal_fingerprint_default, hal_graphics_composer_default)
|
||||||
|
|
||||||
# allow fingerprint to access thermal hal
|
# allow fingerprint to access thermal hal
|
||||||
hal_client_domain(hal_fingerprint_default, hal_thermal);
|
hal_client_domain(hal_fingerprint_default, hal_thermal);
|
||||||
|
|
||||||
|
# allow fingerprint to read sysfs_leds
|
||||||
|
allow hal_fingerprint_default sysfs_leds:file r_file_perms;
|
||||||
|
allow hal_fingerprint_default sysfs_leds:dir r_dir_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue