summaryrefslogtreecommitdiffstats
path: root/roles/anitya/fedmsg/files/selinux/fedmsg.te
blob: 6ce38d40f64ed1a5586b4b805df84eb09ce60458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

module fedmsg 1.1;

require {
	type anon_inodefs_t;
	type httpd_t;
	class file write;
}

require {
	type ptmx_t;
	type httpd_t;
	class chr_file getattr;
}

#============= httpd_t ==============
# For basic port binding
allow httpd_t anon_inodefs_t:file write;
# So that psutil can work from /etc/fedmsg.d/logging.py
allow httpd_t ptmx_t:chr_file getattr;