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:
9e2d59a
)
lseek() and truncate() on sparc really need sign extension
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 24 Feb 2013 08:02:41 +0000
(
03:02
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 24 Feb 2013 08:02:41 +0000
(
03:02
-0500)
ftruncate() doesn't - it's declared with size as unsigned long,
but truncate() and lseek() have that argument as signed long.
IOW, these two really need sign extension + branch to native
syscall; argument validation in sys_... does *not* suffice.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
No differences found