selinux-policy/refpolicy/policy/modules/services/soundserver.if

22 lines
523 B
Plaintext
Raw Normal View History

2006-04-25 15:13:59 +00:00
## <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 soundserver_t;
')
allow $1 soundserver_t:tcp_socket { connectto recvfrom };
allow soundserver_t $1:tcp_socket { acceptfrom recvfrom };
kernel_tcp_recvfrom($1)
')