DragonFlyBSD Kernel Audit
DF-2949 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-2949 — exact run (on the DragonFly guest, unprivileged)
# alignment/oracle evidence:
/tmp/ctty_race_sweep 600 100 900
dmesg | grep -c "cttyclose: race avoided"
grep -c dur /tmp/diag.log    # closes blocked >150us through the teardown

# panic hammer (two rigs):
nohup /tmp/ctty_race_hammer 100000000 700 > /tmp/h1.log 2>&1 < /dev/null &
nohup /tmp/ctty_race_hammer 100000000 800 > /tmp/h2.log 2>&1 < /dev/null &