DF-0715 / run.sh
#!/bin/sh # DF-0715 run — loads smbfs.ko (root-only admin action; the /dev/nsmb device # only exists once the module is loaded) and fires the trigger. # Run as root. Expected: kernel panic (fatal trap, read at 0xFFFFFFFFFFFFFFF8). set -e cd "$(dirname "$0")" # Ensure the nsmb clone device exists (admin precondition: module loaded). if [ ! -c /dev/nsmb ]; then echo "+ kldload smbfs (admin precondition: /dev/nsmb not present)" kldload smbfs || true fi echo "+ ./smb_memdupin_zero" ./smb_memdupin_zero |