• Darren Tucker's avatar
    Handle ngroups>_SC_NGROUPS_MAX. · 26788330
    Darren Tucker authored
    Based on github pull request #99 from Darren Maffat at Oracle: Solaris'
    getgrouplist considers _SC_NGROUPS_MAX more of a guideline and can return
    a larger number of groups.  In this case, retry getgrouplist with a
    larger array and defer allocating groups_byname.  ok djm@
    26788330