summaryrefslogtreecommitdiffstats
path: root/selinux/system.te
diff options
context:
space:
mode:
authormyko <myko.hkg@gmail.com>2013-11-11 12:20:23 +0530
committertilaksidduram <tilaksidduram@gmail.com>2013-11-17 11:45:13 +0530
commitc4265aceacf50158cc3855d4b037d0f7b9cf092c (patch)
tree6d0b774d6d6a9ef08c0ec5993ae0a2145d81c6a3 /selinux/system.te
parent338cedd2c3076d28d1d3135212b3ca148bbb36f1 (diff)
downloaddevice_samsung_n7100-c4265aceacf50158cc3855d4b037d0f7b9cf092c.zip
device_samsung_n7100-c4265aceacf50158cc3855d4b037d0f7b9cf092c.tar.gz
device_samsung_n7100-c4265aceacf50158cc3855d4b037d0f7b9cf092c.tar.bz2
N7100 - Added Selinux support
Change-Id: I8272187a8bfafbe0185be40c65fa166f711d4f1f
Diffstat (limited to 'selinux/system.te')
-rw-r--r--selinux/system.te10
1 files changed, 10 insertions, 0 deletions
diff --git a/selinux/system.te b/selinux/system.te
new file mode 100644
index 0000000..395aeea
--- /dev/null
+++ b/selinux/system.te
@@ -0,0 +1,10 @@
+allow system input_device:chr_file { read ioctl write open };
+allow system sensors_device:chr_file { read open };
+allow system sensors_data_file:file r_file_perms;
+allow system wpa_socket:unix_dgram_socket sendto;
+
+allow system sysfs:file { read open write };
+allow system self:capability { sys_module };
+
+# /efs/wifi/.mac.info
+allow system wifi_data_file:file { read open };