x86: Fix non-lazy GS handling in sys_vm86()
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 7 Jun 2009 14:23:48 +0000 (16:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 7 Jun 2009 14:31:23 +0000 (16:31 +0200)
This fixes a stack corruption panic or null dereference oops
due to a bad GS in resume_userspace() when returning from
sys_vm86() and calling lockdep_sys_exit().

Only a problem when CONFIG_LOCKDEP and CONFIG_CC_STACKPROTECTOR
enabled.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <1244384628.2323.4.camel@bimbo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found