OK. I did just a bare minimum checks.
The file is called mux.c, the function is "void muxserver_listen(void)" at line 
1241.
Two comments seem quite important:

        /*
         * Use a temporary path before listen so we can pseudo-atomically
         * establish the listening socket in its final location to avoid
         * other processes racing in between bind() and listen() and hitting
         * an unready socket.
         */


and 

        /* Now atomically "move" the mux socket into position */


Unluckily I haven't enough time to go on. Maybe later...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1593657

Title:
  ControlPath unix socket is created in a weird way

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1593657/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to