summaryrefslogtreecommitdiffstats
path: root/selinux/system.te
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-14 20:02:51 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-15 11:26:33 +0200
commit2aa1146201ea9b422f7c72c01250f415ef712c4a (patch)
tree500e6f79194ee73f647a58199e8d1f37ed3a79b5 /selinux/system.te
parentb0884d62ccbb35ac38d9a1028c1c9d97c265229c (diff)
downloaddevice_samsung_i9300-2aa1146201ea9b422f7c72c01250f415ef712c4a.zip
device_samsung_i9300-2aa1146201ea9b422f7c72c01250f415ef712c4a.tar.gz
device_samsung_i9300-2aa1146201ea9b422f7c72c01250f415ef712c4a.tar.bz2
i9300: add selinux policies
Change-Id: I0304c2efeb06b583a28ea9c9dcc874254ee3930f
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..0ac9cfc
--- /dev/null
+++ b/selinux/system.te
@@ -0,0 +1,10 @@
+allow system uinput_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 };