device_xiaomi_sm6150-common/sepolicy/vendor/system_app.te
basamaryan 3df5cd506c
sm6150-common: Commonize sepolicy
Taken from davinci, courbet, surya, sweet, and sweet2

Change-Id: Ie9bd3354d42a36e88004ee77343e0da5397a0eba
2024-10-15 13:25:09 -04:00

12 lines
434 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;