]> granicus.if.org Git - strace/commit
Implement decoding of splice, tee and vmsplice(2) syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 11 Oct 2011 17:07:05 +0000 (17:07 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 11 Oct 2011 17:07:05 +0000 (17:07 +0000)
commitd99e48c0f33f5230a743cd91a986edba176db2f8
tree3721bbc9a677276967e93763d1298d4cf09e74c7
parentc327d71258edb75a8120dfbbdd0b1828a3f43a9a
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.
20 files changed:
io.c
linux/alpha/syscallent.h
linux/arm/syscallent.h
linux/avr32/syscallent.h
linux/bfin/syscallent.h
linux/hppa/syscallent.h
linux/i386/syscallent.h
linux/ia64/syscallent.h
linux/m68k/syscallent.h
linux/microblaze/syscallent.h
linux/mips/syscallent.h
linux/powerpc/syscallent.h
linux/s390/syscallent.h
linux/s390x/syscallent.h
linux/sh/syscallent.h
linux/sh64/syscallent.h
linux/sparc/syscallent.h
linux/syscall.h
linux/tile/syscallent.h
linux/x86_64/syscallent.h