From nobody Fri Oct 09 11:08:15 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 4j1PH946Ghz6vGns for ; Fri, 09 Oct 2026 11:08:21 +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 4j1PH92JX0z4r8h for ; Fri, 09 Oct 2026 11:08:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791544101; 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=lDA4Ls7+hFGI9vFwi6xtTGS6SCdesf6ZEpowzbMmXYw=; b=mphW5bWu/osDPt4Erw8wt6F6a6myTgDHml4aTpk82RdtM5ofKNfvBHKE4PBuX4BcXi2QgE 0XONmf0M7fxCVCnBJQAGuGEkKsSUHM5RzftCGWX8aBw34d2K1ISlzFjMP99G2dSPDfXaOT kw/8T1tBZlk4awGJ5COP9rObNeHBcNaKX/w7V3CfSCXqB0+w8hbXAtaotjP2ibihGedNtj DYvPFtmd0gM0dnii/kJj/CZQAM2B1RBKaXzbxN7zTeF3rpFXhIJykzsUJ9lILYpyOzpeDG a9R37q6nRAAxv4uO85p1PhZRhiV5FPXHcR2GpD2mUK0xZNCHmAdIV434OO5k7A== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791544101; b=wEgh4t29OBEX59yeqJsx/j0krGaIGUGcWp0NVct8BFnAsd6bXdII9w2H6jM58ZJbs0jafq iSiMvvVQFKlsl1EKGIwJFTDu5eMvgaho/1wlDnGvgxzcfzi0KBZc3E6epBdBMNR7RfLSPY gBAQIR+LmjTuktsXYqN/z8znm6cZal5ornRQbHKlgqcgrIyizEcAKgQm3xSTEFjYKoNaBk GuXzDSZ01L/i4z/fVFAOwMWBq64dwTQbiHCiWTg0yhEj3+5RHSe8ihMzdjjeMGyqXWYDFx Ede/6bTHy03CREuVQZnHscfDpnWHfiHF15/v3h9eo56psd2holA68ngtwYu2cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791544101; 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=lDA4Ls7+hFGI9vFwi6xtTGS6SCdesf6ZEpowzbMmXYw=; b=rgrMVF2rAdZEI0LPjGx8mZv3judLaQPOKMDOqk6TOkZrw4I9JlCjQC+3pR8xeq5tyoTjs3 9bGNvWYF80U5MT3ElTHOQYZ3eaXpAGHF3O18P73j0nE2sDtWcAq5V45GnJ4YdOsl7I6B2O wVZtLEK4JKdoHz9aJJcru/6vUsXboNmARXrjSqyshkAMXykqS55Ly5rwVx4VTKESIiyYJY CNuVk3ix5nAWshU47EL/jCR1vedYkigeZOm8s48oPgxCTQ4gbf6OEk9Aem/TQKtklUcZH5 HKdcymufPW44I5dYmp1Md0L8vklAq+wH37QRFeGWwlGmMmXeguo/WjElZXya/w== 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 4j1PH91N3Bz1MZD for ; Fri, 09 Oct 2026 11:08:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 46a7a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 09 Oct 2026 11:08:15 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Aymeric Wibo Subject: git: d39b1d6932dc - main - ulimit(3): Improve UL_{GET,SET}FSIZE wording List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: 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/main X-Git-Reftype: branch X-Git-Commit: d39b1d6932dcc16b7c8a399d196fd81d038ca261 Auto-Submitted: auto-generated Date: Fri, 09 Oct 2026 11:08:15 +0000 Message-Id: <6ac8cb1f.46a7a.158c148d@gitrepo.freebsd.org> The branch main has been updated by obiwac: URL: https://cgit.FreeBSD.org/src/commit/?id=d39b1d6932dcc16b7c8a399d196fd81d038ca261 commit d39b1d6932dcc16b7c8a399d196fd81d038ca261 Author: Aymeric Wibo AuthorDate: 2026-10-08 14:17:22 +0000 Commit: Aymeric Wibo CommitDate: 2026-10-09 11:07:35 +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 --- 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