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
F154348981: D53771.diff
Tue, Apr 28, 12:36 AM
F154263030: D53771.id166511.diff
Mon, Apr 27, 11:36 AM
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 68670
Build 65553: arc lint + arc unit