commit | 3db07f11c8360b9168e064f56f9dc539b4bef938 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Apr 22 23:41:36 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sat Apr 23 00:07:14 2016 +0000 |
tree | e9c0a285471b075a369532709dddc6cca59db526 | |
parent | cf52778aba828364211ba88c6477d4c12922cf86 [diff] |
Fix old_mmap output when mmap arguments are unfetchable * mem.c (SYS_FUNC(old_mmap)): Use umove_or_printaddr instead of umoven to fetch mmap arguments, return RVAL_DECODED when umove_or_printaddr fails. * tests/old_mmap.c (main): Check it.
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.