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

22 lines
508 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(`
2006-06-15 17:37:47 +00:00
type soundd_t;
2006-04-25 15:13:59 +00:00
')
2006-06-15 17:37:47 +00:00
allow $1 soundd_t:tcp_socket { connectto recvfrom };
allow soundd_t $1:tcp_socket { acceptfrom recvfrom };
2006-04-25 15:13:59 +00:00
kernel_tcp_recvfrom($1)
')