summaryrefslogtreecommitdiffstats
path: root/common/hal_nfc.te
diff options
context:
space:
mode:
Diffstat (limited to 'common/hal_nfc.te')
-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;