⬢ DragonFlyBSD Kernel Audit
DF-5548 / run_fatal.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
#!/bin/sh
# DF-5548 baseline (test 3, FATAL): post-race state "fd alive,
# si_drv1 == NULL" (open loaded si_drv1 across the final close,
# fwmem.c:266/269 vs 295-297): production fwmem_ioctl(FW_SDEUI64)
# bcopy()s to NULL -> kernel panic (write at 0x0).  Guest reboots or
# sits in DDB; panic captured from the serial console log.
kldload /root/df5547/df5547.ko
sysctl kern.df5547_test=3