1#####################################
2# qmux_socket(clientdomain)
3# Allow client domain to connecto and send
4# via a local socket to the qmux domain.
5# Also allow the client domain to remove
6# its own socket.
7define(`qmux_socket', `
8type $1_qmuxd_socket, file_type;
9file_type_auto_trans($1, qmuxd_socket, $1_qmuxd_socket)
10allow $1 qmuxd_socket:dir remove_name;
11unix_socket_connect($1, qmuxd, qmuxd)
12allow qmuxd $1_qmuxd_socket:sock_file { getattr unlink };
13')
14