DragonFlyBSD Kernel Audit
DF-2666 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
#!/bin/sh
# Host-side: ship sources to the guest and build there.
set -e
scp -F dfbsd-qemu/config \
    findings/poc/DF-2666/df2666_trigger.c \
    findings/poc/DF-2666/run_df2666.sh \
    dfbsd:/root/poc/df2666/
echo "shipped (guest builds with cc -O -I/usr/src/sys inside run_df2666.sh)"