msm8974-common: sepolicy: Allow system_app to access zram sysfs nodes

avc: denied { search } for name="zram0" dev="sysfs" ino=20744
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir
permissive=0

avc: denied { open } for name="mem_used_total" dev="sysfs" ino=20804
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file
permissive=0

avc: denied { read } for name="mem_used_total" dev="sysfs" ino=20804
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file
permissive=0

Change-Id: Ide9b1a9488b26fa69e7a2c8e73a8e657c8b28beb
This commit is contained in:
Kevin F. Haggerty 2020-09-05 05:26:22 -06:00
parent a586ba7d50
commit 3377f79b53
No known key found for this signature in database
GPG Key ID: 6D95512933112729

View File

@ -1,2 +1,5 @@
allow system_app sysfs_mdnie:dir search; allow system_app sysfs_mdnie:dir search;
allow system_app sysfs_mdnie:file rw_file_perms; allow system_app sysfs_mdnie:file rw_file_perms;
allow system_app sysfs_zram:dir search;
allow system_app sysfs_zram:file r_file_perms;