fingerprint: Allow fps to access wakeup node
01-12 08:01:43.652 1852 1852 W android.hardwar: type=1400 audit(0.0:38): avc: denied { write } for name="wakeup_enable" dev="sysfs" ino=97986 scontext=u:r:hal_fingerprint_capacitance:s0 tcontext=u:object_r:sysfs_wakeup:s0 tclass=file permissive=0 Bug: 319578405 Test: Build pass & check on device Change-Id: I31380020ac5fe61bb976954d03a9449bbe6c287d
This commit is contained in:
parent
76a6fad054
commit
6b25e7527c
1 changed files with 3 additions and 0 deletions
3
vendor/hal_fingerprint_capacitance.te
vendored
3
vendor/hal_fingerprint_capacitance.te
vendored
|
@ -10,6 +10,9 @@ allow hal_fingerprint_capacitance tee_device:chr_file rw_file_perms;
|
|||
allow hal_fingerprint_capacitance sysfs_fingerprint:dir r_dir_perms;
|
||||
allow hal_fingerprint_capacitance sysfs_fingerprint:file rw_file_perms;
|
||||
|
||||
# allow fingerprint to access wakeup node
|
||||
allow hal_fingerprint_capacitance sysfs_wakeup:file rw_file_perms;
|
||||
|
||||
# allow fingerprint to access power hal
|
||||
hal_client_domain(hal_fingerprint_capacitance, hal_power);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue