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, Jan 10, 3:54 PM
Unknown Object (File)
Sat, Jan 10, 4:36 AM
Unknown Object (File)
Dec 8 2025, 11:59 PM
Unknown Object (File)
Nov 30 2025, 12:06 PM
Unknown Object (File)
Nov 29 2025, 5:12 PM
Unknown Object (File)
Nov 28 2025, 8:56 AM
Unknown Object (File)
Nov 27 2025, 9:27 PM
Unknown Object (File)
Nov 27 2025, 2:56 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