android_device_oneplus_dre/sepolicy/vendor/dashd.te
LuK1337 f9c9767e3b sm8250-common: sepolicy: Initial vendor sepolicy
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
2021-01-08 14:31:38 +01:00

16 lines
490 B
Text

type dashd, domain;
type dashd_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(dashd)
allow dashd vendor_sysfs_battery_supply:file w_file_perms;
allow dashd vendor_sysfs_usb_supply:file w_file_perms;
allow dashd proc_cmdline:file r_file_perms;
allow dashd dash_device:chr_file rw_file_perms;
allow dashd kmsg_device:chr_file rw_file_perms;
r_dir_file(dashd, vendor_sysfs_battery_supply)
r_dir_file(dashd, vendor_sysfs_usb_supply)
r_dir_file(dashd, sysfs_dash_charger)