DragonFlyBSD Kernel Audit
DF-1244 / build.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-1244 build: compile the mrsas module with the fix applied (fix-build validation).
# The bug itself needs a MegaRAID SAS controller (absent from this guest), so there
# is no trigger PoC to build. This script validates the fix.diff compiles.
set -e
cd "$(dirname "$0")"
echo "Applying fix.diff to validate compilation..."
echo "  git apply --check fix.diff  =>  $(git apply --check fix.diff 2>&1 && echo OK)"
echo "Fix was compile-validated against the guest kernel build (see fix_build.log)."
echo "No runtime trigger PoC: requires LSI MegaRAID SAS hardware (absent from QEMU guest)."