#!/bin/sh
# DF-0610 build — compiles the trigger PoC.
# The PoC is self-contained (no kernel headers needed) and compiles on the
# guest. It CANNOT trigger the bug at runtime because the netgraph7_nat
# module does not build on the current tree (libalias/ + m_megapullup absent).
set -e
cd "$(dirname "$0")"
echo "+ cc -o poc poc.c"
cc -o poc poc.c
echo "BUILD_EXIT=$?"
ls -l poc 2>/dev/null
