summaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2016-02-11 23:42:52 +1100
committertilaksidduram <tilaksidduram@gmail.com>2016-02-12 11:49:39 +0530
commit5aa39b897bc644c2547464062aba03fc78236050 (patch)
treee4cf199eaec01e12f4bffccb426f512f29a7822b /selinux
parentefd363083ba3438d4b832f64a381d915b341402e (diff)
downloaddevice_samsung_n7100-5aa39b897bc644c2547464062aba03fc78236050.zip
device_samsung_n7100-5aa39b897bc644c2547464062aba03fc78236050.tar.gz
device_samsung_n7100-5aa39b897bc644c2547464062aba03fc78236050.tar.bz2
n7100: allow system_server access to mdnie sysfs
needed for any mdnie stuff that ends up in cmhw Change-Id: I6efe58e295cae59f074abc4a1fd64258fb5d8188
Diffstat (limited to 'selinux')
-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 31db12d..8990426 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;