From nobody Fri Nov 28 21:29:17 2025 X-Original-To: dev-commits-doc-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 4dJ5z23czqz6JL5C for ; Fri, 28 Nov 2025 21:29:18 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dJ5z13FTpz3gkt for ; Fri, 28 Nov 2025 21:29:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764365357; 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=NqJnkZD3mL9CPFa74nPsFPg+EtKmpuILcjq0lAHKyus=; b=ZEGzOs5B4AzEX2i41hzrXYeE+mo/MBiYxoncIKSIAowmBi7xK9HpLCPaFJZau4BP1OuHUK kTretHp07muPB8LlDq/GihBNltbyKY1jDXI9NuqB/O3vAj6RyQ/WCblVOBvioMw9bkOZQ4 OrSi4hsq5KqGP1kGzrrzU8yVlnZQFMvdTGeX0omqAOxZhDkdZKb9Kos+Lwx5jf9fvuC2T9 EC3+BPCbpjBWJW493CHC5C/S1Zk/NFKAdxlwXXiByre4X4cOAWD8sj8R/fn2QifqXQo4oJ 5E+2y1DoljejPt4XHlHHKfjMNjPvzn6wSgiKBuXcvFxs2M7o3rGCjL/3Wnfb/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764365357; 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=NqJnkZD3mL9CPFa74nPsFPg+EtKmpuILcjq0lAHKyus=; b=QaMe+Pk2UEBOXCewFzz/28W4gO0AUzCbkPZcbCn/g99zqjQpbE17K09nfo8X0CZSDRi9tL P6imz9RENv4xStmaAIL7KromWmdAG14vvcgnQNwC3mBqYFxnqwAUGXwqsPCAyQ7uFPlptd s2AtJhlKV6LecxvoNz+/TYagDA4Y4S1rBdOUWQ+ZZttj/xJvvLoI+JnWa7IsBvw7hOSZJm 046SLZAvbjxxRUQ1X8DiO1dXSBoGPEvLxxLD9lg/W/lAxqzI4NZPumCbHsP1q4kVoNnHES 4d+WiUEPS1DBgYSxHaly9voKVW+KJYv20ktACwnGfZOCJUa+QH5JubTLkNVHaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764365357; a=rsa-sha256; cv=none; b=ku/DwLJ922frui3GqIS3uAKHFRPYdx1RuWhjv2mbDJc+DWZSYgmUW//UU8vxDunfHTc7f5 RiUIC1Qlkryl2zwqq2cp/xX/MfUNtd4sZfVc28vJUcCzYu80x3y4ipM/5bwnTcJNYvNK7I eFDlLfKlPZyZuSN+5W73YQc2t3V24n6ROSM1AdMIP/YE96YiAyOf7TR3+U2dJfYRYvKGTs p2mNiEKyxLBQ4qjEgt4Go1rpOgu2y5gZaG1NcNoNlk+fStPDBw7/qBksEJuph1QuxCLcK/ +kLDmDzTrttfKuQzaBiVdGdfuqTw/Mw62Ff/Y+YJgXE0msK6e9Vgle/gCQqL9Q== 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 4dJ5z12G47z41m for ; Fri, 28 Nov 2025 21:29:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 33160 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 28 Nov 2025 21:29:17 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Olivier Certner Subject: git: 7007c34bf1 - main - releases/15.0R/relnotes: 'cr_gid' split out of cr_groups[0] List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7007c34bf120feb80e460ce928bb697da98b0505 Auto-Submitted: auto-generated Date: Fri, 28 Nov 2025 21:29:17 +0000 Message-Id: <692a142d.33160.536a6735@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/doc/commit/?id=7007c34bf120feb80e460ce928bb697da98b0505 commit 7007c34bf120feb80e460ce928bb697da98b0505 Author: Olivier Certner AuthorDate: 2025-11-28 21:27:39 +0000 Commit: Olivier Certner CommitDate: 2025-11-28 21:28:41 +0000 releases/15.0R/relnotes: 'cr_gid' split out of cr_groups[0] In particular, mention what has to be checked. Sponsored by: The FreeBSD Foundation --- website/content/en/releases/15.0R/relnotes.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/content/en/releases/15.0R/relnotes.adoc b/website/content/en/releases/15.0R/relnotes.adoc index 01370dc18a..ef8e511f35 100644 --- a/website/content/en/releases/15.0R/relnotes.adoc +++ b/website/content/en/releases/15.0R/relnotes.adoc @@ -770,6 +770,12 @@ The SOCK_SEQPACKET socket has been brought to the specification and now behaves a datagram socket. Applications that were using SOCK_SEQPACKET incorrectly and relied on old implementation bugs may need to be adjusted. gitref:d15792780760[repository=src] +The effective group ID is now stored in the new `cr_gid` field of `struct cred` and has been removed as the first element of `cr_groups[]`, which now only contains the supplementary groups. +All downstream and out-of-tree modules using `cr_groups[0]` must be fixed to use `cr_gid` instead, and surrounding code that loops on `cr_groups[]` elements excluding `cr_groups[0]`, i.e., that intends to act on supplementary groups only, also needs to be adjusted as now supplementary groups start at `&cr_groups[0]` instead of `&cr_groups[1]`. +Code that needs to be portable to both 15.0 and earlier versions can use `cr_gid`, which existed also previously as a macro, and can test the truth value of `&cr_groups[0] != &cr_gid` to know how to browse the supplementary groups adequately. +gitref:be1f7435ef218b1df35[repository=src] +(Sponsored by the FreeBSD Foundation.) + [[drivers]] == Devices and Drivers