From 915e5bfa31e8f1f725e9e3461370c8535017d2e8 Mon Sep 17 00:00:00 2001 From: Isaac Chen Date: Wed, 24 Jul 2019 06:04:32 +0200 Subject: wayne-common: Address denials for P Signed-off-by: Isaac Chen Change-Id: I6759914e91c1cc437304d74328e970daeb3d25e3 --- sepolicy/system_server.te | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sepolicy/system_server.te') 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; -- cgit v1.2.3