[CRIU] [PATCH cr] restorer: exit all threads in case of error

Andrey Vagin avagin at openvz.org
Wed Jun 13 06:29:57 EDT 2012


sys_exit() takes down only the currect thread. exit_group() should
be used to take down all threads.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/syscall-x86-64.def |    1 +
 restorer.c                 |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-restorer-exit-all-threads-in-case-of-error.patch
Type: text/x-patch
Size: 1631 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120613/9ba5abd7/0001-restorer-exit-all-threads-in-case-of-error.bin


More information about the CRIU mailing list