]> granicus.if.org Git - strace/commit
-b execve: avoid misleading warning about unknown pid
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 7 Feb 2015 18:48:55 +0000 (18:48 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 7 Feb 2015 22:28:27 +0000 (22:28 +0000)
commitaa80192e79b2f49e104461148bbd745a49c74d2d
tree34683e13d68b22d836dab8f5942d44b047c60cff
parente69081359a7d22a951683ad42e3f1dbbc91fd8de
-b execve: avoid misleading warning about unknown pid

* strace.c (maybe_allocate_tcb): If detach_on_execve is set, do not warn
about !WIFSTOPPED process with pid == strace_child.
* tests/bexecve.test: New test.
* tests/Makefile.am (TESTS): Add it.
strace.c
tests/Makefile.am
tests/bexecve.test [new file with mode: 0755]