• Pavel Emelyanov's avatar
    zdtm: Remove unneeded re-exec · b9697482
    Pavel Emelyanov authored
    When starting inside ns flavor the test_init() routine prepares
    the binary to be run inside namespaces. In particular this routine
    fork()-s an init, execve()-s one to pick up mappings and exe from
    the new mntns and then fork()-s the test itself. In order to go
    back to test_init() for test initialization the execve() is done
    again, but it's actually not required and confuses the reader.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    b9697482
test.c 4.33 KB