Chris PeBenito 9b244c
## <summary>sound server for network audio server programs, nasd, yiff, etc</summary>
Chris PeBenito 9b244c
Chris PeBenito 9b244c
########################################
Chris PeBenito 9b244c
## <summary>
Chris PeBenito 9b244c
##	Connect to the sound server over a TCP socket
Chris PeBenito 9b244c
## </summary>
Chris PeBenito 9b244c
## <param name="domain">
Chris PeBenito 9b244c
##	<summary>
Chris PeBenito 9b244c
##	Domain allowed access.
Chris PeBenito 9b244c
##	</summary>
Chris PeBenito 9b244c
## </param>
Chris PeBenito 9b244c
#
Chris PeBenito 9b244c
interface(`soundserver_tcp_connect',`
Chris PeBenito 9b244c
	gen_require(`
Chris PeBenito 953953
		type soundd_t;
Chris PeBenito 9b244c
	')
Chris PeBenito 9b244c
Chris PeBenito 953953
	allow $1 soundd_t:tcp_socket { connectto recvfrom };
Chris PeBenito 953953
	allow soundd_t $1:tcp_socket { acceptfrom recvfrom };
Chris PeBenito 9b244c
	kernel_tcp_recvfrom($1)
Chris PeBenito 9b244c
')