From 7b2d8a380d3c2e1ab9771d9dc55ea268408874b0 Mon Sep 17 00:00:00 2001 From: sbrissen Date: Fri, 12 Dec 2014 15:36:31 -0500 Subject: kona: initial L bringup Change-Id: Ic2df78caff752a3bcff645283c13ea3299264bcf --- selinux/system.te | 14 +++++++------- selinux/wpa_supplicant.te | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'selinux') 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 -- cgit v1.1