## TOR, the onion router
########################################
##
## Execute a domain transition to run TOR.
##
##
##
## Domain allowed to transition.
##
##
#
interface(`tor_domtrans',`
gen_requires(`
type tor_t, tor_exec_t;
')
domain_auto_trans($1,tor_exec_t,tor_t)
allow $1 tor_t:fd use;
allow tor_t $1:fd use;
allow tor_t $1:fifo_file rw_file_perms;
allow tor_t $1:process sigchld;
')