summaryrefslogtreecommitdiff
path: root/sepolicy/whitechapel/vendor/google/wlcfwupdate.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/whitechapel/vendor/google/wlcfwupdate.te')
-rw-r--r--sepolicy/whitechapel/vendor/google/wlcfwupdate.te12
1 files changed, 12 insertions, 0 deletions
diff --git a/sepolicy/whitechapel/vendor/google/wlcfwupdate.te b/sepolicy/whitechapel/vendor/google/wlcfwupdate.te
new file mode 100644
index 00000000..37c29484
--- /dev/null
+++ b/sepolicy/whitechapel/vendor/google/wlcfwupdate.te
@@ -0,0 +1,12 @@
+# 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;