Browse Source

janus: add skeleton module

Helmut Pozimski 3 năm trước cách đây
mục cha
commit
0a3a610f77
2 tập tin đã thay đổi với 20 bổ sung0 xóa
  1. 2 0
      janus.fc
  2. 18 0
      janus.te

+ 2 - 0
janus.fc

@@ -0,0 +1,2 @@
+/usr/local/bin/janus     --      gen_context(system_u:object_r:janus_exec_t,s0)
+

+ 18 - 0
janus.te

@@ -0,0 +1,18 @@
+policy_module(janus, 0.0.1)
+
+########################################
+#
+# Declarations
+#
+
+type janus_t;
+type janus_exec_t;
+init_daemon_domain(janus_t, janus_exec_t)
+
+optional_policy(`
+  gen_require(`
+    type supervisor_t;
+  ')
+  supervisor_service_domain(janus_t,janus_exec_t)
+')
+