Debian Codegraph @

selinux/nfast/ipa-nfast.te

raw
1 policy_module(ipa-nfast, 1.0.0)
2
3 #
4 # A transition can't be used here because it would apply to all
5 # certmonger processes and it really just needs access to
6 # /opt/nfast/kmdata/local/world to read the private key material.
7 #
8
9 require {
10 type certmonger_t;
11 type pki_common_t;
12 type initrc_t;
13 class file { create rename unlink write execute getattr open read map };
14 class dir { getattr open read search add_name remove_name write };
15 class sock_file write;
16 class unix_stream_socket connectto;
17 }
18
19 allow certmonger_t initrc_t:unix_stream_socket connectto;
20 allow certmonger_t pki_common_t:dir { getattr open read search add_name remove_name write };
21 allow certmonger_t pki_common_t:file { create rename unlink write execute getattr open read };
22 allow certmonger_t pki_common_t:file map;
23 allow certmonger_t pki_common_t:sock_file write;