DragonFlyBSD Kernel Audit
DF-0044 / build.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0044 build -- compile both variants.
# Run as the unprivileged user (e.g. maxx) on the DragonFlyBSD guest.
set -e
cd "$(dirname "$0")"

cc -pthread -O2 -o mount_uaf mount_uaf.c
echo "built: mount_uaf"

cc -pthread -O2 -o mount_uaf_root mount_uaf_root.c
echo "built: mount_uaf_root"