From nobody Fri Oct 09 11:08:15 2026 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 4j1PH41wwTz6vGrL for ; Fri, 09 Oct 2026 11:08:16 +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 4j1PH41FPXz4r5p for ; Fri, 09 Oct 2026 11:08:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791544096; 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=v/FLZhYASTVkxR7uye5B0dyRjgWOqkddLU2moMq7cM9uCZnvrXszjnYX0Hm5cpdLvOS23O o1W7vwvqOzLfXxMj8duWizKyYQph/+M8nznhPtcqoYFd+plJLeduD7+DJyDmxZkgGMO3P1 PiKk9w/ADp1Tucum4Mxk3Zsbe7MPbWmJtBG1j7EyJaSJGMA5fXwzu3kwg8zQAL0dGUm2WF iYj1m7Py4LROmczJsw9hRIFprnLtBr2ceJpeTbOZtPEbR38WKIvzFEbxtv/WGLe1mrGNb7 ux6GuwkMMmqfUjLnAWDfl6wIBIP+VDRz0rvSNFHWEojXmNYUlQgvDKQIwB8KyA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791544096; b=iz97TAVTdqCUxcVbJHnW3RDZdAChgxEvSFKb4C9XhOWh84IsokY9qb5yODKC21/feZoedJ nruo5AYT4s9OHzY3kFRwbHcT7zayl3JSvxrjmIffyeqPYwFJ1s4kqSQHSc6avUgXmFz5Tt BJvaVTaevOW2lT34XkcYRMOTmwaU+fDId28ha1+iy9NCGnKYiqP2CvMiHhaOdkiIgRdBNX pvec2A6pH4AoaUa2P3jabvcGwxXzNA/KRYmrwB/E4JhL5R+BDwv5ceuuMOPbY645TsZDnX auB8hPNg7iQ9aZRNHqYRvFlbOMPzmIOASfLaf2TVLMd0ypblRl8+HPnXYD0qAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791544096; 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=Oo+BumuuwZs7aUSvW7c9PfpPljMJFckDXl3n6c4fh9aEPbQcJvSU+ItTIS7UN9E+fC0tcD nJbOlSlPzFoY/dee5hhUJnfKVDJjanxLU0QhHl5D7kuMNwR6JyMi6YGzhI45NWvtIlHpvx ZcQvRExbS4a/QNZOMTEHp/nGL600+Vx3bvYpqhUe3q42fvNuZnZFViq2bt+QAs+xPM4qR2 tRAUZ4NCeXkyYZK6IkWf/I5lOny43aO1UllTsGhI5HDQy4UX2qVCkZmWZROcFK0729fvjX jFXwXX6TB8d2f0Ar9vXrIkACCrflWGiY/Z+GcB/eniZ4OhhEvz4XxoJgZfrPyQ== 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 4j1PH401Pcz1Mfh for ; Fri, 09 Oct 2026 11:08:16 +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 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 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