fingerprint: allow fps to access sysfs_leds
Bug: 261151317 Test: make selinux_policy -j112 Change-Id: If098515510ac48efb7d2ea23f4aeee87869e01e6
This commit is contained in:
parent
3c82f575b9
commit
0e76ae19c1
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ hal_client_domain(hal_fingerprint_capacitance, hal_power);
|
|||
# allow fingerprint to find fwk service
|
||||
allow hal_fingerprint_capacitance fwk_stats_service:service_manager find;
|
||||
|
||||
# allow fingerprint to access sysfs_leds
|
||||
allow hal_fingerprint_capacitance sysfs_leds:dir search;
|
||||
allow hal_fingerprint_capacitance sysfs_leds:file rw_file_perms;
|
||||
|
||||
# allow fingerprint to access input_device
|
||||
allow hal_fingerprint_capacitance input_device:dir r_dir_perms;
|
||||
allow hal_fingerprint_capacitance input_device:chr_file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue