DragonFlyBSD Kernel Audit
DF-0034 / build.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0034 build — builds both the minimal PoC and the sharp variant.
# Run as the unprivileged user (maxx) on the DragonFlyBSD guest.
set -e
cd "$(dirname "$0")"
echo "+ cc -o leak_stpad leak_stpad.c"
cc -o leak_stpad leak_stpad.c
echo "+ cc -o leak_sharp leak_sharp.c"
cc -o leak_sharp leak_sharp.c
echo "build OK"