criu/arch
Oleg Nesterov 4620eab51c restore/x86: restore_gpregs() needs to initialize ->ss as well
Before the recent "x86_64,signal: Fix SS handling for signals delivered
to 64-bit programs" kernel patch, sigreturn paths forgot to restore ->ss
after return from the signal handler.

Now that the kernel was fixed, restore_gpregs() has to initialize ->ss
too, it is no longer ignored.

Note: this is the minimal fix. In the long term we probably should not
dump/restore the segment registers at all. We can use sigcontext filled
by the target kernel and modify the general-purpose regs.

Reported-and-tested-by: Andrey Wagin <avagin@gmail.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-03-30 12:30:33 +03:00
..
aarch64 aarch64: Fix restore for multithreaded processes 2015-01-12 14:51:57 +03:00
arm x86: Add io syscalls 2014-12-26 18:13:33 +03:00
scripts/arm arm: prepare syscall table generation scripts to be shared with AArch64 2014-03-11 22:46:06 +04:00
x86 restore/x86: restore_gpregs() needs to initialize ->ss as well 2015-03-30 12:30:33 +03:00