commit | fdb2a1867e0a80b6daf0a2faed072e32f533b922 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Apr 19 22:16:30 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed Apr 20 01:08:13 2016 +0000 |
tree | f109a0ca7becce402074ea3873528c9076362909 | |
parent | f73a3a44dd62a331c88a63d4b0756274ea3084aa [diff] |
tests: adjust rt_sigpending to older kernels With linux kernels older than v3.9-rc1, compat rt_sigpending syscall could fail with EFAULT in cases where on later kernels it succeeds. Adjust the test to handle both cases properly. * tests/rt_sigpending.c (iterate): Stop iterations if rt_sigpending failed with EFAULT.
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.