fingerprint: Allow fps HAL to access sysfs_batteryinfo
avc: denied { search } for name="dock" dev="sysfs" ino=68869 scontext=u:r:hal_fingerprint_capacitance:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=1 Bug: 268158443 Test: make selinux_policy -j112 Change-Id: I28a50a68019bdf474df4de27d31df06ec13b2a7a
This commit is contained in:
parent
1dacfd5541
commit
add3a60535
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@ allow hal_fingerprint_capacitance fwk_stats_service:service_manager find;
|
|||
allow hal_fingerprint_capacitance sysfs_leds:dir search;
|
||||
allow hal_fingerprint_capacitance sysfs_leds:file rw_file_perms;
|
||||
|
||||
# allow fingerprint to access sysfs_batteryinfo
|
||||
allow hal_fingerprint_capacitance sysfs_batteryinfo:dir search;
|
||||
allow hal_fingerprint_capacitance sysfs_batteryinfo: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