DragonFlyBSD Kernel Audit
DF-0847 / build.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0847 reproducible build.
# Builds both the unreachability probe (always) and the race harness
# (only meaningful on a kernel built with `options QUOTA`).
set -e
cd "$(dirname "$0")"
echo "+ cc -o quota_unreachable quota_unreachable.c"
cc -o quota_unreachable quota_unreachable.c
echo "+ cc -O2 -pthread -o dq_race dq_race.c"
cc -O2 -pthread -o dq_race dq_race.c
echo "BUILD_OK"