device_xiaomi_sm6150-common/sepolicy/vendor/system_app.te
daniml3 1e749669de
davinci: sepolicy: Add vendor prefix to avoid naming colision
Change-Id: I44e851a1957aac4abc17a367db2da543c0bab81c
2020-12-30 02:02:56 +01:00

8 lines
346 B
Plaintext

allow system_app hal_motor_hwservice_xiaomi:hwservice_manager find;
binder_call(system_app, hal_motor)
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;