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:
14d87e6
)
sparc64: Sign extend length arg to truncate syscalls when compat.
author
David S. Miller
<davem@davemloft.net>
Tue, 28 Jul 2009 01:10:28 +0000
(18:10 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 28 Jul 2009 01:10:28 +0000
(18:10 -0700)
The first thing sys_truncate() and sys_ftruncate() do is sign extend
the unsigned length arg to a signed type.
Thanks to Benjamin Herrenschmidt for the tip.
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found