git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f08f33
)
sh: Fixup __strnlen_user() behaviour.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 27 Sep 2006 08:07:07 +0000
(17:07 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 27 Sep 2006 08:07:07 +0000
(17:07 +0900)
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>
No differences found