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