Skip to content
Commit aee41fe2 authored by Al Viro's avatar Al Viro
Browse files

lseek() and truncate() on sparc really need sign extension



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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9e2d59ad
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