From ba821f587e80d461df93edda9204f7eff9d8840b Mon Sep 17 00:00:00 2001 From: chrisl7 Date: Wed, 15 Nov 2023 00:17:03 +0000 Subject: [PATCH] sepolicy: Allow system_app to acess zram [1] - https://gerrit.aospa.co/c/AOSPA/android_device_xiaomi_sepolicy/+/36562 Change-Id: I3cb26c83ef1de0055bbcf3278b5614cd6095fd11 Signed-off-by: chrisl7 --- sepolicy/generic/vendor/common/system_app.te | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sepolicy/generic/vendor/common/system_app.te diff --git a/sepolicy/generic/vendor/common/system_app.te b/sepolicy/generic/vendor/common/system_app.te new file mode 100644 index 00000000..2bd98927 --- /dev/null +++ b/sepolicy/generic/vendor/common/system_app.te @@ -0,0 +1,3 @@ +# zram +allow system_app sysfs_zram:dir r_dir_perms; +allow system_app sysfs_zram:file r_file_perms;