Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1259940

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

From Andy Lutomirski <luto@kernel.org>
Newsgroups linux.kernel
Subject [PATCH urgent 0/2] x86: vm86 fix and test
Date 2015-10-31 06:50 +0100
Message-ID <qpxd7-7ms-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH urgent 0/2] x86: vm86 fix and test Andy Lutomirski <luto@kernel.org> - 2015-10-31 06:50 +0100
  [PATCH urgent 1/2] selftests/x86: Add a fork() to entry_from_vm86 to catch fork bugs Andy Lutomirski <luto@kernel.org> - 2015-10-31 06:50 +0100
    [tip:x86/urgent] selftests/x86: Add a fork()   to entry_from_vm86 to catch fork bugs tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2015-10-31 10:00 +0100

csiph-web