From nobody Thu Sep 18 08:52:07 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 4cS8X854ZBz681fy; Thu, 18 Sep 2025 08:52:08 +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 4cS8X74r6Nz3jLQ; Thu, 18 Sep 2025 08:52:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758185527; 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=kQBVYg3GR8Fxe6+pLxR2KQ57/93jZJ5dRiKvw4WXjOw=; b=Jb/YyU6UxGouX2aY4p51uDeul2bM1TNMihonU5mfrIPdKd5x7LCdJMdXXribyg8vCPOOC3 ARruQvbixDk2oapCd5unAA3NBm8xPt13lRjXk3Ee4cmpAlWZfO4EeeU0VLO9oIVKkpnHWj izUbWW387y12O2gukxYe37/oRqWasqLSvWQSwhPVBVkzn38fB85tM4XkWjBZPNFLaS+qr6 5tIgf1R3Q+7fNsEQ/glyEal33vSBkTPj/l9MgxpnmTpHAamUoItog3/nbC98/knqDuw63p 1QPWpMHiF3I3F1NYzdkRNR6qhi+9XWWCQpWzmLi/LetjAuGUl8r9kGm4DmxQOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758185527; 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=kQBVYg3GR8Fxe6+pLxR2KQ57/93jZJ5dRiKvw4WXjOw=; b=soEce6qSgI+qJss+JGLi8v6sBveuhE3MBfod/bTeTkC7LpAb/qMLeFnnXtT/2wvJFRqbDs taN8oy+xkfQQHxg+KcK6MttbM7AOXznyCF6gEBaodYfM+2RpOFK1c4FIfQJWC5Yfij7PG7 +fupzGhZCjypThSjoK3Mc1PG92TB7EiCA5Opqq8CykhVvpK/8vo5zLWKj/na0vx/qoEX3g THgRp+7FQaY84UuDtptrgBp0TuSnuSkvCHMDdtIpMsyUAiQvkhwJwzs/HV09XV3DLiH7J5 KKpvMX7QB6kZpMIOBmUAzb3YjjvAvxvX2fimEAw4KFfLIZY0Y40slXo1I144+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758185527; a=rsa-sha256; cv=none; b=icgZABbOBgC1b+IsZVWD8TWp+601hS1iCu+lVAKEsgbOB1ayP/9jrj8lVSCpAh2IGmDifx 8fs+ELCF2RsOYnKit7YbJ0E2jOYl87R6amvvEGMP1kWtNTOi/eabwDVSd+OWNmm0HPD8Lp MSITgltceUvDaovG7xnsCzCiz3CTHbOQJaDZDUDIxsB9NgUqf+MCcf+y2rUfsMGX07mzVm c8jGTw3oJw+aFq+JYippkN8oPXtBTc69oXRt8fWwFkFVRU4daZr2wHrAGjgIOafj23oCCK umHyc4jKkjCaUa973Y4qm8wIuaMEysWd1KKUd3266qhezTsOoenD3rd2L/LiMg== 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 4cS8X74PtCz14L8; Thu, 18 Sep 2025 08:52:07 +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 58I8q7cc018961; Thu, 18 Sep 2025 08:52:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58I8q7MU018958; Thu, 18 Sep 2025 08:52:07 GMT (envelope-from git) Date: Thu, 18 Sep 2025 08:52:07 GMT Message-Id: <202509180852.58I8q7MU018958@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: b5bd97460110 - stable/15 - 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/15 X-Git-Reftype: branch X-Git-Commit: b5bd97460110f1536228c9d2e8f25ebef0972a30 Auto-Submitted: auto-generated The branch stable/15 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=b5bd97460110f1536228c9d2e8f25ebef0972a30 commit b5bd97460110f1536228c9d2e8f25ebef0972a30 Author: Olivier Certner AuthorDate: 2025-09-12 12:29:59 +0000 Commit: Olivier Certner CommitDate: 2025-09-18 08:50:31 +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 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c index 5bd06bc5121f..cb23b9b2316d 100644 --- a/lib/libc/gen/getgrouplist.c +++ b/lib/libc/gen/getgrouplist.c @@ -29,14 +29,8 @@ * SUCH DAMAGE. */ -/* - * get credential - */ #include -#include -#include -#include #include extern int __getgroupmembership(const char *, gid_t, gid_t *, int, int *); @@ -46,4 +40,3 @@ __ssp_real(getgrouplist)(const char *uname, gid_t agroup, gid_t *groups, int *gr { return __getgroupmembership(uname, agroup, groups, *grpcnt, grpcnt); } -