From: Davi Arnaut Date: Fri, 24 Mar 2006 11:18:42 +0000 (-0800) Subject: [PATCH] strndup_user() X-Git-Tag: v2.6.17-rc1~870 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96840aa00a031069a136ec4c55d0bdd09ac6d3a7;p=pandora-kernel.git [PATCH] strndup_user() This patch series creates a strndup_user() function to easy copying C strings from userspace. Also we avoid common pitfalls like userspace modifying the final \0 after the strlen_user(). Signed-off-by: Davi Arnaut Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed