1#!/bin/sh 2 3# Check how seccomp SECCOMP_SET_MODE_STRICT is decoded. 4 5. "${srcdir=.}/init.sh" 6 7set -- "../$NAME" 8"$@" > /dev/null || { 9 case $? in 10 77) skip_ "$* exited with code 77" ;; 11 137) framework_skip_ "$* killed by SIGKILL, fix your kernel" ;; 12 *) fail_ "$args failed" ;; 13 esac 14} 15run_strace -eseccomp "$@" > "$EXP" 16match_diff "$LOG" "$EXP" 17