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
F162632913: D53771.diff
Wed, Jul 15, 6:55 AM
F162632912: D53771.diff
Wed, Jul 15, 6:55 AM
F162569890: D53771.id166511.diff
Tue, Jul 14, 3:49 PM
Unknown Object (File)
Fri, Jun 26, 1:00 PM
Unknown Object (File)
Thu, Jun 25, 9:46 PM
Unknown Object (File)
Apr 28 2026, 6:08 AM
Unknown Object (File)
Apr 28 2026, 12:36 AM
Unknown Object (File)
Apr 27 2026, 11:36 AM
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