]> Git Repo - linux.git/commit
x86/uaccess, sched/preempt: Verify access_ok() context
authorPeter Zijlstra <[email protected]>
Tue, 22 Nov 2016 09:57:15 +0000 (10:57 +0100)
committerIngo Molnar <[email protected]>
Tue, 6 Dec 2016 09:32:40 +0000 (10:32 +0100)
commit7c4788950ba5922fde976d80b72baf46f14dee8d
tree71f081928406571e40f14f8fa2f5a54788933083
parent0a21fc1214a25427e13538665ff2afbe707a0b9f
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]>
arch/x86/include/asm/uaccess.h
include/linux/preempt.h
This page took 0.062016 seconds and 4 git commands to generate.