diff options
author | tilaksidduram <tilaksidduram@gmail.com> | 2014-11-12 18:53:12 +0530 |
---|---|---|
committer | tilaksidduram <tilaksidduram@gmail.com> | 2014-11-20 08:11:29 +0530 |
commit | d8c86560e2cbf54aece35051a7bb7a527104976f (patch) | |
tree | 2c0f4766c02209102834df0ab8ad23904bc26f5c /selinux | |
parent | eea07f75d1aaa377639fa53e5c39e5be0d27e544 (diff) | |
download | device_samsung_n7100-d8c86560e2cbf54aece35051a7bb7a527104976f.zip device_samsung_n7100-d8c86560e2cbf54aece35051a7bb7a527104976f.tar.gz device_samsung_n7100-d8c86560e2cbf54aece35051a7bb7a527104976f.tar.bz2 |
n7100: fixes for SElinux
Diffstat (limited to 'selinux')
-rw-r--r-- | selinux/system.te | 14 | ||||
-rwxr-xr-x | selinux/wpa_supplicant.te | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/selinux/system.te b/selinux/system.te index df7b6fc..4ea6c98 100644 --- a/selinux/system.te +++ b/selinux/system.te @@ -1,11 +1,11 @@ -allow system input_device:chr_file { read ioctl write open }; -allow system sensors_device:chr_file { read open }; -allow system sensors_data_file:file r_file_perms; -allow system wpa_socket:unix_dgram_socket sendto; +allow system_server input_device:chr_file { read ioctl write open }; +allow system_server sensors_device:chr_file { read open }; +allow system_server sensors_data_file:file r_file_perms; +allow system_server wpa_socket:unix_dgram_socket sendto; allow system_app volume_data_file:file { read write open getattr }; -allow system sysfs:file { read open write }; -allow system self:capability { sys_module }; +allow system_server sysfs:file { read open write }; +allow system_server self:capability { sys_module }; # /efs/wifi/.mac.info -allow system wifi_data_file:file { read open }; +allow system_server wifi_data_file:file { read open }; diff --git a/selinux/wpa_supplicant.te b/selinux/wpa_supplicant.te index ab5fb24..c438b88 100755 --- a/selinux/wpa_supplicant.te +++ b/selinux/wpa_supplicant.te @@ -4,7 +4,7 @@ allow wpa init:unix_dgram_socket { read write }; 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 system_server: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 +allow wpa rfkill_device:chr_file rw_file_perms; |