Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/passt.if

40 lines
727 B
Text

## <summary>passt: usermode networking daemons for vms</summary>
ifndef(`passt_stub',`
interface(`passt_stub',`
gen_require(`
type passt_t;
')
')
')
ifndef(`passt_domtrans',`
interface(`passt_domtrans',`
gen_require(`
type passt_t, passt_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, passt_exec_t, passt_t)
')
')
ifndef(`passt_entrypoint',`
interface(`passt_entrypoint',`
gen_require(`
type passt_exec_t;
')
allow $1 passt_exec_t:file entrypoint;
')
')
ifndef(`passt_stream_connect',`
interface(`passt_stream_connect',`
gen_require(`
type passt_t;
')
allow $1 passt_t:unix_stream_socket connectto;
')
')