From 43d18b089e05c7e36c3f2c8b986646a82d40b3b6 Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Tue, 29 Mar 2022 23:17:46 -0300 Subject: veux: sepolicy: Allow system_app to read /proc/pagetypeinfo avc: denied { read } for name="pagetypeinfo" dev="proc" ino=4026543033 scontext=u:r:system_app:s0 tcontext=u:object_r:proc_pagetypeinfo:s0 tclass=file permissive=0 Change-Id: I16465eb9acca9ff64a755d47f86f4ff424ebe4de --- sepolicy/vendor/system_app.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sepolicy/vendor/system_app.te b/sepolicy/vendor/system_app.te index e33161e..74cfc83 100644 --- a/sepolicy/vendor/system_app.te +++ b/sepolicy/vendor/system_app.te @@ -1,2 +1,4 @@ # Xiaomi Parts -allow system_app sysfs_thermal:file rw_file_perms; \ No newline at end of file +allow system_app sysfs_thermal:file rw_file_perms; + +allow system_app proc_pagetypeinfo:file r_file_perms; \ No newline at end of file -- cgit v1.2.3