summaryrefslogtreecommitdiff
path: root/net/rxrpc/rxkad.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-23 00:53:19 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-05-23 06:32:27 (GMT)
commitff06dffbc8abfc60d6a0332f058f1d1bb01abb31 (patch)
tree0845d6acfaf8221fb5d6ae3281cb1c33a8212cff /net/rxrpc/rxkad.c
parent29af0ebaa24d3078d7fd9747a49a763fe7f9ea3c (diff)
downloadlinux-fsl-qoriq-ff06dffbc8abfc60d6a0332f058f1d1bb01abb31.tar.xz
sparc: Add full proper error handling to strncpy_from_user().
Linus removed the end-of-address-space hackery from fs/namei.c:do_getname() so we really have to validate these edge conditions and cannot cheat any more (as x86 used to as well). Move to a common C implementation like x86 did. And if both src and dst are sufficiently aligned we'll do word at a time copies and checks as well. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/rxkad.c')
0 files changed, 0 insertions, 0 deletions