diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-11-22 12:57:15 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-12-06 12:32:40 +0300 |
commit | 7c4788950ba5922fde976d80b72baf46f14dee8d (patch) | |
tree | 71f081928406571e40f14f8fa2f5a54788933083 /net/sunrpc/rpcb_clnt.c | |
parent | 0a21fc1214a25427e13538665ff2afbe707a0b9f (diff) | |
download | linux-7c4788950ba5922fde976d80b72baf46f14dee8d.tar.xz |
x86/uaccess, sched/preempt: Verify access_ok() context
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>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
0 files changed, 0 insertions, 0 deletions