From nobody Thu Sep 18 10:13:43 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 4cSBLJ4SGXz687WV; Thu, 18 Sep 2025 10:13: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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cSBLH548mz47Ch; Thu, 18 Sep 2025 10:13:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758190423; 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=xh28t6WKCpsuYdsToJlVEp2vmfEnV62FxA3T0/V6KFU=; b=YPxFBnhLPVtWWQ+SBkpcR7Ujm48hCAkrGAFb/T8Jbwa49CxJH3+f2IKjcLA+e+Paiyobeh 0WuMY4qPxx07BbDeMg4YxWeRroLqUq+KI3zj2D/FJvBYekLpBS4fg8HJyO1nKDLGaHdyIe sXCh/8iy9lR3RoN8suwNoHnrQoTXiUxkADGruVVQrHKRCsKB9pVXP/7tge/WOFEQj9aIo/ Xli/S3IXV8lAQh6Neb1BR6d+4EraYjrXPGbvAuOZutZbCdbL/ap3u/wQn2IMKqqb+JsLNE Kb1u+2NVUSwCrYsGHyyJ0qRQWtWGCxwqekqk4f4AvxG8oAWSyK59JOpFTR353g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758190423; 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=xh28t6WKCpsuYdsToJlVEp2vmfEnV62FxA3T0/V6KFU=; b=x4jmsfWNyluFRsvnJYU7+vO30qPnO9++6zfjaVCo6anwD4xeBsqksNGuLRDp8Q2OiQ8i6p nZAuru3zq5TKvZZDEIONVJQMXmM0SNlw6YULOpkgabC/WhRuowq36LVeRxZMPy/W8PhMtk YQy96Aie+v9utJN8OGMT6fJvUbzd3N07FHqpR+K2130kHjU2MpZ1JKrVE7Zl05XKhgBvU4 r0cQUROYR+PU+dC/g8Zc+u75OYXoB1ajQhoPmLL0OcLIVQOiyn9VsAE0eLzb0pXU35ZpSI RQstcGzUmJEmAfzmtEgb4aKjKpsLPFH54tkMlykfeTH2vTgoewJSx+AjixnmKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758190423; a=rsa-sha256; cv=none; b=IVELJ0tbPZQp7NjOH5y7ZmTqXTlOhOZAmQD0nGFda3TShozav/d4Qfq5jgRLcQOG6hRLwX 8nk6x5lhm1eHC6eX7KpYKtDTZBpYO1P+HVym8km1KFdFXAXDU1ao5WvTXx7Zczt4Lb3OvA VvugGnewqg0YuQgA6NqQokRKF4BtUh3MLIfVxJutZ/st/MjY7eWczXeu/sEsGM4zuDq5D1 KZYiTZqO/KgRw0uNmB5aNiRJYrFiIMx17Lq+wya43oy+nGAWKAsM+0STBaDrJ/nEKoUTbE KOxEHaYoUP7rd7TRzEZcVgpDhITfm6SSqSAQYKytajGMXcNWuQoq+VH5/b2+/Q== 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 4cSBLH47HQz16dB; Thu, 18 Sep 2025 10:13:43 +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 58IADhXB072708; Thu, 18 Sep 2025 10:13:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58IADhOb072705; Thu, 18 Sep 2025 10:13:43 GMT (envelope-from git) Date: Thu, 18 Sep 2025 10:13:43 GMT Message-Id: <202509181013.58IADhOb072705@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: 7220f36f6cf9 - stable/14 - getgrouplist(3): Remove superfluous headers, bogus comment and whitespace 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/14 X-Git-Reftype: branch X-Git-Commit: 7220f36f6cf9d72bef0f274d4134fad0d86f6052 Auto-Submitted: auto-generated The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=7220f36f6cf9d72bef0f274d4134fad0d86f6052 commit 7220f36f6cf9d72bef0f274d4134fad0d86f6052 Author: Olivier Certner AuthorDate: 2025-09-12 12:29:59 +0000 Commit: Olivier Certner CommitDate: 2025-09-18 10:13:10 +0000 getgrouplist(3): Remove superfluous headers, bogus comment and whitespace No functional change (intended). Fixes: a59d6a872459 ("Implementing 'fallback' nsswitch source.") MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit d3f8ed6066fdea329ed695925fc726e84d50abc3) --- lib/libc/gen/getgrouplist.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c index 6dddea5c3847..90626cef3c83 100644 --- a/lib/libc/gen/getgrouplist.c +++ b/lib/libc/gen/getgrouplist.c @@ -31,15 +31,8 @@ #include __SCCSID("@(#)getgrouplist.c 8.2 (Berkeley) 12/8/94"); -/* - * get credential - */ #include -#include -#include -#include - extern int __getgroupmembership(const char *, gid_t, gid_t *, int, int *); int @@ -47,4 +40,3 @@ getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt) { return __getgroupmembership(uname, agroup, groups, *grpcnt, grpcnt); } -