device_google_gs201/legacy/wlcfwupdate.te
Adam Shih c1ffe9c177 Initialize gs201 to zero
Bug: 196916111
Test: boot to home with all services launched
Change-Id: I3453fc01cec5fd7b2b2a44a6f20c64e818ce1acd
2021-08-18 09:46:14 +08:00

12 lines
463 B
Text

# wlcfwupdate service
type wlcfwupdate, domain;
type wlcfwupdate_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(wlcfwupdate)
allow wlcfwupdate sysfs_batteryinfo:dir search;
allow wlcfwupdate sysfs_batteryinfo:file r_file_perms;
allow wlcfwupdate sysfs_wlc:dir search;
allow wlcfwupdate sysfs_wlc:file rw_file_perms;
allow wlcfwupdate vendor_toolbox_exec:file execute_no_trans;
allow wlcfwupdate vendor_wlc_fwupdata_file:file execute_no_trans;