summaryrefslogtreecommitdiffstats
path: root/selinux/ipa_dogtag/ipa_dogtag.te
blob: b3fce00dab4e6b1148f713063655ed10400a99ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module ipa_dogtag 1.2;

require {
	type httpd_t;
	type cert_t;
	type pki_ca_t;
	class dir write;
	class dir add_name;
	class dir remove_name;
	class file create;
	class file write;
	class file rename;
	class lnk_file create;
	class lnk_file rename;
}

# Let dogtag write to cert_t directories
allow pki_ca_t cert_t:dir write;
allow pki_ca_t cert_t:dir add_name;
allow pki_ca_t cert_t:dir remove_name;

# Let dogtag write cert_t files
allow pki_ca_t cert_t:file create;
allow pki_ca_t cert_t:file write;
allow pki_ca_t cert_t:file rename;

# Let dogtag manage cert_t symbolic links
allow pki_ca_t cert_t:lnk_file create;
allow pki_ca_t cert_t:lnk_file rename;