Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   mrg
Date:           Wed Jan  9 04:01:20 UTC 2019

Modified Files:
        src/sys/kern: files.kern
Added Files:
        src/sys/kern: kern_crashme.c
        src/sys/sys: crashme.h

Log Message:
crashme: a framework to test kernel faults.

so far, only a basic panic() and null deref nodes are added.
with options DEBUG, one can now use:

   # sysctl -w kern.crashme_enable=1

   # sysctl -w kern.crashme.panic=1
   # sysctl -w kern.crashme.null_deref=1

to trigger a crash.  crashme_enable must be set to 1 before any
of the nodes will be writeable.

supports dynamic additional/removal of crashme nodes.

(obsoletes kern.panic_now, which will be removed later.)


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/kern/files.kern
cvs rdiff -u -r0 -r1.1 src/sys/kern/kern_crashme.c
cvs rdiff -u -r0 -r1.1 src/sys/sys/crashme.h

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