summaryrefslogtreecommitdiff
path: root/sepolicy/system_server.te
diff options
context:
space:
mode:
authorIsaac Chen <tingyi364@gmail.com>2019-07-24 06:04:32 +0200
committerIsaac Chen <tingyi364@gmail.com>2019-09-01 16:44:11 +0200
commit915e5bfa31e8f1f725e9e3461370c8535017d2e8 (patch)
treeeecdd755c743e62069dba2b46622ab8813650fa0 /sepolicy/system_server.te
parenteb15173eee7fe3a19fea03da5c06cba1cdb091ad (diff)
wayne-common: Address denials for P
Signed-off-by: Isaac Chen <tingyi364@gmail.com> Change-Id: I6759914e91c1cc437304d74328e970daeb3d25e3
Diffstat (limited to 'sepolicy/system_server.te')
-rw-r--r--sepolicy/system_server.te6
1 files changed, 4 insertions, 2 deletions
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index c658e69..c9135cf 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -1,2 +1,4 @@
-#============= system_server ==============
-allow system_server vendor_file:file { execute getattr open read };
+allow system_server vendor_keylayout_file:dir search;
+allow system_server vendor_keylayout_file:file r_file_perms;
+allow system_server sysfs_vibrator:file rw_file_perms;
+allow system_server sysfs_rtc:file r_file_perms;