|
Dan Walsh |
3eaa99 |
policy_module(bugzilla, 1.0)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
# Declarations
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
apache_content_template(bugzilla)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
type httpd_bugzilla_tmp_t;
|
|
Dan Walsh |
3eaa99 |
files_tmp_file(httpd_bugzilla_tmp_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
# bugzilla local policy
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
allow httpd_bugzilla_script_t self:netlink_route_socket r_netlink_socket_perms;
|
|
Dan Walsh |
3eaa99 |
allow httpd_bugzilla_script_t self:tcp_socket create_stream_socket_perms;
|
|
Dan Walsh |
3eaa99 |
allow httpd_bugzilla_script_t self:udp_socket create_socket_perms;
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
corenet_all_recvfrom_unlabeled(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_all_recvfrom_netlabel(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_sendrecv_all_if(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_udp_sendrecv_all_if(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_sendrecv_all_nodes(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_udp_sendrecv_all_nodes(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_sendrecv_all_ports(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_udp_sendrecv_all_ports(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_connect_postgresql_port(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_connect_mysqld_port(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_connect_http_port(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_connect_smtp_port(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_sendrecv_postgresql_client_packets(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
corenet_sendrecv_mysqld_client_packets(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
manage_dirs_pattern(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, httpd_bugzilla_tmp_t)
|
|
Dan Walsh |
3eaa99 |
manage_files_pattern(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, httpd_bugzilla_tmp_t)
|
|
Dan Walsh |
3eaa99 |
files_tmp_filetrans(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, { file dir })
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
files_search_var_lib(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
mta_send_mail(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
sysnet_read_config(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
sysnet_use_ldap(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
optional_policy(`
|
|
Dan Walsh |
3eaa99 |
mysql_search_db(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
mysql_stream_connect(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
')
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
optional_policy(`
|
|
Dan Walsh |
3eaa99 |
postgresql_stream_connect(httpd_bugzilla_script_t)
|
|
Dan Walsh |
3eaa99 |
')
|
|
Dan Walsh |
3eaa99 |
|