summaryrefslogtreecommitdiffstats
path: root/selinux/wpa_supplicant.te
diff options
context:
space:
mode:
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