aboutsummaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:14:18 -0500
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:15:25 -0500
commit002c8976ee537724b20a5e179d9b349309438836 (patch)
tree272ebe6d0dcb06bb16b978fb9793d266dbc1301a /fs/read_write.c
parenta26eab2400f0477bfac0255600552394855016f7 (diff)
[CVE-2009-0029] System call wrappers part 16
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r--fs/read_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index 7a8326bc5903..0671aa016b6f 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -828,7 +828,7 @@ out:
828 return retval; 828 return retval;
829} 829}
830 830
831asmlinkage long sys_sendfile(int out_fd, int in_fd, off_t __user *offset, size_t count) 831SYSCALL_DEFINE4(sendfile, int, out_fd, int, in_fd, off_t __user *, offset, size_t, count)
832{ 832{
833 loff_t pos; 833 loff_t pos;
834 off_t off; 834 off_t off;
@@ -847,7 +847,7 @@ asmlinkage long sys_sendfile(int out_fd, int in_fd, off_t __user *offset, size_t
847 return do_sendfile(out_fd, in_fd, NULL, count, 0); 847 return do_sendfile(out_fd, in_fd, NULL, count, 0);
848} 848}
849 849
850asmlinkage long sys_sendfile64(int out_fd, int in_fd, loff_t __user *offset, size_t count) 850SYSCALL_DEFINE4(sendfile64, int, out_fd, int, in_fd, loff_t __user *, offset, size_t, count)
851{ 851{
852 loff_t pos; 852 loff_t pos;
853 ssize_t ret; 853 ssize_t ret;