selinux-policy/targeted/domains/program/privoxy.te
2005-10-21 18:05:21 +00:00

28 lines
664 B
Plaintext

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