]> git.baikalelectronics.ru Git - kernel.git/commit
Revert x86 sigcontext cleanups
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Aug 2015 15:25:20 +0000 (08:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Aug 2015 19:42:22 +0000 (12:42 -0700)
commit92a2a67be1646788c14911fea0f2a4191729f029
tree9f2edfb343e60ca24c1af548681fa071fbcd2ebb
parentaa53a8fca075210dbf0ae5fcc1245c5b3cfd91ac
Revert x86 sigcontext cleanups

This reverts commits 857b2115fe1c ("x86/signal/64: Remove 'fs' and 'gs'
from sigcontext") and f839bd565819 ("x86/signal/64: Fix SS handling for
signals delivered to 64-bit programs").

They were cleanups, but they break dosemu by changing the signal return
behavior (and removing 'fs' and 'gs' from the sigcontext struct - while
not actually changing any behavior - causes build problems).

Reported-and-tested-by: Stas Sergeev <stsp@list.ru>
Acked-by: Andy Lutomirski <luto@amacapital.net>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/sigcontext.h
arch/x86/include/uapi/asm/sigcontext.h
arch/x86/kernel/signal.c