aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrdenKrieger <OrdenKriegerEDR@googlemail.com>2021-10-14 00:34:50 +0200
committerAlessandro Astone <ales.astone@gmail.com>2021-10-15 15:54:33 +0200
commit0977c2255db4a6f23d365e3fa0b0cc574f39f23f (patch)
tree994a3ca771b0aa21b20ad6b9e2ae1637314e574d
parent8060bd6cd80f558f15f0b02d662ad4e6d119548d (diff)
sm8250-common: sepolicy: Allow hal_nfc_default to find INxpNfcLegacy
Change-Id: I866ef9fa25381086975e2f744abd26b719cf9b15
-rw-r--r--sepolicy/vendor/hal_nfc_default.te2
-rw-r--r--sepolicy/vendor/hwservice_contexts1
2 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/vendor/hal_nfc_default.te b/sepolicy/vendor/hal_nfc_default.te
index d9eed51..44776df 100644
--- a/sepolicy/vendor/hal_nfc_default.te
+++ b/sepolicy/vendor/hal_nfc_default.te
@@ -1,3 +1,5 @@
+allow hal_nfc_default hal_nfc_hwservice:hwservice_manager find;
+
allow hal_nfc_default vendor_nfc_prop:file read;
set_prop(hal_nfc_default, vendor_nfc_prop)
diff --git a/sepolicy/vendor/hwservice_contexts b/sepolicy/vendor/hwservice_contexts
index f75a32a..18dad64 100644
--- a/sepolicy/vendor/hwservice_contexts
+++ b/sepolicy/vendor/hwservice_contexts
@@ -1,3 +1,4 @@
vendor.pixelworks.hardware.display::IIris u:object_r:hal_display_iris_hwservice:s0
vendor.asus.bspcam::IAsusBspCameraInterface u:object_r:asus_bspcam_hwservice:s0
vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon u:object_r:hal_fingerprint_hwservice:s0
+vendor.nxp.nxpnfclegacy::INxpNfcLegacy u:object_r:hal_nfc_hwservice:s0