mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
It's -EFAULT, not -1 (and contrary to the comment in there, __strnlen_user() can return 0 - on faults). Cc: [email protected] Acked-by: Richard Kuo <[email protected]> Signed-off-by: Al Viro <[email protected]>