sepolicy: Allow fingerprint to access fwk hwservice
11-11 19:57:30.203 464 464 E SELinux : avc: denied { find } for interface=android.frameworks.sensorservice::ISensorManager sid=u:r:hal_fingerprint_capacitance:s0 pid=903 scontext=u:r:hal_fingerprint_capacitance:s0 tcontext=u:object_r:fwk_sensor_hwservice:s0 tclass=hwservice_manager permissive=0 Bug: 258783592 Test: Build pass Change-Id: I58a31c04cbb45ab12b0bf42a10c57ddf4f065ee7
This commit is contained in:
parent
6c42229dcc
commit
f544a5a651
1 changed files with 3 additions and 0 deletions
|
@ -26,3 +26,6 @@ allow hal_fingerprint_capacitance input_device:chr_file rw_file_perms;
|
|||
# allow fingerprint to access hwservice
|
||||
hwbinder_use(hal_fingerprint_capacitance)
|
||||
add_hwservice(hal_fingerprint_capacitance, hal_fingerprint_capacitance_ext_hwservice)
|
||||
|
||||
# allow fingerprint to access fwk sensor hwservice
|
||||
allow hal_fingerprint_capacitance fwk_sensor_hwservice:hwservice_manager find;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue