From nobody Tue Sep 23 12:03:32 2025 X-Original-To: dev-commits-src-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 4cWJXh4Db5z68Y49; Tue, 23 Sep 2025 12:03:32 +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 4cWJXh1xhFz3DQS; Tue, 23 Sep 2025 12:03:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758629012; 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=mGk3oM4OECgWxDicijiwdvKWXsLobtFJCd5iMbrSBuI=; b=Chn075VmHWJnhRG/+SImEA4JjIBSkcQri5qmsOc2FPttLpfHpDtJNwMNasMFxMYcxCXLZM 2dUfIDkVedfwKKuqYvmbT5jsMB6GWnahrHYATvB0FlFI7XClHPlUA7L28r+EiQzI5IdoQQ YOqiYGgMCnW7MDxbomAdcahhk+dC1Ev/yjgAtBzYWe0mLnqVCUEDRccW1ENhGlUJVBu7+f VnOyXlIFutMgPIiQ3Rs47ivKWGUEOfLe/9XURErjifHSUYSY5lOcEmdbl8cZe2e/+DAo0z 1xu9U1A+BkEfxxmcwnFnT7WtYE5EQOTPiWfYhc2xGrAUCsaKryufOh4ObANprw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758629012; 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=mGk3oM4OECgWxDicijiwdvKWXsLobtFJCd5iMbrSBuI=; b=UOkeVpmTUz3MYJvEt4xaguOY5VjKd/7LcqJbMAGVKYQXlfqXe/hPmHwK9xOnSrk9Pk1VKu mLsHr/G901RVauuVt7PMzfCsiUGSUaP7Jbztj1dCikPvlY4vGvkxUO2NLE1DFrJYdOsf2d QhqXF4+J4p1oWcuITHVTYpaBWOCpETK+bkWFlsiH+I87mzh2Zx5Og/xPlwbnKliz0TJbqw vpZc3uQD8bzFVjPMs8wHqKu9KXHHkTDip3OMROPOXtuvyyyw2GTCqKZzr4fHuxkeYRM4Od Sdk8TkH68LVzYjdYYZ1M5BUazXZZXCGwirCwysjXFjUMkKQK8YkPWH3Ski/1/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758629012; a=rsa-sha256; cv=none; b=dLBA/1DsQFCoyLskcaFfJkEyolkWJY5rRdp1UdEcUdAGx1FJaG2mH/pelJeLakr/emuLrV 7GlAWul3MXdTx24IsQ7tXvbecy7TuJpp+VNR0KHgdqSKYngvakoBxcrg1k6BdPOCUYovIy kwxLyrgJAkfacosz40jX8ualc3UMkTQbeKLI+QIquwRpLAsGkgJcZOsSjuRHEXCbfXEkGh RVnIkqE0WnYZXC85PsUcZE73ny2rM903kSJh7dKLMxwTGmWGqKH1rlV2AE9SUC6m4jcjzO e7NhrFS/z91ZqIKf7TNqE+73lyA9wzmesPlh8V7GlaGbBvQ7EaA3Wa4PPGrlEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cWJXh1Xt6zlXc; Tue, 23 Sep 2025 12:03:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58NC3WYr008402; Tue, 23 Sep 2025 12:03:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58NC3Wf6008399; Tue, 23 Sep 2025 12:03:32 GMT (envelope-from git) Date: Tue, 23 Sep 2025 12:03:32 GMT Message-Id: <202509231203.58NC3Wf6008399@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: f9b269731c13 - stable/15 - cred: Remove obsolete comment after getgroups() not returning the eGID List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-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: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: f9b269731c13a1aaa5233aeb03f0db2cf5ba346c Auto-Submitted: auto-generated The branch stable/15 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=f9b269731c13a1aaa5233aeb03f0db2cf5ba346c commit f9b269731c13a1aaa5233aeb03f0db2cf5ba346c Author: Olivier Certner AuthorDate: 2025-08-29 16:35:56 +0000 Commit: Olivier Certner CommitDate: 2025-09-23 12:02:42 +0000 cred: Remove obsolete comment after getgroups() not returning the eGID No functional change. Fixes: 9da2fe96ff2e ("kern: fix setgroups(2) and getgroups(2) to match other platforms") MFC after: 5 days MFC to: stable/15 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52267 (cherry picked from commit 30193fce433cdad465904b6efe3814bf234ea74e) --- sys/kern/kern_prot.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index 3333a168a754..591994e92e7d 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -291,11 +291,6 @@ sys_getgid(struct thread *td, struct getgid_args *uap) return (0); } -/* - * Get effective group ID. The "egid" is groups[0], and could be obtained - * via getgroups. This syscall exists because it is somewhat painful to do - * correctly in a library function. - */ #ifndef _SYS_SYSPROTO_H_ struct getegid_args { int dummy;