From nobody Mon May 25 13:36:44 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 4gPH3c5CgGz6dwct for ; Mon, 25 May 2026 13:36:44 +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 4gPH3c2jScz3XP5 for ; Mon, 25 May 2026 13:36:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779716204; 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=lPJ6u+NgPlP49g0kUore4zw9rejWjKiMLgCTYoyWHTA=; b=qlUK/sKYZmyUGeiYPalMHKoUenAowwttUeGQEOBepxW30dZFANYkVVVN1wqA3GZcaQtoJN k8vpn5/UcRjLEpwopbivlHxI9MPOQaSY3Pvr2HLYMHX87JCOXZnCq01KlQZH0/ydiMB0yC xuAZ41LwMjMonOVMDQoqrxbzUHYnXL01kLZtqZep23uEfM3wwd5sh2Y4gL161EaN9Wp4Y3 /HkNAQsBZzPHAGGtWsFDX3UO7lBkjQUOh6tMAvetK75y4QN7VhoG3MsOta887yGsCzr9q4 OqaFgaOntADLLr8h9FMT5Kk3wa5JftZY6mslIDoIFxh2et5JTRpzY4+JnwINlw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779716204; a=rsa-sha256; cv=none; b=lMWALLSG0jT6IJFFwY6++YD84G5j7DSsOwrB1Gdc+lvHF2F38GrJs74Jn5Sb9k9oK1V3Z1 rekTSe4JF6BXc7hx3k8YVHE2fKFK+7GVCEwqq8BgXRlNTlPSb1ygHB9Ot7sY9kMOpChuCO NOhZ0A7NRfugaRzy7X0epnnYpNkcAvR8gzk+T4ADKcqFwuSR2/3D30ADPxs2Wfbr7OEBhR LWMjGnSzYzC9eYwW4jfPvaXuyTKt5F79YCfASNaxx8ZRYVtoxJyd1qScq50gDL/cBGCktO e4EMNqE00CKvwAD4o4cdMnEfD0Hh+G3o7a6nmwOhSFc1Gb3TyhfTjYRSy2Fw7w== 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=1779716204; 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=lPJ6u+NgPlP49g0kUore4zw9rejWjKiMLgCTYoyWHTA=; b=FmQaIJapRlvt7YVv3rHifFjkEAoAT81iFZHF2FIc8SooBSxRqI4XWnXWpRUtLPWZIx0zMe eHxP8rREwnZ3weA24msVgbNic8+64cIXforyHMTUbrvzI80ZxGGmNcdrSaxhrItT4pKFME z5o4p+kArQEHSZgu4g7/I5uDAi+YU8GDRFKyQUzMVU8jFtyLZFmng3qVStyb0gg38YfYN5 imDPSwJwV5/OBo8VGCB7A0y/K2+MnSzkAnMtrZpBtkoKC3JgE3p0Q7F0a4AD5lcdUHlePQ 7re559T9aeDKIdqmBcPY5tLLdaF1J+CIgyFrGqMowCUXx7rD7gXiUG0UFxHYvw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gPH3c23ylzkHx for ; Mon, 25 May 2026 13:36:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 465dc by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 25 May 2026 13:36:44 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 414617d82c8a - stable/15 - cap_net.3: Clarify monotonic reduction in permitted operations 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 414617d82c8a4e10c8bdfc9ea50f3b3fde7cec0d Auto-Submitted: auto-generated Date: Mon, 25 May 2026 13:36:44 +0000 Message-Id: <6a14506c.465dc.6106c186@gitrepo.freebsd.org> The branch stable/15 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=414617d82c8a4e10c8bdfc9ea50f3b3fde7cec0d commit 414617d82c8a4e10c8bdfc9ea50f3b3fde7cec0d Author: Ed Maste AuthorDate: 2026-05-20 20:27:49 +0000 Commit: Ed Maste CommitDate: 2026-05-25 13:36:20 +0000 cap_net.3: Clarify monotonic reduction in permitted operations Reviewed by: markj, oshogbo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57141 (cherry picked from commit 59601a75d6fb1300b1aec2977eaa6adeb0300684) --- lib/libcasper/services/cap_net/cap_net.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libcasper/services/cap_net/cap_net.3 b/lib/libcasper/services/cap_net/cap_net.3 index e322222e866f..2e3777337d60 100644 --- a/lib/libcasper/services/cap_net/cap_net.3 +++ b/lib/libcasper/services/cap_net/cap_net.3 @@ -203,7 +203,8 @@ will consume and apply the limits. .Pp Once a set of limits is applied, subsequent calls to .Fn cap_net_limit -will fail unless the new set is a subset of the current set. +may only further restrict the service. +Any call that would grant operations not currently permitted will fail. .Pp If the .Fn cap_net_limit