DragonFlyBSD Kernel Audit
DF-0144 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
#!/bin/sh
# DF-0144 run: on a vfs.quota_enabled=1 guest this PANICS the kernel.
# On a fixed kernel it returns EFAULT cleanly (errno 14) without panicking.
cd "$(dirname "$0")"
./df0144_poc
echo "RUN_EXIT=$? (if we got here, kernel did NOT panic)"