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: If2185f8f8a095f68ecb70df82c3253f3d5ee32cc
This commit is contained in:
parent
8b78d57efa
commit
58e5a0da26
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
|
# allow fingerprint to access hwservice
|
||||||
hwbinder_use(hal_fingerprint_capacitance)
|
hwbinder_use(hal_fingerprint_capacitance)
|
||||||
add_hwservice(hal_fingerprint_capacitance, hal_fingerprint_capacitance_ext_hwservice)
|
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