diff options
Diffstat (limited to 'policy/modules/services/rshd.if')
-rw-r--r-- | policy/modules/services/rshd.if | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/policy/modules/services/rshd.if b/policy/modules/services/rshd.if new file mode 100644 index 00000000..7ad29c04 --- /dev/null +++ b/policy/modules/services/rshd.if @@ -0,0 +1,20 @@ +## <summary>Remote shell service.</summary> + +######################################## +## <summary> +## Execute rshd in the rshd domain. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed to transition. +## </summary> +## </param> +# +interface(`rshd_domtrans',` + gen_require(` + type rshd_exec_t, rshd_t; + ') + + corecmd_search_bin($1) + domtrans_pattern($1, rshd_exec_t, rshd_t) +') |