From nobody Mon Oct 12 11:25:26 2026 X-Original-To: dev-commits-src-all@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 4j3FWV6dstz6StZ9 for ; Mon, 12 Oct 2026 11:25:26 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4j3FWV3Gpbz4ZTW for ; Mon, 12 Oct 2026 11:25:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791804326; 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=nUTc9hSF+E6wF3cnbqduKfol76GLMqku/Sk9PHTOpQQ=; b=CEeE+X5lfEWD5sNXfvaTHKYUMAWUUpJXETJYE4+J1pgHjd9nXkBLo2RzUIgjW8/EfNTLiP hRAUwxgq0cEFkj1CQ6GCCL7r+gZyMZdstWLkly0Q+FsbcecofxLqO2p3bp9vG/N+1ecJtF nz4I5XVzelhOrJeO2KzrQQ1lI8u3Mq596/OlB8Tec8vT5/i8R6q+QN44/oWRMuKwg39rtv oFXs63flhGomTlviKH5dvoExwXIFpRt6kbViBK0XR8P7iUF+88H5/LuFMntfZ4vZQX7rT0 dbZ7z8yQSf6iItJR36liFVSoc0JYfvhUTjKO0NKlIWewWFhTJoTHmQE2CFbbvA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791804326; b=IdOvgB2Oich6JJa64vK1HFNNGKDIgQ5EBxQ5SPr8i2O8SOIq41EV9yC1kaX6acJolL4FAP /79DWTRbSHH7dL+n9SDEAIM10E5jseaqslDHdquPHsB7nlDOS4xOczxTvWunhjbx2Qqs7E 3mzp2NC23xb/hFnTHdfqVYVXyDzll9IsrUV0nxvQksq2UY82Hh87bJ0+Ka8g7HWq+eDVuI RXpCpFlRllHe7w0avp+TVCB6mzZ/jysrM/brkmJ17JnE/ed2t7uzMWQWb0CBJCoBas5I8d VkHni0MXqBAgg4NZGrljSRAK0WKS5kgx2Nh/9zhze2b8aVFxGt2ionV2VoqUxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791804326; 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=nUTc9hSF+E6wF3cnbqduKfol76GLMqku/Sk9PHTOpQQ=; b=BnpjCk8gKUeF333HxVnLy9m5UB/Z5Qd5gyqfMs8qbDICBdQnR1mIQwVPCKP9JhtV8sJoUG TXm82B83mVpLfFYUdXeEYjaJiVY56q3xByghArxOcXPzSvVcsAeHzsDTBoRiucKt0tZ7mf o65en2JbKwaxLGvcu6FO/LqM2lX2u6teCXayjpU/ADinY6CTbRxcf3hO2eFBNgcH8G/EDy 2o585PJ8UVeP5snOtvGRCKZ/8aUh0qOJEsjqsp/ALVVx2vl/dZT3R+7onxVDtDfCZ76bmV 5j2CUaS67usS8gPtgt5z9f2cISNXX9eRf/ToIL+bla8Gh7GwEoObIfEhM8EcAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4j3FWV1c0wzQQv for ; Mon, 12 Oct 2026 11:25:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 311fa by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 12 Oct 2026 11:25:26 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Aymeric Wibo Subject: git: 53a41126dfb2 - stable/15 - ulimit(3): Improve UL_{GET,SET}FSIZE wording List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: obiwac X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 53a41126dfb2fa6407ef5e724c34e350d5d8935c Auto-Submitted: auto-generated Date: Mon, 12 Oct 2026 11:25:26 +0000 Message-Id: <6accc3a6.311fa.781f90fb@gitrepo.freebsd.org> The branch stable/15 has been updated by obiwac: URL: https://cgit.FreeBSD.org/src/commit/?id=53a41126dfb2fa6407ef5e724c34e350d5d8935c commit 53a41126dfb2fa6407ef5e724c34e350d5d8935c Author: Aymeric Wibo AuthorDate: 2026-10-08 14:17:22 +0000 Commit: Aymeric Wibo CommitDate: 2026-10-12 11:25:08 +0000 ulimit(3): Improve UL_{GET,SET}FSIZE wording Reword the UL_GETFSIZE and UL_SETFSIZE descriptions to say 512-byte blocks and make the setter's argument clearer. While here, improve mdoc markup and pull in other small improvements. Reviewed by: des MFC after: 3 days Obtained from: https://github.com/apple-oss-distributions/libc Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D60467 (cherry picked from commit d39b1d6932dcc16b7c8a399d196fd81d038ca261) --- lib/libc/gen/ulimit.3 | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/lib/libc/gen/ulimit.3 b/lib/libc/gen/ulimit.3 index 771c40126944..880d3735574e 100644 --- a/lib/libc/gen/ulimit.3 +++ b/lib/libc/gen/ulimit.3 @@ -21,7 +21,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 4, 2003 +.Dd October 8, 2026 .Dt ULIMIT 3 .Os .Sh NAME @@ -32,30 +32,28 @@ .Sh SYNOPSIS .In ulimit.h .Ft long -.Fn ulimit "int cmd" "..." +.Fo ulimit +.Fa "int cmd" +.Fa "..." +.Fc .Sh DESCRIPTION The .Fn ulimit function will get and set process limits. -Currently this is limited to the maximum file size. +Currently, this is limited to the maximum file size. The .Fa cmd argument is one of the following: .Bl -tag -width ".Dv UL_GETFSIZE" .It Dv UL_GETFSIZE -will return the maximum file size in units of 512 blocks of -the current process. +will return the maximum file size of the current process, +in units of 512-byte blocks. .It Dv UL_SETFSIZE will attempt to set the maximum file size of the current -process and its children with the second argument expressed as a long. +process and its children, using the second argument (expressed as a long). .El .Sh RETURN VALUES -Upon successful completion, -.Fn ulimit -returns the value requested; -otherwise the value \-1 is returned and the global variable -.Va errno -is set to indicate the error. +.Rv -std .Sh ERRORS The .Fn ulimit