criu/pie
Andrey Vagin 9cd9a93e79 restore: unify handling of thread args of leaders and other threads
Currently we have an array for thread_args, but leader's thread_args
is a part of task_args.
Here is two problems. The array has a space for leader's thread args,
but it is unused. Code which fills thread args is duplicated two
times. This patch fixed both problem. It replaces thread_args on a
pointer from task_args and deletes code, which fills leaders
thread_args.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-12-21 18:58:23 +04:00
..
gen-offsets.sh make: move pie files and build to separated directory 2012-11-22 18:53:29 +04:00
log-simple.c make: move pie files and build to separated directory 2012-11-22 18:53:29 +04:00
Makefile make: cleanup pie build 2012-11-22 18:53:59 +04:00
parasite-head-x86-64.S make: move pie files and build to separated directory 2012-11-22 18:53:29 +04:00
parasite.c signal: fix logig about SIGMAX (v2) 2012-12-04 19:26:54 +04:00
pie.lds.S make: move pie files and build to separated directory 2012-11-22 18:53:29 +04:00
restorer.c restore: unify handling of thread args of leaders and other threads 2012-12-21 18:58:23 +04:00