restore: Mmap task_restore_args by hands
The RM_PRIVATE memory can move every time we call rst_mem_alloc, so it's impossible to have static pointer on it. Since task args is used actyvely, it will be easier to handle it manually. Reported-by:Andrey Vagin <avagin@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com> Reviewed-by:
Cyrill Gorcunov <gorcunov@openvz.org>
Showing
Please
register
or
sign in
to comment