]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/vdso/compat: Wire up SYSENTER and SYSCSALL for compat userspace
authorAndy Lutomirski <luto@kernel.org>
Tue, 6 Oct 2015 00:48:11 +0000 (17:48 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 9 Oct 2015 07:41:09 +0000 (09:41 +0200)
commita474e67c913d3ebaf02ba9d7835d5299d226c3ed
tree6b9ec92426db8a6e453c3748f34eda2f7cd070da
parent710246df58041106b7de645f4b45770f8a59a269
x86/vdso/compat: Wire up SYSENTER and SYSCSALL for compat userspace

What, you didn't realize that SYSENTER and SYSCALL were actually
the same thing? :)

Unlike the old code, this actually passes the ptrace_syscall_32
test on AMD systems.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/b74615af58d785aa02d917213ec64e2022a2c796.1444091585.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/entry_64_compat.S
arch/x86/entry/vdso/vdso32/system_call.S