aboutsummaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2014-12-12 15:36:31 -0500
committersbrissen <sbrissen@hotmail.com>2014-12-12 15:36:31 -0500
commit7b2d8a380d3c2e1ab9771d9dc55ea268408874b0 (patch)
tree8e028a3f693ef2c46e25129ea89052924d15b47c /selinux
parent4a0fa49bd890f127a7ab485168d6d30b206a8b30 (diff)
downloaddevice_samsung_kona-common-7b2d8a380d3c2e1ab9771d9dc55ea268408874b0.zip
device_samsung_kona-common-7b2d8a380d3c2e1ab9771d9dc55ea268408874b0.tar.gz
device_samsung_kona-common-7b2d8a380d3c2e1ab9771d9dc55ea268408874b0.tar.bz2
kona: initial L bringup
Change-Id: Ic2df78caff752a3bcff645283c13ea3299264bcf
Diffstat (limited to 'selinux')
-rwxr-xr-xselinux/system.te14
-rwxr-xr-xselinux/wpa_supplicant.te2
2 files changed, 8 insertions, 8 deletions
diff --git a/selinux/system.te b/selinux/system.te
index 03637ab..1160fd7 100755
--- a/selinux/system.te
+++ b/selinux/system.te
@@ -1,11 +1,11 @@
# Talk to qmuxd
-qmux_socket(system)
+qmux_socket(system_server)
-allow system diagnostic_device:chr_file rw_file_perms;
-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 diagnostic_device:chr_file rw_file_perms;
+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 }; \ No newline at end of file
+allow system_server sysfs:file { read open write };
+allow system_server self:capability { sys_module }; \ No newline at end of file
diff --git a/selinux/wpa_supplicant.te b/selinux/wpa_supplicant.te
index ab5fb24..da2bed9 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_app: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