aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/wcg_mac.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/wcg_mac.te')
-rw-r--r--sepolicy/wcg_mac.te10
1 files changed, 10 insertions, 0 deletions
diff --git a/sepolicy/wcg_mac.te b/sepolicy/wcg_mac.te
new file mode 100644
index 0000000..2e8ec94
--- /dev/null
+++ b/sepolicy/wcg_mac.te
@@ -0,0 +1,10 @@
+type wcg_mac, domain;
+type wcg_mac_exec, exec_type, vendor_file_type, file_type;
+
+# Allow for transition from init domain to wcg_mac
+init_daemon_domain(wcg_mac)
+
+# Allow wcg_mac to set sys.wifimac
+set_prop(wcg_mac, wcg_prop)
+
+allow wcg_mac proc:file { open read };