commit | 3aa6b186f86c5d06d6d92d14311ffed51f091f40 | [log] [tgz] |
---|---|---|
author | Lubomir Rintel <lkundrak@v3.sk> | Sun Jun 07 16:23:48 2009 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Sun Jun 07 16:31:23 2009 +0200 |
tree | cd14cfebf638976d203f2441f6786da41689262b | |
parent | 4a4aca641bc4598e77b866804f47c651ec4a764d [diff] |
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 <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>