From nobody Mon Apr 21 22:02:30 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZhK9L5njXz5t6bs; Mon, 21 Apr 2025 22:02:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZhK9L4bkYz3md5; Mon, 21 Apr 2025 22:02:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745272950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SGK7fYiQc6jrXVaS2lf9AxkP7l+bCWbQ9DekPx8C4kw=; b=xLtZY1XA3VFMNzPuR/X80YFxxeJ/cYFBoW15wa5qPQXlI0jCKpw6XejYX4Lb4EijyymEGO 6zBFm6HSh/sXukxfekQE9KnqTcm9ZBjYkMxfNqUTzL2Ysc8ETvyiC5NYf8lS2fDhP3Xqup dfU1gI7sk2WTN2zydtKPGjTmORwZ0ycKh+L/u6terMk99E1N6cnvQQ+cgjxe2D7gUbsQab 9cwpSJtYptmu5LgncmOKD+FimA8Ot/TjwgEordR368/vonpzJC1PQIALTpBL5cbEpFXmyh 3J4ZYJIrY07Pjoq0v/7aafZ57jtmwFu+rX6YXd9R3GQzK2IXcSc/nP5SSqDw5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745272950; a=rsa-sha256; cv=none; b=fMqrNHTJ+ciD3poAOhLeiUuRy2UVyfL9wWxSkN8CrLxv97uyCjrnYs0WK+CfXsiW0eEqqZ Cd8muAIhKVXS5s0SmPXnU1crL3HSMUBIcn5GwpVW/MgYi1QzCyPyRuEG02iXsrF0cBo++7 vsRa8srpMjQxCwuuGViifTiHjPI72PuKTLjDCp77OBc7Va1zhE3Q1m52LQHuAMKqTZGrad 89qsn7Se60ZxH1gMeStZhcRxF4A+wWPuQVaQpiSuv5Jel5Ld+KeAwEvA1vNdi5xjn7o324 T15P8wCOkH6Oa9GH83uD6Wrm4TenEW75QnxNmhJdcGpbiOWkDy9Vtus6OUTUSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745272950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SGK7fYiQc6jrXVaS2lf9AxkP7l+bCWbQ9DekPx8C4kw=; b=j2AjhTh/RUK4shhZDsmiIoddQ3bDWg4PhkQq0CeKbnryysEhnwFlFsd+PCh9N3Qz1odc+Q RC0ON2NpGv+WL8HcNWUUTwP+tYNaGujZR+z5OQPDcD90MuRulN1t324LLOPEnZl8l2qbon 1CAj9urX3DWZNjATe4SMtEfmMzW2LiXfEuYYt5JJcnswECp3IdPaSFotxLa5cv2OqTwgnw kVTP1W0uq/0YeOeFeZ0E9pWTN/M+gxTx0jpc1G3RNLqJMAFy5+zys8Z5K2Q8Ha8RDJAgEc IlhJmJH1UOnON+s0YsvQouMqtn2ZTaff1ahnDSzWM8mfzh4aMkxRzbvkcMsAfg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZhK9L3sB4z16vh; Mon, 21 Apr 2025 22:02:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 53LM2U42025946; Mon, 21 Apr 2025 22:02:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53LM2UEY025943; Mon, 21 Apr 2025 22:02:30 GMT (envelope-from git) Date: Mon, 21 Apr 2025 22:02:30 GMT Message-Id: <202504212202.53LM2UEY025943@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: d2ffe67fd5d9 - main - procctl.2: Fix names of PROC_LOGSIGEXIT_CTL constants List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d2ffe67fd5d94a1415b09971a736967505185fe9 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d2ffe67fd5d94a1415b09971a736967505185fe9 commit d2ffe67fd5d94a1415b09971a736967505185fe9 Author: Vicki Pfau AuthorDate: 2025-03-10 23:42:12 +0000 Commit: Warner Losh 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