This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_msm8953-common/sepolicy/vendor/system_app.te
Kevin F. Haggerty e98eb2f72a msm8953-common: 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
2021-09-19 20:01:11 -03:00

12 lines
339 B
Plaintext

allow system_app sysfs_homebutton:file write;
allow system_app sysfs_homebutton:dir search;
allow system_app sysfs_homebutton:file { getattr open };
# Battery Health
r_dir_file(system_app, sysfs_battery_supply);
get_prop(system_app, vendor_fm_prop)
get_prop(system_app, hwrev_prop)
allow system_app proc_pagetypeinfo:file r_file_perms;