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.
diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
index 606d196..e59e307 100644
--- a/linux/s390x/syscallent.h
+++ b/linux/s390x/syscallent.h
@@ -333,10 +333,10 @@
{ 1, TP, sys_unshare, "unshare" }, /* 303 */
{ 2, 0, printargs, "set_robust_list" }, /* 304 */
{ 3, 0, printargs, "get_robust_list" }, /* 305 */
- { 6, TD, printargs, "splice" }, /* 306 */
+ { 6, TD, sys_splice, "splice" }, /* 306 */
{ 4, TD, printargs, "sync_file_range" }, /* 307 */
- { 4, TD, printargs, "tee" }, /* 308 */
- { 4, TD, printargs, "vmsplice" }, /* 309 */
+ { 4, TD, sys_tee, "tee" }, /* 308 */
+ { 4, TD, sys_vmsplice, "vmsplice" }, /* 309 */
{ 6, 0, sys_move_pages, "move_pages" }, /* 310 */
{ 3, 0, sys_getcpu, "getcpu" }, /* 311 */
{ 5, TD, sys_epoll_pwait, "epoll_pwait" }, /* 312 */