DragonFlyBSD Kernel Audit
DF-2816 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
#!/bin/sh
# DF-2816 build: compile the triggers in the guest; sync so the binaries
# survive the dirty RB_NOSYNC reboot the PoC performs.
set -e
cc -O2 -Wall -pthread -o /root/race2 /root/race2.c
cc -O2 -Wall -pthread -o /root/sibs  /root/sibs.c
sync
echo "build ok:"
ls -l /root/race2 /root/sibs