linux/arch/sparc
David S. Miller 2922585b93 lib: Sparc's strncpy_from_user is generic enough, move under lib/
To use this, an architecture simply needs to:

1) Provide a user_addr_max() implementation via asm/uaccess.h

2) Add "select GENERIC_STRNCPY_FROM_USER" to their arch Kcnfig

3) Remove the existing strncpy_from_user() implementation and symbol
   exports their architecture had.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: David Howells <dhowells@redhat.com>
2012-05-24 13:12:28 -07:00
..
boot sparc32: drop build time btfixup patching 2012-05-14 14:05:10 -07:00
configs
include/asm sparc: Increase portability of strncpy_from_user() implementation. 2012-05-24 13:04:24 -07:00
kernel Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2012-05-21 20:27:36 -07:00
lib lib: Sparc's strncpy_from_user is generic enough, move under lib/ 2012-05-24 13:12:28 -07:00
math-emu Disintegrate asm/system.h for Sparc 2012-03-28 18:30:03 +01:00
mm sparc32: use the common implementation of alloc_thread_info_node() 2012-05-22 12:02:56 -07:00
net net: filter: remove unused cpu_off in sparc JIT 2012-04-17 22:55:59 -04:00
oprofile
prom sparc32: drop sun4c support 2012-05-11 19:27:44 -07:00
Kbuild Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2012-05-21 10:32:01 -07:00
Kconfig lib: Sparc's strncpy_from_user is generic enough, move under lib/ 2012-05-24 13:12:28 -07:00
Kconfig.debug
Makefile Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:43:57 -07:00