From 3213c655a5bbdc1ac826c0e7383f7d5ce3385d7d Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Thu, 8 Oct 2020 08:35:30 +0000 Subject: [PATCH] PL2: Allow hal_nfc_default to search nfc_vendor_data_file [ 77.883303] type=1400 audit(1602012223.756:15): avc: denied { search } for comm="nfc@1.2-service" name="nfc" dev="mmcblk0p85" ino=778309 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=dir permissive=0 Signed-off-by: Aayush Gupta Change-Id: Icf414bd7c34fe9b318d684dac2b167717e53aad3 --- sepolicy/vendor/hal_nfc_default.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/vendor/hal_nfc_default.te b/sepolicy/vendor/hal_nfc_default.te index ed17115..d263981 100644 --- a/sepolicy/vendor/hal_nfc_default.te +++ b/sepolicy/vendor/hal_nfc_default.te @@ -1 +1,3 @@ allow hal_nfc_default sec_device:chr_file rw_file_perms; + +allow hal_nfc_default nfc_vendor_data_file:dir { search };