Page MenuHomeFreeBSD

cred: 'struct ucred': Rework comment on 'cr_gid'/cr_groups[]
ClosedPublic

Authored by olce on Aug 29 2025, 11:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 6, 12:52 AM
Unknown Object (File)
Sat, Sep 5, 11:06 PM
Unknown Object (File)
Sat, Sep 5, 6:52 PM
Unknown Object (File)
Sat, Sep 5, 3:28 PM
Unknown Object (File)
Thu, Sep 3, 7:10 PM
Unknown Object (File)
Thu, Sep 3, 4:05 PM
Unknown Object (File)
Tue, Sep 1, 8:17 PM
Unknown Object (File)
Tue, Sep 1, 4:56 PM
Subscribers

Details

Summary

Make it more straightforward for consumers. Also, recommend using
cr_sgroups[] for supplementary groups, as this can generally alleviate
index problems and will help us spot and change consumers if/when
'struct ucred' is evolved incompatibly (and cr_sgroups[] suppressed).

Sponsored by: The FreeBSD Foundation

Diff Detail

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