diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-11-22 09:57:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-15 14:53:17 (GMT) |
commit | 2715f6841a08a016c188a810fdb6fbae06c150a4 (patch) | |
tree | 4bfa576bdd7da043bf906744e00dd25926853a98 /arch/x86/realmode | |
parent | 07e415ac5ca1161d078cc02348dd0df58d88679b (diff) | |
download | linux-2715f6841a08a016c188a810fdb6fbae06c150a4.tar.xz |
x86/uaccess, sched/preempt: Verify access_ok() context
commit 7c4788950ba5922fde976d80b72baf46f14dee8d upstream.
I recently encountered wreckage because access_ok() was used where it
should not be, add an explicit WARN when access_ok() is used wrongly.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andy Lutomirski <luto@amacapital.net>
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
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/realmode')
0 files changed, 0 insertions, 0 deletions