Change the way how subsequent -e fault= expressions are interpreted to implement a cumulative behavior. For example, -e fault=file:when=3+ -e fault=chdir now specifies that all chdir syscalls and 3+ file related syscalls except chdir are subject for fault injection. * syscall.c (qualify): Do not reset qual_vec for QUAL_FAULT. * tests/fault_injection.test: Check it.
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.
Description
Languages
C
92.2%
Shell
3.4%
M4
1.4%
Makefile
0.8%
Roff
0.7%
Other
1.5%