Skip to content

Fix and re-enable vsyscall=emulate

Andy Lutomirski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86-64: Set siginfo and context on vsyscall emulation faultsarch/x86/include/asm/thread_info.h arch/x86/include/asm/uaccess.h arch/x86/kernel/vsyscall_64.c +2 more+87 -171 reply
2/2x86: Default to vsyscall=emulateDocumentation/kernel-parameters.txt arch/x86/kernel/vsyscall_64.c+4 -51 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Fix and re-enable vsyscall=emulate

The really nice fix (wiring up access_ok failures to be able to raise signals) won't be ready on time for 3.2, so let's try the simpler fix for now.

Changes from the earlier version:
- Clean up the odd ptr==0 check.
- Flip the default back to vsyscall=emulate

Andy Lutomirski (2):
x86-64: Set siginfo and context on vsyscall emulation faults
x86: Default to vsyscall=emulate

 Documentation/kernel-parameters.txt |    7 +--
 arch/x86/include/asm/thread_info.h  |    3 +-
 arch/x86/include/asm/uaccess.h      |    2 +-
 arch/x86/kernel/vsyscall_64.c       |   77 ++++++++++++++++++++++++++++++----
 arch/x86/mm/extable.c               |    2 +-
 arch/x86/mm/fault.c                 |   22 +++++++---
 6 files changed, 91 insertions(+), 22 deletions(-)
Signature · 1 line
1.7.6.4