summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2016-02-11 23:42:52 +1100
committerSimon Shields <keepcalm444@gmail.com>2016-02-11 11:24:32 -0800
commit50a1bdc2081282d5340ddee956f8b0548c3f1d4a (patch)
treed3d944e6f5bc258eca9610f475435b58ea5d7d67
parent4e0a903a42f1acd7a01eacdcb2f5f5c50ebe135f (diff)
downloaddevice_samsung_i9300-50a1bdc2081282d5340ddee956f8b0548c3f1d4a.zip
device_samsung_i9300-50a1bdc2081282d5340ddee956f8b0548c3f1d4a.tar.gz
device_samsung_i9300-50a1bdc2081282d5340ddee956f8b0548c3f1d4a.tar.bz2
i9300: allow system_server access to mdnie sysfs
needed for any mdnie stuff that ends up in cmhw Change-Id: I6efe58e295cae59f074abc4a1fd64258fb5d8188
-rw-r--r--selinux/system_server.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/selinux/system_server.te b/selinux/system_server.te
index b9cc2f2..b20927b 100644
--- a/selinux/system_server.te
+++ b/selinux/system_server.te
@@ -4,6 +4,9 @@ allow system_server sensors_data_file:file r_file_perms;
allow system_server wpa_socket:unix_dgram_socket sendto;
allow system_server sysfs:file { read open write };
+allow system_server sysfs_display:lnk_file rw_file_perms;
+allow system_server sysfs_display:dir rw_dir_perms;
+allow system_server sysfs_display:file rw_file_perms;
allow system_server self:capability { sys_module };
allow system_server efs_file:dir search;