diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-09-07 14:41:53 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-09-07 14:41:53 +1000 |
commit | 2678833013e97f8b18f09779b7f70bcbf5eb2ab2 (patch) | |
tree | 522fb0d2437ac3665d6ecddb30cfe0020289be96 /auth2-kbdint.c | |
parent | 039bf2a81797b8f3af6058d34005a4896a363221 (diff) |
Handle ngroups>_SC_NGROUPS_MAX.
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@
Diffstat (limited to 'auth2-kbdint.c')
0 files changed, 0 insertions, 0 deletions