android_device_oneplus_sm81.../sepolicy/vendor/dashd.te

17 lines
468 B
Plaintext

type dashd, coredomain, domain;
type dashd_exec, exec_type, file_type;
init_daemon_domain(dashd)
# Allow dashd to read and write to dash_device
allow dashd dash_device:chr_file rw_file_perms;
# Allow dashd to read and write to kmsg_device
allow dashd kmsg_device:chr_file rw_file_perms;
# Allow dashd to read files in sysfs_battery_supply
r_dir_file(dashd, sysfs_battery_supply)
# Allow dashd to read files in sysfs_usb_supply
r_dir_file(dashd, sysfs_usb_supply)