aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Haggerty <haggertk@lineageos.org>2022-03-29 23:17:46 -0300
committersinanmohd <pcmsinan@gmail.com>2023-01-05 22:04:15 +0530
commit43d18b089e05c7e36c3f2c8b986646a82d40b3b6 (patch)
treed583e7b0c5d30fa61439cf73d076b482c71887cb
parentc7594a199e4d5aadaf3a3b2d031dccc2e8a38666 (diff)
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
-rw-r--r--sepolicy/vendor/system_app.te4
1 files changed, 3 insertions, 1 deletions
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