Page MenuHomeFreeBSD

mountd(8): parsecred(): Groups limit: NGROUPS_MAX => NGROUPS_MAX + 1
Needs ReviewPublic

Authored by olce on Fri, Oct 4, 8:10 AM.

Details

Reviewers
rmacklem
Summary

Lift this unnecessary limitation.

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

olce requested review of this revision.Fri, Oct 4, 8:10 AM

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.