aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/contrib/brctl.if')
-rw-r--r--policy/modules/contrib/brctl.if20
1 files changed, 20 insertions, 0 deletions
diff --git a/policy/modules/contrib/brctl.if b/policy/modules/contrib/brctl.if
new file mode 100644
index 000000000..2c2cdb621
--- /dev/null
+++ b/policy/modules/contrib/brctl.if
@@ -0,0 +1,20 @@
+## <summary>Utilities for configuring the linux ethernet bridge</summary>
+
+########################################
+## <summary>
+## Execute a domain transition to run brctl.
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed to transition.
+## </summary>
+## </param>
+#
+interface(`brctl_domtrans',`
+ gen_require(`
+ type brctl_t, brctl_exec_t;
+ ')
+
+ corecmd_search_bin($1)
+ domtrans_pattern($1, brctl_exec_t, brctl_t)
+')