diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 10:07:07 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 10:07:07 +0200 |
commit | 2991be725260d6fec11691a6138b9d71de949956 (patch) | |
tree | 407241b126eed902bacba4e02043930c6ce087b4 /arch/sh/boards/sh03/rtc.c | |
parent | sh: More cosmetic cleanups and trivial fixes. (diff) | |
download | linux-2991be725260d6fec11691a6138b9d71de949956.tar.xz linux-2991be725260d6fec11691a6138b9d71de949956.zip |
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>
Diffstat (limited to 'arch/sh/boards/sh03/rtc.c')
0 files changed, 0 insertions, 0 deletions