blob: 927de5a6bce6e00a1e8c702c789b85b9ad799f2b [file] [log] [blame]
tim.tm_line5976c12014-05-16 14:41:26 +08001#####################################
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')