bin/78087: groups(1) program inconsistency

brooks at FreeBSD.org brooks at FreeBSD.org
Fri Oct 30 18:15:28 UTC 2009


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


More information about the freebsd-bugs mailing list