Files
device_xiaomi_sm6150-common/sepolicy/vendor/system_app.te
Pranav Vashi 29b74efa2c sm6150-common: sepolicy: Allow parts to modify thermal config
Change-Id: I940a6deef33df856f0e093c3d048708271e9ef2f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:57:52 +00:00

14 lines
486 B
Plaintext

type sysfs_doze, sysfs_type, fs_type;
allow system_app hal_motor_hwservice_xiaomi:hwservice_manager find;
binder_call(system_app, hal_motor)
allow system_app sysfs_doze:file rw_file_perms;
allow system_app { motor_device vendor_sysfs_graphics sysfs_leds }:dir search;
allow system_app { cgroup vendor_sysfs_graphics }:file rw_file_perms;
allow system_app { motor_device vendor_sysfs_graphics hall_device }:chr_file rw_file_perms;
allow system_app sysfs_thermal:file rw_file_perms;