DragonFlyBSD Kernel Audit
DF-2798 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
#!/bin/sh
# DF-2798 build -- standalone (production-kernel emulation) + KLD
set -e
cd "$(dirname "$0")"
SRCDIR=${SRCDIR:-/usr/src}
cc -O2 -g -DNDEBUG -I "$SRCDIR/sys" -o trigger_oobfree trigger_oobfree.c
echo "trigger_oobfree built"
cd kld_aoobfree && make