summaryrefslogtreecommitdiff
path: root/sepolicy/system_server.te
diff options
context:
space:
mode:
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;