]> Git Repo - linux.git/commit
x86/asm/entry/32: Fix fallout from the R9 trick removal in the SYSCALL code
authorDenys Vlasenko <[email protected]>
Tue, 9 Jun 2015 18:54:07 +0000 (20:54 +0200)
committerIngo Molnar <[email protected]>
Wed, 10 Jun 2015 06:42:12 +0000 (08:42 +0200)
commitaee4b013a71666f11ffeac11ab45bb7c6e0e394d
treedebcc68d5bf9ee8468183f0433a41837388db513
parent9b47feb708e50e6114b4b4193eee67f2e5af9d05
x86/asm/entry/32: Fix fallout from the R9 trick removal in the SYSCALL code

I put %ebp restoration code too late. Under strace, it is not
reached and %ebp is not restored upon return to userspace.

This is the fix. Run-tested.

Signed-off-by: Denys Vlasenko <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Drewry <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/entry/entry_64_compat.S
This page took 0.050538 seconds and 4 git commands to generate.