summaryrefslogtreecommitdiffstats
path: root/sepolicy/wpa_supplicant.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/wpa_supplicant.te')
-rw-r--r--sepolicy/wpa_supplicant.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/sepolicy/wpa_supplicant.te b/sepolicy/wpa_supplicant.te
new file mode 100644
index 0000000..98fdc25
--- /dev/null
+++ b/sepolicy/wpa_supplicant.te
@@ -0,0 +1,11 @@
+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_server:unix_dgram_socket sendto;
+
+allow wpa_socket wifi_data_file:sock_file unlink;
+allow wpa rfkill_device:chr_file rw_file_perms;
+allow wpa log_device:chr_file { open };