android_device_xiaomi_sm835.../sepolicy/vendor/system_app.te

20 lines
803 B
Text

allow system_app sysfs_thermal:file write;
allow system_app sysfs_thermal:file rw_file_perms;
# DC Dimming and HBM
type sysfs_dsi_display_primary;
allow system_app vendor_sysfs_graphics:dir search;
allow system_app vendor_sysfs_graphics:file { getattr setattr open write };
allow system_app sysfs_dsi_display_primary:dir search;
allow system_app sysfs_dsi_display_primary:file write;
# HTSR
allow system_app sysfs_htsr:file { read write open setattr getattr };
allow system_app sysfs_htsr:dir { search open read };
#GameBar
allow system_app vendor_sysfs_graphics:file r_file_perms;
allow system_app vendor_sysfs_battery_supply:dir search;
allow system_app proc_stat:file r_file_perms;
allow system_app vendor_sysfs_kgsl:file r_file_perms;
allow system_app vendor_sysfs_kgsl_gpuclk:file r_file_perms;