Fix sepolicy problems. Bug: 183465596 Test: logcat/dmesg grep wlc. Signed-off-by: Ted Lin <tedlin@google.com> Change-Id: I834f4d83f822b8189a576ac198bae9a7d77a3e10
12 lines
463 B
Text
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;
|