summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-24 03:02:41 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-24 03:02:41 -0500
commitaee41fe2b2468bd3276e8eecd36c3e75927e2c53 (patch)
tree605f6c74b257d9c4878c76a8203b753200d0f0fb /fs/read_write.c
parent9e2d59ad580d590134285f361a0e80f0e98c0207 (diff)
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions