summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2016-02-11 23:42:52 +1100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-16 14:53:19 +0100
commitb58a574578f1f5a268d498638352a0680d459024 (patch)
treed9d5e87a250fd23d904d67f94a6a37a946d413bb
parent6a699f145820f784007ab212b8cece4911e42653 (diff)
downloaddevice_samsung_i9300-b58a574578f1f5a268d498638352a0680d459024.zip
device_samsung_i9300-b58a574578f1f5a268d498638352a0680d459024.tar.gz
device_samsung_i9300-b58a574578f1f5a268d498638352a0680d459024.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;