sparc: Use __builtin_object_size() to validate the buffer size for copy_from_user()
authorDavid S. Miller <davem@davemloft.net>
Fri, 11 Dec 2009 07:05:23 +0000 (23:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Dec 2009 07:05:23 +0000 (23:05 -0800)
commitfb34035e7b4bb3edc7c2dc0683cfe21f57a9574d
treeddde17e5690d77f4f61c6271fc8b6f520c746851
parent4ed5d5e4299f42438dd5ac6dcb1f2168ea4fb02a
sparc: Use __builtin_object_size() to validate the buffer size for copy_from_user()

This mirrors x86 commit 9f0cf4adb6aa0bfccf675c938124e68f7f06349d
(x86: Use __builtin_object_size() to validate the buffer size for copy_from_user())

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig.debug
arch/sparc/include/asm/uaccess_32.h
arch/sparc/include/asm/uaccess_64.h
arch/sparc/lib/Makefile
arch/sparc/lib/usercopy.c [new file with mode: 0644]