Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 529442
Collapse All | Expand All

(-)a/policy/modules/contrib/tor.te (+17 lines)
Lines 13-18 policy_module(tor, 1.9.1) Link Here
13
## </desc>
13
## </desc>
14
gen_tunable(tor_bind_all_unreserved_ports, false)
14
gen_tunable(tor_bind_all_unreserved_ports, false)
15
15
16
## <desc>
17
##	<p>
18
##	Determine whether tor can access
19
##	static httpd content for DirPortFrontPage
20
##	content serving.
21
##	</p>
22
## </desc>
23
gen_tunable(tor_serve_http_content, false)
24
25
26
16
type tor_t;
27
type tor_t;
17
type tor_exec_t;
28
type tor_exec_t;
18
init_daemon_domain(tor_t, tor_exec_t)
29
init_daemon_domain(tor_t, tor_exec_t)
Lines 112-116 tunable_policy(`tor_bind_all_unreserved_ports',` Link Here
112
')
123
')
113
124
114
optional_policy(`
125
optional_policy(`
126
	tunable_policy(`tor_serve_http_content',`
127
		apache_read_sys_content(tor_t)
128
	')
129
')	
130
131
optional_policy(`
115
	seutil_sigchld_newrole(tor_t)
132
	seutil_sigchld_newrole(tor_t)
116
')
133
')

Return to bug 529442