From: Lubomir Rintel Date: Sun, 7 Jun 2009 14:23:48 +0000 (+0200) Subject: x86: Fix non-lazy GS handling in sys_vm86() X-Git-Tag: v2.6.31-rc1~412^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa6b186f86c5d06d6d92d14311ffed51f091f40;p=pandora-kernel.git x86: Fix non-lazy GS handling in sys_vm86() 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 Cc: H. Peter Anvin LKML-Reference: <1244384628.2323.4.camel@bimbo> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed