summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--selinux/file_contexts1
-rw-r--r--selinux/macloader.te2
2 files changed, 2 insertions, 1 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts
index 0b7febc..b1e79f2 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -40,6 +40,7 @@
# WiFi
/dev/rfkill u:object_r:rfkill_device:s0
/efs/wifi/.mac.info u:object_r:wifi_data_file:s0
+/data/.cid.info u:object_r:wifi_data_file:s0
# Firmwares
/system/vendor/firmware/mfc_fw.bin u:object_r:firmware_mfc:s0
diff --git a/selinux/macloader.te b/selinux/macloader.te
index 5799c7c..5e649e6 100644
--- a/selinux/macloader.te
+++ b/selinux/macloader.te
@@ -4,4 +4,4 @@ init_daemon_domain(macloader);
allow macloader efs_file:dir search;
allow macloader efs_device_file:dir search;
-allow macloader wifi_data_file:file { read getattr open };
+allow macloader wifi_data_file:file { read getattr open write setattr };