device_xiaomi_sm6150-common/sepolicy/vendor/system_app.te
Arian f73820a339
davinci: sepolicy: Add motor rules
Change-Id: Ia076f82c816d0ff3ced950fcb1e2982e9ca668ff
2020-10-10 21:43:31 +02:00

8 lines
325 B
Plaintext

allow system_app hal_motor_hwservice_xiaomi:hwservice_manager find;
binder_call(system_app, hal_motor)
allow system_app { motor_device sysfs_graphics sysfs_leds }:dir search;
allow system_app { cgroup sysfs_graphics }:file rw_file_perms;
allow system_app { motor_device sysfs_graphics hall_device }:chr_file rw_file_perms;