HomeFreeBSD

Add a kstack_contains() helper function.

Description

Add a kstack_contains() helper function.

This is useful for stack unwinders which need to avoid out-of-bounds
reads of a kernel stack which can trigger kernel faults.

Reviewed by: kib, markj
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27356

Details

Provenance
jhbAuthored on
Reviewer
kib
Differential Revision
D27356: Add a kstack_contains() helper function.
Parents
rS368239: pf tests: Re-enable panicing tests
Branches
Unknown
Tags
Unknown