• Pavel Emelyanov's avatar
    unix: Split resolv and interconnect (v2) · 5c84e93e
    Pavel Emelyanov authored
    In order to make sender of a descriptor (unix socket) be restored
    _after_ the descriptor in question, we need to find out those
    sockets early (before post-prep calls).
    
    The problem is that current code gives us info about who's the
    queuer for who only in post-prep hooks, so the peer resolution
    should happen right in collect callback.
    
    At the same time we need to make sure that all peers configured
    in the image exist, as well as need to put master/slave flags
    for socketpairs. Both these actions can only happen in post-prep.
    
    Said that -- the current peer resolve routine should be split
    into two steps.
    
    v2: Handle the socket connected to self (dgram)
    Reviewed-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    5c84e93e
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...