commit | ddbede5d9c452c076a46e9096fe5ed1921d1d008 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Feb 15 18:30:02 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Feb 16 01:35:36 2016 +0000 |
tree | 448f2e4da16d4652d69d393e4edb4840e50bd9ee | |
parent | 669f8cfb428c5403b07c82876e77602794f7355e [diff] |
Print offsets in lseek and _llseek syscalls as signed integers * lseek.c (SYS_FUNC(lseek)): Print offset using %lld format. (SYS_FUNC(llseek)): Likewise. Treat high and low components of offset as unsigned long integers. * tests/llseek.c (main): Check that negative offset is printed properly. * tests/lseek.c (main): Likewise.
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.