aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/SMD-daemon.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/SMD-daemon.te')
-rw-r--r--selinux/SMD-daemon.te6
1 files changed, 6 insertions, 0 deletions
diff --git a/selinux/SMD-daemon.te b/selinux/SMD-daemon.te
new file mode 100644
index 0000000..36cfb12
--- /dev/null
+++ b/selinux/SMD-daemon.te
@@ -0,0 +1,6 @@
+type SMD-daemon, domain;
+type SMD-daemon_exec, exec_type, file_type;
+init_daemon_domain(SMD-daemon)
+domain_trans(init, rootfs, SMD-daemon)
+
+allow SMD-daemon self:capability setuid;