summaryrefslogtreecommitdiffstats
path: root/selinux/system.te
diff options
context:
space:
mode:
authorRoberto Gibellini <gibellini.roberto@gmail.com>2016-11-19 17:21:50 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-11-19 16:36:52 -0800
commitf2a3063bc88ee0a075c04fa274c10c39c7abfc9b (patch)
tree0042544658ce6961403f6eac79ca6217b8efc5cc /selinux/system.te
parentb8ca7e9e41daaab93c33b136dd8f238606bf9352 (diff)
downloaddevice_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.zip
device_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.tar.gz
device_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.tar.bz2
Revert "i9305 : second cleanup"
I'll push single commits This reverts commit 2f6c7f36412046bd8b67ffbf511ffa74d7cc6842. Change-Id: I147666b0637e2950612653ad680b7a1f33e173f0
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..bc8212b
--- /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 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 };
+