selinux-policy/policy/modules/services/tor.if
2006-07-12 20:32:27 +00:00

25 lines
494 B
Plaintext

## <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_require(`
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;
')