Blame targeted/domains/program/privoxy.te
|
Chris PeBenito |
ab58ad |
#DESC privoxy - privacy enhancing proxy
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# Authors: Dan Walsh <dwalsh@redhat.com>
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
#################################
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# Rules for the privoxy_t domain.
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
daemon_domain(privoxy, `, web_client_domain')
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
logdir_domain(privoxy)
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
# Use capabilities.
|
|
Chris PeBenito |
ab58ad |
allow privoxy_t self:capability net_bind_service;
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
# Use the network.
|
|
Chris PeBenito |
ab58ad |
can_network_tcp(privoxy_t)
|
|
Chris PeBenito |
ab58ad |
can_ypbind(privoxy_t)
|
|
Chris PeBenito |
ab58ad |
can_resolve(privoxy_t)
|
|
Chris PeBenito |
ab58ad |
allow privoxy_t http_cache_port_t:tcp_socket name_bind;
|
|
Chris PeBenito |
ab58ad |
allow privoxy_t etc_t:file { getattr read };
|
|
Chris PeBenito |
ab58ad |
allow privoxy_t self:capability { setgid setuid };
|
|
Chris PeBenito |
ab58ad |
allow privoxy_t self:unix_stream_socket create_socket_perms ;
|
|
Chris PeBenito |
ab58ad |
allow privoxy_t admin_tty_type:chr_file { read write };
|
|
Chris PeBenito |
ab58ad |
|