blob: 927de5a6bce6e00a1e8c702c789b85b9ad799f2b [file] [log] [blame]
#####################################
# qmux_socket(clientdomain)
# Allow client domain to connecto and send
# via a local socket to the qmux domain.
# Also allow the client domain to remove
# its own socket.
define(`qmux_socket', `
type $1_qmuxd_socket, file_type;
file_type_auto_trans($1, qmuxd_socket, $1_qmuxd_socket)
allow $1 qmuxd_socket:dir remove_name;
unix_socket_connect($1, qmuxd, qmuxd)
allow qmuxd $1_qmuxd_socket:sock_file { getattr unlink };
')