diff options
author | Hyejin Kim <hyejin.kim@lge.com> | 2015-05-07 20:55:27 +0900 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2015-05-13 13:26:54 -0700 |
commit | e6915f4d4abfce84197210ffe0d1024de4ca32e8 (patch) | |
tree | bedc29be42dd45a467691a88bacb81a31e05eb2d /sepolicy/system_server.te | |
parent | 4efaf8a495c05b6a0aa3c654cf8fa366e5802e48 (diff) | |
download | bullhead-e6915f4d4abfce84197210ffe0d1024de4ca32e8.tar.gz |
bullhead/sepolicy: Allow system_server to write to sysfs_ssr
avc: denied { search } for name="msm_subsys" dev="sysfs" ino=3640 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_ssr:s0 tclass=dir
avc: denied { read } for name="devices" dev="sysfs" ino=3642 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_ssr:s0 tclass=dir
avc: denied { open } for path="/sys/bus/msm_subsys/devices" dev="sysfs" ino=3642 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_ssr:s0 tclass=dir
avc: denied { read } for name="subsys0" dev="sysfs" ino=14800 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_ssr:s0 tclass=lnk_file
Change-Id: Ic9092317a89d387b870278bd8f91521fda4c9f74
Signed-off-by: Hyejin Kim <hyejin.kim@lge.com>
Diffstat (limited to 'sepolicy/system_server.te')
-rw-r--r-- | sepolicy/system_server.te | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te index c7b2e84..fd2ad5f 100644 --- a/sepolicy/system_server.te +++ b/sepolicy/system_server.te @@ -8,3 +8,7 @@ allow system_server rtc:chr_file rw_file_perms; # Fingerprint device allow system_server fpc_device:chr_file rw_file_perms; + +#Needed by libmdmdetect to get subsystem info and to check their states +allow system_server sysfs_ssr:dir r_dir_perms; +allow system_server sysfs_ssr:lnk_file r_file_perms; |