commit | 49955948fb8696efd6fcb6ed4035241853ac085f | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu May 12 14:27:49 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu May 12 14:35:02 2016 +0000 |
tree | 7efb0dd906e70300bb55bf755d5a99b431c032d7 | |
parent | 50a26514a581ecfdccb22a31f2b24a4b42ff934c [diff] |
Do not sign-extend siginfo_t.si_syscall * printsiginfo.c (print_si_info): Explicitly cast si_syscall member of siginfo_t that has type "int" to "unsigned int", to avoid sign extension when passed to syscall_name function.
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.