1#!/bin/sh
2
3# Check decoding of prctl PR_GET_NAME/PR_SET_NAME operations.
4. "${srcdir=.}/init.sh"
5
6check_prog grep
7run_prog > /dev/null
8run_strace -a23 -eprctl $args > "$EXP"
9grep -v '^prctl(PR_GET_[^N][^A]' < "$LOG" > "$OUT"
10match_diff "$OUT" "$EXP"
11