Correct fps sepolicy error
E SELinux : avc: denied { find }
name=android.frameworks.sensorservice.ISensorManager/default
scontext=u:r:hal_fingerprint_capacitance:s0
tcontext=u:object_r:fwk_sensor_service:s0
tclass=service_manager permissive=0
Bug: 294959986
Test: make selinux_policy -j128
Change-Id: I987349032bdf7b79e1985a321949987860a08098
This commit is contained in:
@@ -36,4 +36,4 @@ 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;
|
||||
allow hal_fingerprint_capacitance fwk_sensor_service:service_manager find;
|
||||
|
||||
Reference in New Issue
Block a user