HomeFreeBSD

Add a funny sysctl: debug.kdb.trap_code .

Description

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)

Details

Provenance
Yaroslav Tykhiy <ytykhiy@gmail.com>Authored on Jun 18 2006, 12:27 PM
Parents
rG8411d000a129: Move all syncache related structures to tcp_syncache.c. They are only used
Branches
Unknown
Tags
Unknown

Event Timeline