diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-05-11 00:42:10 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-05-11 00:58:06 +0000 |
commit | a6dd09428707bfb87e27abcb0c8f7066e2eaf988 (patch) | |
tree | ed32c0372b82a6e3937da7c216959bf599d2fe61 /linux/mips | |
parent | ea7b9dbcbdc5b23f3db12a50c3456502fbed5138 (diff) | |
download | strace-a6dd09428707bfb87e27abcb0c8f7066e2eaf988.tar.gz |
Implement decoding of preadv2 and pwritev2 syscalls
* io.c: Include "xlat/rwf_flags.h".
(do_preadv, do_pwritev, SYS_FUNC(preadv2), SYS_FUNC(pwritev2)):
New functions.
(SYS_FUNC(preadv)): Use do_preadv.
(SYS_FUNC(pwritev)): Use do_pwritev.
* linux/32/syscallent.h (preadv2, pwritev2): New entries.
* linux/64/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* syscall.c (dumpio): Handle SEN_preadv2 and SEN_pwritev2.
* xlat/rwf_flags.in: New file.
* NEWS: Mention parsers of new syscalls.
Diffstat (limited to 'linux/mips')
-rw-r--r-- | linux/mips/syscallent-n32.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-n64.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-o32.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index 9084fda7..398b12c9 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -325,6 +325,8 @@ [6322] = { 2, 0, SEN(membarrier), "membarrier", }, [6323] = { 3, TM, SEN(mlock2), "mlock2" }, [6324] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, +[6325] = { 6, TD, SEN(preadv2), "preadv2" }, +[6326] = { 6, TD, SEN(pwritev2), "pwritev2" }, # define SYS_socket_subcall 6400 # include "subcall.h" diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index c1ecddd6..7321f0e7 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -321,6 +321,8 @@ [5318] = { 2, 0, SEN(membarrier), "membarrier", }, [5319] = { 3, TM, SEN(mlock2), "mlock2" }, [5320] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, +[5321] = { 6, TD, SEN(preadv2), "preadv2" }, +[5322] = { 6, TD, SEN(pwritev2), "pwritev2" }, # define SYS_socket_subcall 5400 # include "subcall.h" diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index f65be702..cb8afb96 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -361,6 +361,8 @@ [4358] = { 2, 0, SEN(membarrier), "membarrier", }, [4359] = { 3, TM, SEN(mlock2), "mlock2" }, [4360] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, +[4361] = { 6, TD, SEN(preadv2), "preadv2" }, +[4362] = { 6, TD, SEN(pwritev2), "pwritev2" }, # define SYS_socket_subcall 4400 # include "subcall.h" |