• Pavel Emelyanov's avatar
    fdinfo: Extract FdinfoEntry from dump_one_file · 05abfa5d
    Pavel Emelyanov authored
    To support SCMs we'll need to receive them into criu task
    (see the SCM patch for details), then dump the received
    file as if it was in the dumpee. Then the info about received
    descriptor will be written into packet entry.
    
    For this we'll need to perform all the regular file dumping
     code BUT not write the FdinfoEntry into image, so shuffle
    the code for that.
    
    The gist of the patch is in two changes -- one in the
    do_dump_gen_file(), the other in dump_task_files_seized().
    The rest is just tossing the arguments of the functions
    relevant to that change.
    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>
    05abfa5d
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...