aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/system_server.te
diff options
context:
space:
mode:
authorFedor917 <cryscript@gmail.com>2016-11-10 16:08:06 +0700
committerFedor917 <cryscript@gmail.com>2016-11-10 16:08:06 +0700
commit1ebfb18a229b395c76b29e7266e2798090948ddd (patch)
tree4c7d3e22470915a48cfa714ea3335b1781efc1dd /sepolicy/system_server.te
parente20953eccb7d8b9125a37699b2cef2c8374fa3f0 (diff)
Test some changes in sepolicy
Diffstat (limited to 'sepolicy/system_server.te')
-rw-r--r--sepolicy/system_server.te5
1 files changed, 3 insertions, 2 deletions
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index 503b1df..7bd7016 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -1,5 +1,6 @@
allow system_server persist_file:dir { read write };
allow system_server proc_touchpanel:dir search;
-allow system_server proc_touchpanel:file { write open getattr read };
-allow system_server sensors_persist_file:file { read getattr open };
+allow system_server proc_touchpanel:file rw_file_perms;
+allow system_server sensors_persist_file:file r_file_perms;
allow system_server sensors_persist_file:dir search;
+allow system_server proc_stat:file r_file_perms;