From d8c86560e2cbf54aece35051a7bb7a527104976f Mon Sep 17 00:00:00 2001 From: tilaksidduram Date: Wed, 12 Nov 2014 18:53:12 +0530 Subject: n7100: fixes for SElinux --- selinux/system.te | 14 +++++++------- selinux/wpa_supplicant.te | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'selinux') 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; -- cgit v1.1