From nobody Thu Jun 4 14:40:28 2026 X-Original-To: dev-commits-src-branches@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 4gWS0Y2jChz6gPkq for ; Thu, 04 Jun 2026 14:40:29 +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 4gWS0X5MS2z3pkG for ; Thu, 04 Jun 2026 14:40:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780584028; 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=pOMa5vX8beAWBB9BTocamxtId4mkUEW3XojKBb3QDtI=; b=AUfM27Pn3ndXMqPaJMdeQzSRlacHN6FojoEKNrsq5Rrl1rJ6zXOwuVwke05vLm9mhk6Opu HspEsBKOfDtKdkrqk+DNfGmKuVeggGu+Z3izqXdjbQqaqzHkywX8f/8EK5J0rfZF6GaCci unKtSKiTCKm4LboO9Y8AihS7WS0XSLfXkHPd3gAgb3eY9b99tKeGxxxbaBBlbm7mGmkzPv 7l/VDEL+svw/wKzSE1IsWwsI6zDv6RrozELufEpLRSiQrNMeiHmXhD01Ot4EqG7UgFLeWH fWpjdJqEa52gMVi9s8Pk0NlpjBZYK+7Ed1zSjXgRb30TtFCXvvXeHT36G2b1ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780584028; a=rsa-sha256; cv=none; b=gunr1tCNIv4kfjfdSOHllt+cgRi4ybF37FdbocXYLZIs4017QS0fopQjfWgo41cst8hz4R 0RzdsITx74qkYy4ogMneiXYwcCDk5YHVH4vKm6ZsIfBkAru2fmlLm85GJHfXb3K4BDizST h+VGD7K+g2Rpc/OAE3biTjQWAmPWmkkcymawJAxFVw649Zr9rlb/RKsS5rp30HKlUcGNKv Mre6BAOzCiDOz6JbypIvZOyR36GfeN8mK20aaqSs+E4bYxZLV6uwdcKHRk7vfKmk8z4uqm uxE9POOu3qSZLdnnTuBzokefimH9pgpp/TEizzzeusKHK8qOGr6Io+65WaDLCA== 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=1780584028; 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=pOMa5vX8beAWBB9BTocamxtId4mkUEW3XojKBb3QDtI=; b=hU+CPu17EwLn4KOlSvgpM2keO3G7Od66TJMSDAR34H72s4omfwYUKmnj4a2BDOBcXf3fL4 5BPjNk8cU/wgSasPSsYgzOYQuLQYXwug9AZQQcIGXhajD0DvFo11OwgzMo0jcmUlDHwtzc JS63iOwqho5Th2THwvVD0cFKzGe3FPB0vEhsGpQ8+m8l4CBLJrh5gep9CZJpfRNHyICxxe 5GT9b3022gqe+MQWX3WT3nBA4X25dYYwuO9e3AKxvJFV57hmrfRBUcA3GtZ+s36BDllxNi R1W5hOdu0EInahjTc6QjRApalgBd8EhTgA7n+mAGRWO7xgJgWpBBUqApIafE0Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gWS0X4wSDz12pJ for ; Thu, 04 Jun 2026 14:40:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3c799 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 04 Jun 2026 14:40:28 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav Subject: git: 2a0e9a9b5934 - stable/15 - login_class: Fix kqueues, pipebuf resource types List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 2a0e9a9b5934ced31c90ff5c3231e1599b3b1e75 Auto-Submitted: auto-generated Date: Thu, 04 Jun 2026 14:40:28 +0000 Message-Id: <6a218e5c.3c799.2ad3e2a7@gitrepo.freebsd.org> The branch stable/15 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=2a0e9a9b5934ced31c90ff5c3231e1599b3b1e75 commit 2a0e9a9b5934ced31c90ff5c3231e1599b3b1e75 Author: Dag-Erling Smørgrav AuthorDate: 2026-05-29 22:06:44 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-06-04 14:40:17 +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 (cherry picked from commit b5dce0ae4f78251f56ffcb6c6a58b9e6c20380e0) --- 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 9478b4dc98ca..3db831efc688 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 }, { NULL, 0, 0 } };