From nobody Fri May 29 22:07:05 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 4gRyBf2tP8z6gB3R for ; Fri, 29 May 2026 22:07:06 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gRyBf15j1z4G2Z for ; Fri, 29 May 2026 22:07:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780092426; 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=HcLJEo+81pWcB8I0DJVVBrsx2LBk5FLNzN4chGtOg/Q=; b=lJpHxCGlOBrtfBmxdsEoG3uNosNVPmb0vIHe4VbAPboljrQ4tt8/IRUueboVzI6VN8pJ4I wmc3w5qJcb3Efd460HUPG0bYqAKp5Iu+YJbgPBAhpnAhlgiEVTT9p+MYdTSShn1Mdm2EjP YrjcwGEj7GrmHA7ZEkcQhAfcVYNuk1v+l8ukdTPmCyXc6W/Bc9H0MJf2JVNTBfrMOU8tQ+ 93fT2i/HdqAMNcwU6hBKWK4J32izPkrcWQ1/E+fmjtEb13cCT3kvO4LR+RehOfimowS8un womU44N3NuUfquhTzsico0t7eGMkGUNRjIDYZCXB9VPonE06JBs9gMkv/N3+3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780092426; a=rsa-sha256; cv=none; b=YPSfJP0VQE9qNDnpH/Yt8+NqYGQ+Y70gXal6cM/SNItZ3DfAvG3bqmx0w3145EsiPqbMGL TkbyLgabnRK1mkYFutDdMfUfMdJnq0z+z+QLtUXK6BlgRkcv/N3bQc/kyYjy+Yn0ai6M3n a0fz0BzD/+tIH1zAEiY4gj/65Bto4JieEA+4zVshaw/DDmr5pAuCptnvyeZu0XrDNTQ4e7 Ta2f2r8waHekjpWAbmqgw/kQtOpddXZh93b8SsxuD5+duWns6Gj9/V3t8OiH8TI/Lq+1TH uR0c9rdgEGnKATDgoaeQI0WKlJvrZ/QrxsiJhHQw3lIrKk4li+R+YmpMZKkabA== 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=1780092426; 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=HcLJEo+81pWcB8I0DJVVBrsx2LBk5FLNzN4chGtOg/Q=; b=EeGduz2g5hv1JiksJxq1NxGVfeiRhweExQtWQR1Xe9wYC30nBi9oWMyoSfJa5oTX2AU3VW l4Cavng3DnOhwW0t3FclPZ7QiPLEuBAhRLSoT+5YVvqiog0mMKemfR26IPrvXUu9EFCPo3 aDLyjNY6vuNx0A+y2fN8WCOzKwmt+uHAhn/TKAnRpUUydY54x8wZRiQ7rJoDFWRaCW1eim lGL9hpzN7nRvfk/BtXJXXtgeRn/Wjs9fn4qNB2kO1ZMG3M3+zxXCPMZAH7ycuDjcPtpJYJ RHvgapRA1fpiyvYh+eDw/bFucBgn205soyQYoMJ86autmJO9VUzftgfldMiOjA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gRyBf03KMzrGW for ; Fri, 29 May 2026 22:07:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d024 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 29 May 2026 22:07:05 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav Subject: git: b5dce0ae4f78 - main - login_class: Fix kqueues, pipebuf resource types 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: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b5dce0ae4f78251f56ffcb6c6a58b9e6c20380e0 Auto-Submitted: auto-generated Date: Fri, 29 May 2026 22:07:05 +0000 Message-Id: <6a1a0e09.3d024.b2b496d@gitrepo.freebsd.org> The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=b5dce0ae4f78251f56ffcb6c6a58b9e6c20380e0 commit b5dce0ae4f78251f56ffcb6c6a58b9e6c20380e0 Author: Dag-Erling Smørgrav AuthorDate: 2026-05-29 22:06:44 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-05-29 22:06:44 +0000 login_class: Fix kqueues, pipebuf resource types * kqueues is a count but is listed as a size * pipebuf is a size but is listed as a count PR: 295623 MFC after: 1 week Fixes: a4c04958f526 ("libutil: support RLIMIT_PIPEBUF") Fixes: 85a0ddfd0b26 ("Add a resource limit for the total...") Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D57333 --- lib/libutil/login_class.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c index 90e4e01f7c3b..8a465e2eb24e 100644 --- a/lib/libutil/login_class.c +++ b/lib/libutil/login_class.c @@ -63,9 +63,9 @@ static struct login_res { { "vmemoryuse", login_getcapsize, RLIMIT_VMEM }, { "pseudoterminals", login_getcapnum, RLIMIT_NPTS }, { "swapuse", login_getcapsize, RLIMIT_SWAP }, - { "kqueues", login_getcapsize, RLIMIT_KQUEUES }, + { "kqueues", login_getcapnum, RLIMIT_KQUEUES }, { "umtxp", login_getcapnum, RLIMIT_UMTXP }, - { "pipebuf", login_getcapnum, RLIMIT_PIPEBUF }, + { "pipebuf", login_getcapsize, RLIMIT_PIPEBUF }, { "vms", login_getcapnum, RLIMIT_VMM }, { NULL, 0, 0 } };