DragonFlyBSD Kernel Audit
DF-0007 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0007 run: invoke the leak PoC as an unprivileged user.
# Bug present: prints padding bytes that are neither the 0xAA marker nor zero
#   (leaked kernel-stack residue) and reports "LEAK CONFIRMED".
# Bug fixed  : padding reads as 0x00000000 (zero-initialized), reports
#   "no residue observed".
set -e
cd "$(dirname "$0")"
./leak_sigaction
echo "RUN_EXIT=$?"