|author||Dmitry V. Levin <firstname.lastname@example.org>||Tue Apr 19 21:10:44 2016 +0000|
|committer||Dmitry V. Levin <email@example.com>||Wed Apr 20 01:08:13 2016 +0000|
tests: adjust readv/writev and preadv/pwritev tests to older kernels With linux kernels older than v3.16-rc1, iovec based compat syscalls may return EINVAL in some cases where on later kernels they return EFAULT. Adjust tests to handle both cases properly. * tests/preadv-pwritev.c: Include <errno.h>. (main): Print either "EINVAL" or "EFAULT" depending on errno. * tests/pwritev.c: Likewise. * tests/readv.c: 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.