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
F165336270: D52269.id.diff
Fri, Aug 7, 5:22 PM
F165268632: D52269.id161235.diff
Fri, Aug 7, 7:30 AM
Unknown Object (File)
Tue, Aug 4, 6:43 AM
Unknown Object (File)
Sun, Aug 2, 10:16 AM
Unknown Object (File)
Fri, Jul 31, 3:17 AM
Unknown Object (File)
Wed, Jul 22, 8:03 AM
Unknown Object (File)
Mon, Jul 20, 10:19 AM
Unknown Object (File)
Mon, Jul 20, 4:28 AM
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