DF-2556 / build_mod.sh
#!/bin/sh # Build the DF-2556 diagnostic module in /tmp on the guest (root). set -e cd "$(dirname "$0")" # DragonFly kld build: needs the kernel make env. Use a minimal Makefile. cat > Makefile.leak <<'EOF' KMOD= df2556_leak SRCS= leak_mod.c .include <bsd.kmod.mk> EOF echo "(build via: make -f Makefile.leak on guest; see run_mod.sh)" |