]> granicus.if.org Git - strace/commit
execve: fix support of personalities with different word size
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 27 Jul 2015 10:02:33 +0000 (10:02 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 27 Jul 2015 15:27:43 +0000 (15:27 +0000)
commit4ff687bb31ee2caa8b0ce54911bc61708889e272
tree6706b68c42a9a720ef9112b391565f6e7b5c3517
parentddb53dd142ea6702afbc1ff238840969183a709d
execve: fix support of personalities with different word size

* execve.c (printargc): Do not assume that host and target pointers have
the same size.
* tests/execve.c: New file.
* tests/execve.expected: Likewise.
* tests/execve-v.expected: Likewise.
* tests/execve.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add execve.
(TESTS): Add execve.test.
(EXTRA_DIST): Add execve.expected and execve-v.expected.
* tests/.gitignore: Add execve.
execve.c
tests/.gitignore
tests/Makefile.am
tests/execve-v.expected [new file with mode: 0644]
tests/execve.c [new file with mode: 0644]
tests/execve.expected [new file with mode: 0644]
tests/execve.test [new file with mode: 0755]