Blame policy/modules/services/dictd.if
|
Chris PeBenito |
17de1b |
## <summary>Dictionary daemon</summary>
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Use dictionary services by connecting
|
|
Chris PeBenito |
17de1b |
## over TCP.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## <param name="domain">
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Domain allowed access.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## </param>
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
interface(`dictd_tcp_connect',`
|
|
Chris PeBenito |
17de1b |
gen_require(`
|
|
Chris PeBenito |
17de1b |
type dictd_t;
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow $1 dictd_t:tcp_socket { connectto recvfrom };
|
|
Chris PeBenito |
17de1b |
allow dictd_t $1:tcp_socket { acceptfrom recvfrom };
|
|
Chris PeBenito |
17de1b |
kernel_tcp_recvfrom($1)
|
|
Chris PeBenito |
17de1b |
')
|