Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use our own define instead of NGROUPS_MAX.
musl (as of version 1.2.2) defines NGROUPS_MAX to 32, but glibc and the kernel define it to 65536. Since musl might change the definition at some point, and the nss_initgroups interface allows the callee to realloc the buffer, we don't have to allocate the maximum value upfront, and can keep using 32 as a reasonable initial default. Closes: #20 [via git-merge-pr]
- Loading branch information