diff options
| author | Jeferson <jroliveira.oliveira301@gmail.com> | 2022-05-03 02:20:00 +0200 |
|---|---|---|
| committer | Jeferson <jroliveira.oliveira301@gmail.com> | 2022-05-04 13:31:19 +0200 |
| commit | aab94a248b48692d78e83485dadc156ca7517f22 (patch) | |
| tree | 47b3a25303105b753153f5c4dd7661491df139a0 | |
| parent | 22cdf3eca21fdb93f37ac8007213bbb778bda710 (diff) | |
victara: sepolicy: Grant system server acces to some services
E SELinux: avc: denied { find } for pid=1595 uid=1000 name=media.camera_bgproc scontext=u:r:system_app:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
W com.android.settings: type=1400 audit(0.0:8): avc: denied { call } for uid=1000 comm=4173796E635461736B202331 scontext=u:r:system_app:s0 tcontext=u:r:hal_power_default:s0 tclass=binder permissive=0
Change-Id: Id08c65b9e16158de13a9ecb24253a38613d5ef8f
| -rw-r--r-- | sepolicy/system_app.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/system_app.te b/sepolicy/system_app.te index 8ce27b7..dcb2839 100644 --- a/sepolicy/system_app.te +++ b/sepolicy/system_app.te @@ -1,6 +1,8 @@ allow system_app sensors_device:chr_file rw_file_perms; allow system_app wificond:binder call; allow system_app { proc_pagetypeinfo sysfs_zram }:file r_file_perms; +allow system_app default_android_service:service_manager find; +allow system_app hal_power_default:binder call; allow system_app apex_service:service_manager find; allow system_app apexd:binder call; |
