selinux-policy/policy/modules/services/soundserver.if
2006-07-12 20:32:27 +00:00

22 lines
508 B
Plaintext

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