]> 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>
Thu, 29 Sep 2011 06:08:14 +0000 (16:08 +1000)
commitda417bacc9143b934f1a480a25d0fb2bb648a820
tree8c05581253758b2dc00b5dfb86a918fcf48252bb
parent3ed31b4912a18226683da9b10c690a1ee0a919b7
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