From 691144d5a6cfb3b02f6c676363a6a7708a946c46 Mon Sep 17 00:00:00 2001 From: Caio Schnepper Date: Thu, 4 Feb 2016 09:29:41 -0200 Subject: galaxys2-common: Fix macloader SELinux denial Change-Id: I4a18462429c662d3377f48f8b0c9c669159bea63 --- selinux/file_contexts | 1 + selinux/macloader.te | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 }; -- cgit v1.1