summaryrefslogtreecommitdiffstats
path: root/selinux/wpa_supplicant.te
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2015-12-21 21:36:04 +0530
committertilaksidduram <tilaksidduram@gmail.com>2015-12-22 19:54:22 +0530
commit0bf7364ac512f26be0373bf8810bd5c2cdc5c99d (patch)
tree10bcaf605808f2221c95c6eb9208db9b948c3d22 /selinux/wpa_supplicant.te
parentc44906d64a221421c303e36e1571f373984ef53a (diff)
downloaddevice_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.zip
device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.gz
device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.bz2
n7100: Bring in Selinux for M
* commits picked up from the i9300 device repo and made a few changes for n7100 credits to keepcalm444
Diffstat (limited to 'selinux/wpa_supplicant.te')
-rw-r--r--selinux/wpa_supplicant.te12
1 files changed, 12 insertions, 0 deletions
diff --git a/selinux/wpa_supplicant.te b/selinux/wpa_supplicant.te
new file mode 100644
index 0000000..9b806e0
--- /dev/null
+++ b/selinux/wpa_supplicant.te
@@ -0,0 +1,12 @@
+allow wpa init:unix_dgram_socket { read write };
+
+# logwrapper used with wpa_supplicant
+allow wpa devpts:chr_file { read write };
+allow wpa log_device:chr_file { write };
+
+allow wpa wpa_socket:unix_dgram_socket { read write };
+allow wpa_socket system_app:unix_dgram_socket sendto;
+
+allow wpa_socket wifi_data_file:sock_file unlink;
+
+allow wpa rfkill_device:chr_file rw_file_perms;