Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/modules/panic

Module Name:    src
Committed By:   jmcneill
Date:           Fri Feb 18 01:07:20 UTC 2011

Added Files:
        src/sys/modules/panic: Makefile panic.c

Log Message:
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.

To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/modules/panic/Makefile \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index