commit | f73a3a44dd62a331c88a63d4b0756274ea3084aa | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Apr 19 21:10:44 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed Apr 20 01:08:13 2016 +0000 |
tree | 78241bc803e3df1286c27de5efcef1697cddd391 | |
parent | 87c0b56a77c35f09e03c7c70980ae84ae2f3aea0 [diff] |
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.