]> git.ipfire.org Git - people/stevee/selinux-policy.git/blame - policy/modules/services/bugzilla.te
Allow munin services plugins to use NSCD services
[people/stevee/selinux-policy.git] / policy / modules / services / bugzilla.te
CommitLineData
30e4a4ed 1policy_module(bugzilla, 1.0.0)
3eaa9939
DW
2
3########################################
4#
5# Declarations
6#
7
8apache_content_template(bugzilla)
9
10type httpd_bugzilla_tmp_t;
11files_tmp_file(httpd_bugzilla_tmp_t)
12
13########################################
14#
15# bugzilla local policy
16#
17
18allow httpd_bugzilla_script_t self:netlink_route_socket r_netlink_socket_perms;
19allow httpd_bugzilla_script_t self:tcp_socket create_stream_socket_perms;
20allow httpd_bugzilla_script_t self:udp_socket create_socket_perms;
21
22corenet_all_recvfrom_unlabeled(httpd_bugzilla_script_t)
23corenet_all_recvfrom_netlabel(httpd_bugzilla_script_t)
a90706ef
DW
24corenet_tcp_sendrecv_generic_if(httpd_bugzilla_script_t)
25corenet_udp_sendrecv_generic_if(httpd_bugzilla_script_t)
26corenet_tcp_sendrecv_generic_node(httpd_bugzilla_script_t)
27corenet_udp_sendrecv_generic_node(httpd_bugzilla_script_t)
3eaa9939
DW
28corenet_tcp_sendrecv_all_ports(httpd_bugzilla_script_t)
29corenet_udp_sendrecv_all_ports(httpd_bugzilla_script_t)
30corenet_tcp_connect_postgresql_port(httpd_bugzilla_script_t)
31corenet_tcp_connect_mysqld_port(httpd_bugzilla_script_t)
32corenet_tcp_connect_http_port(httpd_bugzilla_script_t)
33corenet_tcp_connect_smtp_port(httpd_bugzilla_script_t)
34corenet_sendrecv_postgresql_client_packets(httpd_bugzilla_script_t)
35corenet_sendrecv_mysqld_client_packets(httpd_bugzilla_script_t)
36
37manage_dirs_pattern(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, httpd_bugzilla_tmp_t)
38manage_files_pattern(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, httpd_bugzilla_tmp_t)
39files_tmp_filetrans(httpd_bugzilla_script_t, httpd_bugzilla_tmp_t, { file dir })
40
41files_search_var_lib(httpd_bugzilla_script_t)
42
3eaa9939
DW
43sysnet_read_config(httpd_bugzilla_script_t)
44sysnet_use_ldap(httpd_bugzilla_script_t)
45
01ada3cd
MG
46optional_policy(`
47 mta_send_mail(httpd_bugzilla_script_t)
48')
49
3eaa9939
DW
50optional_policy(`
51 mysql_search_db(httpd_bugzilla_script_t)
52 mysql_stream_connect(httpd_bugzilla_script_t)
53')
54
55optional_policy(`
56 postgresql_stream_connect(httpd_bugzilla_script_t)
57')