From 7e036b7ae12f86b0aa6d96ae5ace544b4dfab3af Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Mon, 28 Nov 2022 20:39:22 +0800 Subject: [PATCH] sdm660-common: sepolicy: Allow platform_app to access zram sysfs nodes avc: denied { search } for name=zram0 dev=sysfs ino=20744 scontext=u:r:platform_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir permissive=0 Signed-off-by: minaripenguin Signed-off-by: pix106 --- sepolicy/private/platform_app.te | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/private/platform_app.te b/sepolicy/private/platform_app.te index 5d1eb0ba..225be2f5 100644 --- a/sepolicy/private/platform_app.te +++ b/sepolicy/private/platform_app.te @@ -1 +1,2 @@ get_prop(platform_app, exported_camera_prop) +r_dir_file(platform_app, sysfs_zram)