diff options
author | eddielan <eddielan@google.com> | 2023-08-08 17:04:17 +0800 |
---|---|---|
committer | eddielan <eddielan@google.com> | 2023-08-08 17:33:06 +0800 |
commit | 2e9cc3bd535bead176760a28d02e829dbc477ebf (patch) | |
tree | 0f56f7c89b696e9437e9b709c8e9830a9fd4291c | |
parent | fda887ed1b05f73c938899998a080532b3fe0588 (diff) | |
download | felix-sepolicy-2e9cc3bd535bead176760a28d02e829dbc477ebf.tar.gz |
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: If7d548c02731864b83e04b97e048cb38b5a8a600
-rw-r--r-- | fingerprint_capacitance/hal_fingerprint_capacitance.te | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fingerprint_capacitance/hal_fingerprint_capacitance.te b/fingerprint_capacitance/hal_fingerprint_capacitance.te index 8c78ee5..e12e3d9 100644 --- a/fingerprint_capacitance/hal_fingerprint_capacitance.te +++ b/fingerprint_capacitance/hal_fingerprint_capacitance.te @@ -32,4 +32,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; |