## SELinux MLS/MCS label translation service.
#######################################
##
## Allow a domain to translate contexts.
##
##
##
## Domain allowed access.
##
##
#
interface(`setrans_translate_context',`
gen_require(`
type setrans_t, setrans_var_run_t;
')
allow $1 self:unix_stream_socket create_stream_socket_perms;
allow $1 setrans_t:context translate;
stream_connect_pattern($1,setrans_var_run_t,setrans_var_run_t,setrans_t)
files_list_pids($1)
')