]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8f9d5b9f6615cecc7f0005d414067bd4d3b2938
tree15ef949561b6c8b319bb686eadec20c98148dfa3
parent98888bbce67503018319a8db7e12db13c4453557
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