From d99e48c0f33f5230a743cd91a986edba176db2f8 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 11 Oct 2011 17:07:05 +0000 Subject: Implement decoding of splice, tee and vmsplice(2) syscalls * io.c (print_loff_t): New function. (sys_sendfile64): Use it. (splice_flags): New xlat structure. (sys_tee, sys_splice, sys_vmsplice): New functions. * linux/syscall.h (sys_tee, sys_splice, sys_vmsplice): Declare them. * linux/*/syscallent.h: Use them. --- linux/i386/syscallent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux/i386') diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index 1781223..73e1d96 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -343,10 +343,10 @@ { 1, TP, sys_unshare, "unshare" }, /* 310 */ { 2, 0, printargs, "set_robust_list" }, /* 311 */ { 3, 0, printargs, "get_robust_list" }, /* 312 */ - { 6, TD, printargs, "splice" }, /* 313 */ + { 6, TD, sys_splice, "splice" }, /* 313 */ { 4, TD, printargs, "sync_file_range" }, /* 314 */ - { 4, TD, printargs, "tee" }, /* 315 */ - { 4, TD, printargs, "vmsplice" }, /* 316 */ + { 4, TD, sys_tee, "tee" }, /* 315 */ + { 4, TD, sys_vmsplice, "vmsplice" }, /* 316 */ { 6, 0, sys_move_pages, "move_pages" }, /* 317 */ { 3, 0, sys_getcpu, "getcpu" }, /* 318 */ { 5, TD, sys_epoll_pwait, "epoll_pwait" }, /* 319 */ -- cgit v1.2.3