Skip to content
Commit 9a926d86 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Sign extend length arg to truncate syscalls when compat.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent 14d87e6c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment