#!/bin/sh
# DF-0055 run script — executes the trigger on the DragonFlyBSD guest.
# MUST be run as root (uid 0); /dev/udev is 0600 root:wheel.
# Expected (bug present): kernel panic within the first 1-2 seconds, while
#   the second /dev/udev reader externalizes the first tap-create event.
#   The panic is captured on the serial console (comconsole -> boot.log).
# Expected (bug fixed): runs ~12s, prints "no panic after 80 create/destroy
#   cycles", exits 0.
#
# WARNING: this panics a vulnerable kernel. Run on a disposable VM only.
cd "$(dirname "$0")"
exec ./udev_uaf
