Chris PeBenito 31b7c0
define(`can_kerberos',`
Chris PeBenito 31b7c0
ifdef(`kerberos.te',`
Chris PeBenito 31b7c0
if (allow_kerberos) {
Chris PeBenito 31b7c0
can_network_client($1, `kerberos_port_t')
Chris PeBenito 31b7c0
allow $1 kerberos_port_t:tcp_socket name_connect;
Chris PeBenito 31b7c0
can_resolve($1)
Chris PeBenito 31b7c0
}
Chris PeBenito 31b7c0
') dnl kerberos.te
Chris PeBenito 31b7c0
dontaudit $1 krb5_conf_t:file write;
Chris PeBenito 31b7c0
allow $1 krb5_conf_t:file { getattr read };
Chris PeBenito 31b7c0
')