1 #!/bin/sh 2 3 # Check access syscall decoding. 4 5 . "${srcdir=.}/init.sh" 6 7 check_prog grep 8 run_prog > /dev/null 9 run_strace -eaccess -a30 $args > "$EXP" 10 11 # Filter out access() calls made by libc. 12 grep -F access_sample < "$LOG" > "$OUT" 13 match_diff "$OUT" "$EXP" 14 15 rm -f "$EXP" "$OUT" 16