]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: implement strict user copy checks for x86_64
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 28 Sep 2011 00:50:29 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:32 +0000 (14:53 +1000)
commit15e19cbbbf2a8b2508c14ee76b6b4b8e1ecfbe98
tree91c8fec8d807a5f9dbed710e9ff94a6cca74944e
parent589ef6d8b3b68fd4628b1bc8795b17e7cb2b802c
x86: implement strict user copy checks for x86_64

Strict user copy checks are only really supported on x86_32 even though
the config option is selectable on x86_64.  Add the necessary support to
the 64 bit code to trigger copy_from_user() warnings at compile time.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andrew Morton <>
arch/x86/include/asm/uaccess_64.h
arch/x86/lib/usercopy_64.c