With this commit, we have resolved the kernel panic plaguing our #HardenedBSD users. This one was a tricky one.

HBSD: Re-Enable core kernel debugging features (4f1ff705) · Commits · HardenedBSD / HardenedBSD · GitLab
With commit 1aad58b919d3d22f86be01b8e26a203cd020eaae, FreeBSD removed the inclusion of "std.debug" in the GENERIC kernel. This results in a broken kernel on HardenedBSD since we rely on INVARIANTS and WITNESS. This is...