Home | History | Annotate | Download | only in sepolicy
      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.
      7 define(`qmux_socket', `
      8 allow $1 qmuxd_socket:dir create_dir_perms;
      9 unix_socket_connect($1, qmuxd, qmuxd)
     10 allow $1 qmuxd_socket:sock_file { read getattr write setattr create unlink };
     11 ')
     12