Paul Mundt 2991be7252 sh: Fixup __strnlen_user() behaviour.
Drop TIF_USERSPACE and add addr_limit to the thread_info struct.
Subsequently, use that for address checking in strnlen_user() to
ward off bogus -EFAULTs.

Make __strnlen_user() return 0 on exception, rather than -EFAULT.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-09-27 17:07:07 +09:00
..
2006-09-26 08:48:54 -07:00
2006-09-21 08:51:43 +01:00
2006-09-21 09:05:25 +01:00
2006-09-25 21:08:39 -07:00
2006-09-22 15:22:55 -07:00
2006-09-24 20:07:49 -07:00