• Pavel Emelyanov's avatar
    files: Rework send/recv-fds to be more generic · 60738eaa
    Pavel Emelyanov authored
    Remove getting opts from descriptors out from scm engine,
    this stuff is pure criu thing, so make it collect the data.
    
    The tricky change here is that parasite code needs memory
    to keep fd_opts on. The memory is taken from parasite args
    region, which is now bigger than it used to be. But that's
    not a big deal, as previously this space was allocated on
    the parasite stack (!, but with smaller chunks).
    
    On the other hand, now we have one memcpy less, as opts are
    put directly into the destination buffer.
    
    travis-ci: success for files: Rework send/recv-fds to be more generic
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    60738eaa
Name
Last commit
Last update
Documentation 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...
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.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...