Skip to content
Commit cab42bca authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov
Browse files

x86: sigframe -- Don't forget to copy ss



Make sure we don't pass any trash value here, because
the kernel does copy it explicitly. We allocate the
memory for frame as zero filled but stack segment
is special and zero is not acceptable (we've had
a discussion on LKML if we need a special handling
for zero ss but end up that new kernels need new CRIU
version, upon which all agreed). Finally in
commit 296bbf7e I managed to hit exactly
this problem :)

Reported-by: default avatarAndrey Wagin <avagin@gmail.com>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: default avatarAndrey Wagin <avagin@gmail.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 3e0b09b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment