criu/arch/x86/include/asm
Oleg Nesterov 07dcf0dbb6 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-20 16:29:59 +03:00
..
atomic.h arch:x86: add atomic_cmpxchg 2014-12-08 15:55:52 +03:00
bitops.h bitopts: add a size sufix for ambiguous instructions 2013-04-04 14:00:20 +04:00
bitsperlong.h headers: types.h -- Move BITS_PER_LONG to own header 2013-04-02 20:31:41 +04:00
cmpxchg.h arch:x86: add atomic_cmpxchg 2014-12-08 15:55:52 +03:00
cpu.h cpuinfo: Add "cpuinfo [dump|check]" commands, v2 2014-10-03 13:26:58 +04:00
dump.h dump: save registers when the task is already infected 2013-05-24 19:28:34 +04:00
fpu.h x86: Include stdbool.h in fpu.h 2013-05-27 13:04:43 +04:00
int.h cr: collect short integer aliases in the single place 2014-04-08 15:35:46 +04:00
linkage.h x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
parasite-syscall.h x86: Add missing include and structure in asm/parasite-syscall.h 2013-05-31 13:47:31 +04:00
parasite.h cr: generalize the type to store the value of the TLS register 2014-03-19 10:41:39 +04:00
prlimit.h x86: Implement prlimit proxy 2013-05-23 15:12:58 +04:00
processor-flags.h x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
restore.h space-before-tab whitespace cleanup 2013-12-12 10:00:53 +04:00
restorer.h restore/x86: restore_gpregs() needs to initialize ->ss as well 2015-03-20 16:29:59 +03:00
string.h asm: Move builtin_memcpy helper into asm/string.h 2013-05-23 16:51:06 +04:00
types.h cr: generalize the type to store the value of the TLS register 2014-03-19 10:41:39 +04:00
vdso.h vdso: Implement vDSO proxification of any vvar/vdso order 2014-08-04 15:35:03 +04:00