aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2016-11-22 10:57:15 +0100
committerIngo Molnar <[email protected]>2016-12-06 10:32:40 +0100
commit7c4788950ba5922fde976d80b72baf46f14dee8d (patch)
tree71f081928406571e40f14f8fa2f5a54788933083 /lib/test-string_helpers.c
parent0a21fc1214a25427e13538665ff2afbe707a0b9f (diff)
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) <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions