Samantha Miller | b7e7421 | 2018-08-23 10:08:59 -0600 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | # Find lines with si_code=SYS_SECCOMP, implying a seccomp filter failure. | ||||
4 | # Parse the line to find the si_syscall paratemeter than extract the | ||||
5 | # system call itself. | ||||
6 | strace -ff "$@" 2>&1 | grep si_code=SYS_SECCOMP | awk -F ',' '{print $4}' \ | ||||
7 | | cut -c18- |