|
Dominick Grift |
b094064 |
policy_module(bugzilla, 1.0.4)
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
########################################
|
|
|
1ec3d1a |
#
|
|
|
1ec3d1a |
# Declarations
|
|
|
1ec3d1a |
#
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
apache_content_template(bugzilla)
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
type httpd_bugzilla_tmp_t;
|
|
|
1ec3d1a |
files_tmp_file(httpd_bugzilla_tmp_t)
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
########################################
|
|
|
1ec3d1a |
#
|
|
Dominick Grift |
60af2e2 |
# Local policy
|
|
|
1ec3d1a |
#
|
|
|
1ec3d1a |
|
|
Dominick Grift |
fed410f |
allow httpd_bugzilla_script_t self:tcp_socket { accept listen };
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
corenet_all_recvfrom_netlabel(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
corenet_tcp_sendrecv_generic_if(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
corenet_tcp_sendrecv_generic_node(httpd_bugzilla_script_t)
|
|
Dominick Grift |
60af2e2 |
|
|
Dominick Grift |
60af2e2 |
corenet_sendrecv_http_client_packets(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
corenet_tcp_connect_http_port(httpd_bugzilla_script_t)
|
|
Dominick Grift |
937d176 |
corenet_tcp_sendrecv_http_port(httpd_bugzilla_script_t)
|
|
Dominick Grift |
60af2e2 |
|
|
Dominick Grift |
60af2e2 |
corenet_sendrecv_smtp_client_packets(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
corenet_tcp_connect_smtp_port(httpd_bugzilla_script_t)
|
|
Dominick Grift |
937d176 |
corenet_tcp_sendrecv_smtp_port(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
manage_dirs_pattern(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, httpd_bugzilla_tmp_t)
|
|
|
1ec3d1a |
manage_files_pattern(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, httpd_bugzilla_tmp_t)
|
|
|
1ec3d1a |
files_tmp_filetrans(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, { file dir })
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
files_search_var_lib(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
|
|
|
c2f2a30 |
auth_read_passwd(httpd_bugzilla_script_t)
|
|
|
c2f2a30 |
|
|
|
1ec3d1a |
sysnet_read_config(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
sysnet_use_ldap(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
optional_policy(`
|
|
|
1ec3d1a |
mta_send_mail(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
')
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
optional_policy(`
|
|
|
1ec3d1a |
mysql_stream_connect(httpd_bugzilla_script_t)
|
|
Dominick Grift |
60af2e2 |
mysql_tcp_connect(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
')
|
|
|
1ec3d1a |
|
|
|
1ec3d1a |
optional_policy(`
|
|
|
1ec3d1a |
postgresql_stream_connect(httpd_bugzilla_script_t)
|
|
Dominick Grift |
60af2e2 |
postgresql_tcp_connect(httpd_bugzilla_script_t)
|
|
|
1ec3d1a |
')
|