mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
rosemary: 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:
committed by
Matsvei Niaverau
parent
a41a41530c
commit
cce24cd712
2
sepolicy/vendor/system_app.te
vendored
Normal file
2
sepolicy/vendor/system_app.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
allow system_app sysfs_zram:dir search;
|
||||
allow system_app sysfs_zram:file r_file_perms;
|
||||
Reference in New Issue
Block a user