• Kirill Tkhai's avatar
    files: Make possible task helpers to use shared_fdt_prepare() · 72e50065
    Kirill Tkhai authored
    Next patches will create transport sockets in task helpers.
    As helpers are forked using CLONE_FILES, they must resolve
    shared fds to create their own service fds. This patch allows
    that.
    
    I've digged in the code, and there is no a reason, we need
    pid_rst_prio() during choosing of fdt restorer. So, this
    case may be safely deleted, which guarantees, that in case
    of TASK_HELPER, the restorer of fdt will be parent, i.e.,
    no one TASK_HELPER will be restorer of fdt.
    
    v5: New
    Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    72e50065
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...