Change the parser of fault expression to follow the POLA: -e fault=!SET means that all syscalls except those from SET are subject to fault injection; -e fault=!SET1:error=ERRNO1, -e fault=!SET2:error=ERRNO2 means that all syscalls except those from SET2 are subject to fault injection with error code ERRNO2, and all syscalls from SET2 that are not in SET1 are subject to fault injection with error code ERRNO1. * syscall.c (qualify_scno, qualify_syscall_class, qualify_syscall_name): Handle negated QUAL_FAULT case differently. * tests/fault_syntax.test: Add checks of negated sets.
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%