diff options
author | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-08-14 20:02:51 +0200 |
---|---|---|
committer | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-08-15 11:26:33 +0200 |
commit | 2aa1146201ea9b422f7c72c01250f415ef712c4a (patch) | |
tree | 500e6f79194ee73f647a58199e8d1f37ed3a79b5 /selinux/wpa_supplicant.te | |
parent | b0884d62ccbb35ac38d9a1028c1c9d97c265229c (diff) | |
download | device_samsung_i9300-2aa1146201ea9b422f7c72c01250f415ef712c4a.zip device_samsung_i9300-2aa1146201ea9b422f7c72c01250f415ef712c4a.tar.gz device_samsung_i9300-2aa1146201ea9b422f7c72c01250f415ef712c4a.tar.bz2 |
i9300: add selinux policies
Change-Id: I0304c2efeb06b583a28ea9c9dcc874254ee3930f
Diffstat (limited to 'selinux/wpa_supplicant.te')
-rwxr-xr-x | selinux/wpa_supplicant.te | 10 |
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 |