Blob Blame History Raw
## <summary>TOR, the onion router</summary>

########################################
## <summary>
##	Execute a domain transition to run TOR.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed to transition.
##	</summary>
## </param>
#
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;
')