]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a funny sysctl: debug.kdb.trap_code .
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Sun, 18 Jun 2006 12:27:59 +0000 (12:27 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Sun, 18 Jun 2006 12:27:59 +0000 (12:27 +0000)
commit42ccd54fecea0a6c2cdec5a2aa6d3732b4be4ab6
tree2d9e655fafe1e071c856b352e0f6c982afc4443e
parent8411d000a129c190cdbd6ccd1a8c9b92ba830a23
Add a funny sysctl: debug.kdb.trap_code .
It is similar to debug.kdb.trap, except for it tries to cause a page fault
via a call to an invalid pointer.  This can highlight differences between
a fault on data access vs. a fault on code call some CPUs might have.

This appeared as a test for a work \
Sponsored by: RiNet (Cronyx Plus LLC)
sys/kern/subr_kdb.c