This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_oneplus_sm7250-common/sepolicy/vendor/dashd.te
LuK1337 f9c9767e3b sm8250-common: sepolicy: Initial vendor sepolicy
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
2021-01-08 14:31:38 +01:00

17 lines
490 B
Plaintext

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)