Let kern.trap_enotcap be set as a tunable.
This is handy for testing programs that are run by rc. MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6f2e8748d7
commit
29acbc71ce
@ -86,7 +86,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <vm/vm.h>
|
||||
|
||||
bool __read_frequently trap_enotcap;
|
||||
SYSCTL_BOOL(_kern, OID_AUTO, trap_enotcap, CTLFLAG_RW, &trap_enotcap, 0,
|
||||
SYSCTL_BOOL(_kern, OID_AUTO, trap_enotcap, CTLFLAG_RWTUN, &trap_enotcap, 0,
|
||||
"Deliver SIGTRAP on ENOTCAPABLE");
|
||||
|
||||
#ifdef CAPABILITY_MODE
|
||||
|
Loading…
Reference in New Issue
Block a user