git: 61e3e1776d40 - main - capsicum: SIGTRAP is delivered also on ECAPMODE error.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 22 May 2024 04:52:44 UTC
The branch main has been updated by pjd:

URL: https://cgit.FreeBSD.org/src/commit/?id=61e3e1776d400c72cbdc521212bf932ed11be507

commit 61e3e1776d400c72cbdc521212bf932ed11be507
Author:     Pawel Jakub Dawidek <pjd@FreeBSD.org>
AuthorDate: 2024-01-22 21:37:04 +0000
Commit:     Pawel Jakub Dawidek <pjd@FreeBSD.org>
CommitDate: 2024-05-22 04:51:50 +0000

    capsicum: SIGTRAP is delivered also on ECAPMODE error.
    
    Approved by: oshogbo (mentor)
---
 sys/kern/sys_capability.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/sys_capability.c b/sys/kern/sys_capability.c
index d59ad37f35ec..e71dc4f3285b 100644
--- a/sys/kern/sys_capability.c
+++ b/sys/kern/sys_capability.c
@@ -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