git: d2ffe67fd5d9 - main - procctl.2: Fix names of PROC_LOGSIGEXIT_CTL constants
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Apr 2025 22:02:30 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d2ffe67fd5d94a1415b09971a736967505185fe9 commit d2ffe67fd5d94a1415b09971a736967505185fe9 Author: Vicki Pfau <vi@endrift.com> AuthorDate: 2025-03-10 23:42:12 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-04-21 22:01:53 +0000 procctl.2: Fix names of PROC_LOGSIGEXIT_CTL constants The headers contain constants that start with PROC_LOGSIGEXIT_CTL_*, but the man page elided the _CTL portion. Fixes: dabf006 ("Add per-process flag to disable logsigexit") Reviewed by: imp, jlduran Pull Request: https://github.com/freebsd/freebsd-src/pull/1610 --- lib/libsys/procctl.2 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/libsys/procctl.2 b/lib/libsys/procctl.2 index 75804ba243f1..dfb7931de265 100644 --- a/lib/libsys/procctl.2 +++ b/lib/libsys/procctl.2 @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd December 14, 2024 +.Dd April 21, 2025 .Dt PROCCTL 2 .Os .Sh NAME @@ -133,17 +133,17 @@ dump. The .Va arg parameter must point to an integer variable holding one of the following values: -.Bl -tag -width PROC_LOGSIGEXIT_FORCE_DISABLE -.It Dv PROC_LOGSIGEXIT_FORCE_ENABLE +.Bl -tag -width PROC_LOGSIGEXIT_CTL_FORCE_DISABLE +.It Dv PROC_LOGSIGEXIT_CTL_FORCE_ENABLE Enables logging of exits due to signals that would normally cause a core dump. Logging is done via .Xr log 9 with a log level of .Dv LOG_INFO . -.It Dv PROC_LOGSIGEXIT_FORCE_DISABLE +.It Dv PROC_LOGSIGEXIT_CTL_FORCE_DISABLE Disables the logging of exits due to signals that would normally cause a core dump. -.It Dv PROC_LOGSIGEXIT_NOFORCE +.It Dv PROC_LOGSIGEXIT_CTL_NOFORCE The logging behavior is delegated to the .Xr sysctl 3 MIB variable @@ -155,10 +155,10 @@ The .Va arg parameter must point to an integer variable, where one of the following values is written: -.Bl -tag -width PROC_LOGSIGEXIT_FORCE_DISABLE -.It Dv PROC_LOGSIGEXIT_FORCE_ENABLE -.It Dv PROC_LOGSIGEXIT_FORCE_DISABLE -.It Dv PROC_LOGSIGEXIT_NOFORCE +.Bl -tag -width PROC_LOGSIGEXIT_CTL_FORCE_DISABLE +.It Dv PROC_LOGSIGEXIT_CTL_FORCE_ENABLE +.It Dv PROC_LOGSIGEXIT_CTL_FORCE_DISABLE +.It Dv PROC_LOGSIGEXIT_CTL_NOFORCE .El .It Dv PROC_PROTMAX_CTL Controls the maximum protection used for