History log of /netbsd-src/sys/modules/panic/Makefile (Results 1 – 1 of 1)
Revision Date Author Comments
# 6c491947 18-Feb-2011 jmcneill <jmcneill@NetBSD.org>

add panic.kmod, an easy way to trigger a panic. takes a 'how' argument
to specify how to trigger the panic:
modload -s how=panic panic.kmod <-- just calls panic()
modload -s how=nullptr panic.kmo

add panic.kmod, an easy way to trigger a panic. takes a 'how' argument
to specify how to trigger the panic:
modload -s how=panic panic.kmod <-- just calls panic()
modload -s how=nullptr panic.kmod <-- null ptr deref
if how isn't specified, it defaults to 'panic'. feel free to add more.

show more ...