summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-02-21 23:06:10 +0200
committerMichael Bestas <mkbestas@lineageos.org>2019-02-26 14:50:35 +0100
commit518da5dd43c64032ffce9ede15de9bb043e20291 (patch)
treec433f83d88074dca3749122040e43591dca65fcb
parent3e7b8172c4d35bb48d63090483ac614db17c6787 (diff)
downloadandroid_device_qcom_sepolicy-legacy-518da5dd43c64032ffce9ede15de9bb043e20291.tar.gz
android_device_qcom_sepolicy-legacy-518da5dd43c64032ffce9ede15de9bb043e20291.tar.bz2
android_device_qcom_sepolicy-legacy-518da5dd43c64032ffce9ede15de9bb043e20291.zip
sepolicy: Resolve hal_nfc denials
Change-Id: I10e79716e08696277debf28f3197faf73b1338e6
-rw-r--r--common/hal_nfc.te4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/hal_nfc.te b/common/hal_nfc.te
index e4dcada..fafc685 100644
--- a/common/hal_nfc.te
+++ b/common/hal_nfc.te
@@ -31,4 +31,6 @@ set_prop(hal_nfc, nfc_nq_prop)
#Allow access to firmware
allow hal_nfc firmware_file:dir r_dir_perms;
allow hal_nfc firmware_file:file r_file_perms;
-allow hal_nfc nfc_vendor_data_file:file rw_file_perms;
+
+allow hal_nfc nfc_vendor_data_file:dir create_dir_perms;
+allow hal_nfc nfc_vendor_data_file:file create_file_perms;