1#!/bin/sh
2
3# Check decoding of prctl PR_GET_CHILD_SUBREAPER, PR_GET_ENDIAN, PR_GET_FPEMU,
4# and PR_GET_FPEXC operations.
5. "${srcdir=.}/init.sh"
6
7check_prog grep
8run_prog > /dev/null
9run_strace -a25 -eprctl $args > "$EXP"
10LC_ALL=C grep -Ev '^prctl\(PR_[GS]ET_([^CEF]|.[^HNP]|..[^DEI])' \
11	< "$LOG" > "$OUT"
12match_diff "$OUT" "$EXP"
13