capsicum: SIGTRAP is delivered also on ECAPMODE error.

Approved by: oshogbo (mentor)
This commit is contained in:
Pawel Jakub Dawidek 2024-01-22 13:37:04 -08:00
parent ff4fc43afd
commit 61e3e1776d

View file

@ -85,7 +85,7 @@
bool __read_frequently trap_enotcap;
SYSCTL_BOOL(_kern, OID_AUTO, trap_enotcap, CTLFLAG_RWTUN, &trap_enotcap, 0,
"Deliver SIGTRAP on ENOTCAPABLE");
"Deliver SIGTRAP on ECAPMODE and ENOTCAPABLE");
#ifdef CAPABILITY_MODE