commit | 3a5cd34e34b662e4c2097e307d504712ddc05f73 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu May 12 15:38:35 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu May 12 15:38:35 2016 +0000 |
tree | 45868d8c098044acb799c015d58b6726ea9ff542 | |
parent | 5c720b0b9b90a6cf650c52b0d9d8204b70f0f820 [diff] |
ptrace: fix printing addr argument of PTRACE_GETSIGMASK et al requests For PTRACE_GETSIGMASK and PTRACE_SETSIGMASK requests, addr argument contains the size of the buffer pointed to by data argument. For PTRACE_SECCOMP_GET_FILTER request, addr argument contains an offset counter. * process.c (SYS_FUNC(ptrace)): Print addr argument of PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and PTRACE_SECCOMP_GET_FILTER requests using %lu format.
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.