sm8250-common: sepolicy: Initial vendor sepolicy
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
This commit is contained in:
parent
507155e7a5
commit
f9c9767e3b
40 changed files with 588 additions and 0 deletions
12
sepolicy/vendor/dashd.te
vendored
12
sepolicy/vendor/dashd.te
vendored
|
|
@ -2,3 +2,15 @@ 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue