Blame strict/domains/program/privoxy.te
|
Chris PeBenito |
0fbfa5 |
#DESC privoxy - privacy enhancing proxy
|
|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
# Authors: Dan Walsh <dwalsh@redhat.com>
|
|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
#################################
|
|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
# Rules for the privoxy_t domain.
|
|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
daemon_domain(privoxy)
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
logdir_domain(privoxy)
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
# Use capabilities.
|
|
Chris PeBenito |
0fbfa5 |
allow privoxy_t self:capability net_bind_service;
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
# Use the network.
|
|
Chris PeBenito |
0fbfa5 |
can_network(privoxy_t)
|
|
Chris PeBenito |
0fbfa5 |
allow privoxy_t port_t:{ tcp_socket udp_socket } name_bind;
|
|
Chris PeBenito |
0fbfa5 |
allow privoxy_t etc_t:file { getattr read };
|
|
Chris PeBenito |
0fbfa5 |
allow privoxy_t self:capability { setgid setuid };
|
|
Chris PeBenito |
0fbfa5 |
allow privoxy_t self:unix_stream_socket create_socket_perms ;
|
|
Chris PeBenito |
0fbfa5 |
allow privoxy_t admin_tty_type:chr_file { read write };
|
|
Chris PeBenito |
0fbfa5 |
|