Lift this unnecessary limitation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 59732 Build 56618: arc lint + arc unit
Event Timeline
Comment Actions
Presumably this can be removed because getgrouplist will set ngroups at most NGROUPS_MAX, returning -1 if it would be too large (and ngroups was > NGROUPS_MAX on input). IMO we should replace this check with an assertion in that case as documentation.
usr.sbin/mountd/mountd.c | ||
---|---|---|
3653 | Taking this out breaks the code. Note that ngroups is If you are going to remove the code that takes out the ngroups = NGROUPS_MAX and gid_t groups[NGROUPS_MAX]; However, this should only be done if the other patch |