Blame policy/modules/services/portslave.if
|
Chris PeBenito |
17de1b |
## <summary>Portslave terminal server software</summary>
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Execute portslave with a domain transition.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## <param name="domain">
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Domain allowed to transition.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## </param>
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
interface(`portslave_domtrans',`
|
|
Chris PeBenito |
17de1b |
gen_require(`
|
|
Chris PeBenito |
17de1b |
type portslave_t, portslave_exec_t;
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_auto_trans($1,portslave_exec_t,portslave_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow $1 portslave_t:fd use;
|
|
Chris PeBenito |
17de1b |
allow portslave_t $1:fd use;
|
|
Chris PeBenito |
17de1b |
allow portslave_t $1:fifo_file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
allow portslave_t $1:process sigchld;
|
|
Chris PeBenito |
17de1b |
')
|