summaryrefslogtreecommitdiffstats
path: root/selinux/wpa_supplicant.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/wpa_supplicant.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/wpa_supplicant.te')
-rwxr-xr-xselinux/wpa_supplicant.te10
1 files changed, 10 insertions, 0 deletions
diff --git a/selinux/wpa_supplicant.te b/selinux/wpa_supplicant.te
new file mode 100755
index 0000000..ab5fb24
--- /dev/null
+++ b/selinux/wpa_supplicant.te
@@ -0,0 +1,10 @@
+allow wpa init:unix_dgram_socket { read write };
+
+# logwrapper used with wpa_supplicant
+allow wpa devpts:chr_file { read write };
+
+allow wpa wpa_socket:unix_dgram_socket { read write };
+allow wpa_socket system:unix_dgram_socket sendto;
+
+allow wpa_socket wifi_data_file:sock_file unlink;
+allow wpa rfkill_device:chr_file rw_file_perms; \ No newline at end of file