mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 07:38:17 +00:00
davinci: sepolicy: Add motor rules
Change-Id: Ia076f82c816d0ff3ced950fcb1e2982e9ca668ff
This commit is contained in:
7
sepolicy/vendor/system_app.te
vendored
Normal file
7
sepolicy/vendor/system_app.te
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user