summaryrefslogtreecommitdiffstats
path: root/selinux/system.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/system.te')
-rwxr-xr-xselinux/system.te12
1 files changed, 12 insertions, 0 deletions
diff --git a/selinux/system.te b/selinux/system.te
new file mode 100755
index 0000000..73de1ee
--- /dev/null
+++ b/selinux/system.te
@@ -0,0 +1,12 @@
+# Talk to qmuxd
+qmux_socket(system)
+
+allow system diagnostic_device:chr_file rw_file_perms;
+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_app volume_data_file:file { read write open getattr };
+
+allow system sysfs:file { read open write };
+allow system self:capability { sys_module }; \ No newline at end of file