Page MenuHomeFreeBSD

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

Authored by olce on Sat, Nov 15, 3:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 18, 11:47 PM
Unknown Object (File)
Sun, Nov 16, 10:20 AM
Unknown Object (File)
Sun, Nov 16, 3:57 AM
Unknown Object (File)
Sat, Nov 15, 11:08 PM
Unknown Object (File)
Sat, Nov 15, 10:54 PM
Unknown Object (File)
Sat, Nov 15, 10:26 PM
Unknown Object (File)
Sat, Nov 15, 9:57 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