blob: 50d7a3ef1104ea8c8e8f1523e80c8516680cc634 [file] [log] [blame]
#!/bin/bash
# Find lines with si_code=SYS_SECCOMP, implying a seccomp filter failure.
# Parse the line to find the si_syscall paratemeter than extract the
# system call itself.
strace -ff "$@" 2>&1 | grep si_code=SYS_SECCOMP | awk -F ',' '{print $4}' \
| cut -c18-