#!/bin/sh
# DF-0027 — build the PoC(s) as an unprivileged user.
# Run on the guest (dfbsd-maxx) from poc/DF-0027/.
set -e
cd "$(dirname "$0")"
cc -o wait_leak wait_leak.c
cc -o wait_leak_dump wait_leak_dump.c
echo "BUILD_OK: wait_leak wait_leak_dump"