]> granicus.if.org Git - strace/commit
Fix multiple personalities support in parser of io_submit syscall
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 26 Aug 2015 12:49:07 +0000 (12:49 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 26 Aug 2015 21:05:17 +0000 (21:05 +0000)
commit13c217339397de1986210a2d418ffe027c0c2969
tree4c33af9696f6405623705cf4d8e48df5ddd40e4d
parent857adac3a5384fff0426f7b2572eeca16e8c5803
Fix multiple personalities support in parser of io_submit syscall

Introduce a new helper function to fetch tracee's long integers
and use it to fix multiple personalities support in io_submit parser.

* defs.h (umove_long_or_printaddr): New prototype.
* util.c (umove_long_or_printaddr): New function.
* aio.c (sys_io_submit): Use it to fetch tracee's pointers.
* tests/aio.c: New file.
* tests/aio.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add aio.
(TESTS): Add aio.test.
* tests/.gitignore: Add aio.
aio.c
defs.h
tests/.gitignore
tests/Makefile.am
tests/aio.c [new file with mode: 0644]
tests/aio.test [new file with mode: 0755]
util.c