commit | c98ab8805b3876426c8d4359fa1c981c324923bf | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Wed Mar 30 18:04:00 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed Mar 30 18:04:00 2016 +0000 |
tree | 582cfd2a4f7aa6e8966698080c36f5d852d699d1 | |
parent | d461151f2384834d9c6cc98dc7285f363a6186ed [diff] |
Fix decoding of preadv syscall in case of short read * io.c (SYS_FUNC(preadv)): Call tprint_iov_upto instead of tprint_iov and specify syscall return value as a data size limit. * NEWS: Mention it. * tests/preadv.c (main): Add a test case for preadv short read.
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.