commit | 475d2b5da6dda57abdf10e26d1f3699e6f7c9619 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon May 23 16:39:23 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon May 23 16:39:23 2016 +0000 |
tree | ffa88a29c0db754f87a446c3e4af50d7773b69f8 | |
parent | 4ea65fb549ae476829293b1c44625bfb0bad9932 [diff] |
tests/attach-p-cmd-cmd.c: fix potential errno clobbering * tests/attach-p-cmd-cmd.c (main): Call getpid before chdir.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.