Page MenuHomeFreeBSD

mdo(1): Avoid calling getgroups() in some unnecessary cases
ClosedPublic

Authored by olce on Nov 15 2025, 3:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 25, 5:56 AM
Unknown Object (File)
Fri, Apr 24, 11:27 PM
Unknown Object (File)
Sat, Apr 18, 2:18 PM
Unknown Object (File)
Sat, Apr 18, 2:18 PM
Unknown Object (File)
Sat, Apr 18, 12:13 PM
Unknown Object (File)
Sat, Apr 18, 12:13 PM
Unknown Object (File)
Fri, Apr 17, 8:33 PM
Unknown Object (File)
Thu, Apr 16, 4:26 PM
Subscribers

Details

Summary

If the basis for supplementary groups are the current ones, we do not
need to fetch them when they are to be replaced entirely (which we
already have been doing), as in the '!start_from_current_groups' case,
but specifically also when they are not going to be touched at all.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable