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:
3a7452b
)
parisc: implement full version of access_ok()
author
Helge Deller
<deller@gmx.de>
Sat, 29 Jun 2013 12:03:14 +0000
(14:03 +0200)
committer
Helge Deller
<deller@gmx.de>
Thu, 7 Nov 2013 21:29:14 +0000
(22:29 +0100)
Up to now PA-RISC could live with a trivial version of access_ok().
Our fault handlers can correctly handle fault cases.
But testcases showed that we need a better access check else we won't
always return correct errno failure codes to userspace.
Problem showed up during 32bit userspace tests in which writev() used a
32bit memory area and length which would then wrap around on 64bit
kernel.
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/uaccess.h
patch
|
blob
|
history
diff --cc
arch/parisc/include/asm/uaccess.h
Simple merge