parisc: add strict copy size checks (v2)
authorHelge Deller <deller@gmx.de>
Mon, 1 Feb 2010 19:56:33 +0000 (19:56 +0000)
committerKyle McMartin <kyle@redhat.com>
Sat, 6 Mar 2010 22:54:09 +0000 (22:54 +0000)
commit888c31fc83ddc7fcd9947cb67c5718b4e3dd5e1b
tree15ef949561b6c8b319bb686eadec20c98148dfa3
parenta3bee03e718c9251456676b71a723a34c999e891
parisc: add strict copy size checks (v2)

Add CONFIG_DEBUG_STRICT_USER_COPY_CHECKS, copied from the x86
implementation. Tested with 32 and 64bit kernel.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/Kconfig.debug
arch/parisc/include/asm/uaccess.h
arch/parisc/lib/memcpy.c