diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2011-10-11 17:07:05 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2011-10-11 17:07:05 +0000 |
commit | d99e48c0f33f5230a743cd91a986edba176db2f8 (patch) | |
tree | 3721bbc9a677276967e93763d1298d4cf09e74c7 /linux/i386 | |
parent | c327d71258edb75a8120dfbbdd0b1828a3f43a9a (diff) | |
download | strace-d99e48c0f33f5230a743cd91a986edba176db2f8.tar.gz strace-d99e48c0f33f5230a743cd91a986edba176db2f8.tar.bz2 strace-d99e48c0f33f5230a743cd91a986edba176db2f8.tar.xz |
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.
Diffstat (limited to 'linux/i386')
-rw-r--r-- | linux/i386/syscallent.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |