Skip to content

x86: vm86 fix and test

Andy Lutomirski lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/x86: Add a fork() to entry_from_vm86 to catch fork bugstools/testing/selftests/x86/entry_from_vm86.c+4 -00 replies
2/2x86/vm86: Set thread.vm86 to NULL on fork/clonearch/x86/kernel/process.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(+)
Signature · 1 line
2.4.3