DF-2622 / build.sh
#!/bin/sh # DF-2622 build+run: compile the direct-syscall trigger in the guest. set -e CD=$(dirname "$0") scp -F dfbsd-qemu/config "$CD/mnt2622.c" "$CD/run_2622.sh" dfbsd:/root/poc/dfv/ ssh -F dfbsd-qemu/config dfbsd 'cc -O -o /root/poc/dfv/mnt2622 /root/poc/dfv/mnt2622.c && sync && echo BUILD_OK' ssh -F dfbsd-qemu/config dfbsd 'sh /root/poc/dfv/run_2622.sh' |