diff options
author | 2006-03-24 03:18:42 -0800 | |
---|---|---|
committer | 2006-03-24 07:33:31 -0800 | |
commit | 96840aa00a031069a136ec4c55d0bdd09ac6d3a7 (patch) | |
tree | f93592ca47f2412aa0cce3ce4c116d1678a42239 /kernel | |
parent | [PATCH] timer-irq-driven soft-watchdog, cleanups (diff) | |
download | linux-96840aa00a031069a136ec4c55d0bdd09ac6d3a7.tar.gz linux-96840aa00a031069a136ec4c55d0bdd09ac6d3a7.tar.bz2 linux-96840aa00a031069a136ec4c55d0bdd09ac6d3a7.zip |
[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 <davi.arnaut@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions