From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 30 18:15:27 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E82651065676; Fri, 30 Oct 2009 18:15:27 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BF67A8FC15; Fri, 30 Oct 2009 18:15:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9UIFR8j050520; Fri, 30 Oct 2009 18:15:27 GMT (envelope-from brooks@freefall.freebsd.org) Received: (from brooks@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9UIFRt5050516; Fri, 30 Oct 2009 18:15:27 GMT (envelope-from brooks) Date: Fri, 30 Oct 2009 18:15:27 GMT Message-Id: <200910301815.n9UIFRt5050516@freefall.freebsd.org> To: klyons@corserv.com, brooks@FreeBSD.org, freebsd-bugs@FreeBSD.org From: brooks@FreeBSD.org Cc: Subject: Re: bin/78087: groups(1) program inconsistency X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2009 18:15:28 -0000 Synopsis: groups(1) program inconsistency State-Changed-From-To: open->closed State-Changed-By: brooks State-Changed-When: Fri Oct 30 18:06:13 UTC 2009 State-Changed-Why: In 8.0 we have resolve the off-by-1 bug were we supported NGROUPS_MAX total groups instead of NGROUPS_MAX+1 groups along with raising NGROUPS_MAX to 1023. I think that getgrouplist is probably correct in duplicating the egid, at least not doing so would probably violate POLA for sgid programs that's probably a bad thing to do. As such I am closing this PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=78087