[PATCH urgent 0/2] x86: vm86 fix and test

From: Andy Lutomirski
Date: Sat Oct 31 2015 - 01:42:56 EST


Calling vm86 and then forking will corrupt things. Fix it.

This is for x86/urgent. It fixes a 4.3 regression.

Andy Lutomirski (2):
selftests/x86: Add a fork() to entry_from_vm86 to catch fork bugs
x86/vm86: Set thread.vm86 to NULL on fork/clone

arch/x86/kernel/process.c | 3 +++
tools/testing/selftests/x86/entry_from_vm86.c | 4 ++++
2 files changed, 7 insertions(+)

--
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/