## Dictionary daemon
########################################
##
## Use dictionary services by connecting
## over TCP.
##
##
## Domain allowed access.
##
#
interface(`dictd_use',`
gen_require(`
type dictd_t;
class tcp_socket { connectto acceptfrom recvfrom };
')
allow $1 dictd_t:tcp_socket { connectto recvfrom };
allow dictd_t $1:tcp_socket { acceptfrom recvfrom };
kernel_tcp_recvfrom($1)
')