selinux-policy/policy/modules/services/tor.if

25 lines
494 B
Plaintext
Raw Normal View History

2006-03-07 18:07:15 +00:00
## <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',`
2006-06-14 14:10:24 +00:00
gen_require(`
2006-03-07 18:07:15 +00:00
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;
')