DragonFlyBSD Kernel Audit
DF-2628 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
#!/bin/sh
# DF-2628 PoC build (on the DragonFly guest)
set -e
cc -O2 -Wall -o u2628_poc df2628.c
cc -O2 -Wall -o gen_names gen_names.c
cc -O2 -o drainfill drainfill.c
cc -O2 -o linkloop linkloop.c -pthread
./gen_names deadbeef 34000 names.txt 2>&1 | tail -1
echo "DF-2628 build OK"