summaryrefslogtreecommitdiffstats
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2015-03-18 18:33:31 -0700
committerIngo Molnar <mingo@kernel.org>2015-03-23 11:13:46 +0100
commitae60f0710ae6b33092267ef8ac853c498f6d3e5d (patch)
tree8c4a775731ed4019dc57b6fec7503753ed6d3b98 /lib/usercopy.c
parent383f3af3f88aadafe1fcf1948987ad538683fb8c (diff)
downloadop-kernel-dev-ae60f0710ae6b33092267ef8ac853c498f6d3e5d.zip
op-kernel-dev-ae60f0710ae6b33092267ef8ac853c498f6d3e5d.tar.gz
x86/asm/entry: Use user_mode_ignore_vm86() where appropriate
A few of the user_mode() checks in traps.c are immediately after explicit checks for vm86 mode. Change them to user_mode_ignore_vm86(). 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/0b324d5b75c3402be07f8d3c6245ed7f4995029e.1426728647.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud