]> git.karo-electronics.de Git - linux-beck.git/commit
x86/asm/entry: Make user_mode() work correctly if regs came from VM86 mode
authorAndy Lutomirski <luto@kernel.org>
Thu, 19 Mar 2015 01:33:32 +0000 (18:33 -0700)
committerIngo Molnar <mingo@kernel.org>
Mon, 23 Mar 2015 10:13:51 +0000 (11:13 +0100)
commitefa704510342b81ae58d7b8a0c7f676a4289b603
tree3162527a9ad26a50eef9f14b012ac02e5cf834c7
parentae60f0710ae6b33092267ef8ac853c498f6d3e5d
x86/asm/entry: Make user_mode() work correctly if regs came from VM86 mode

user_mode() is now identical to user_mode_vm().  Subsequent patches
will change all callers of user_mode_vm() to user_mode() and then
delete user_mode_vm().

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brad Spengler <spender@grsecurity.net>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/0dd03eacb5f0a2b5ba0240de25347a31b493c289.1426728647.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/ptrace.h