Page MenuHomeFreeBSD

kern: add a new ucred flag for groups having been set
ClosedPublic

Authored by kevans on Jul 31 2025, 5:00 AM.
Tags
None
Referenced Files
F150958322: D51646.diff
Sun, Apr 5, 4:55 AM
Unknown Object (File)
Sat, Mar 14, 11:47 AM
Unknown Object (File)
Feb 18 2026, 10:36 AM
Unknown Object (File)
Feb 16 2026, 1:05 PM
Unknown Object (File)
Feb 9 2026, 11:44 PM
Unknown Object (File)
Feb 8 2026, 10:37 AM
Unknown Object (File)
Feb 7 2026, 10:20 PM
Unknown Object (File)
Jan 31 2026, 1:43 PM
Subscribers

Details

Summary

Now that we can legitimately have ngroups == 0 as a result of calling
crsetgroups(), set a flag when we've set groups for the sake of sanity
checking usage of crextend(). While it's true this flag will only
really be used under INVARIANTS, it's only the second flag bit that
we're adding in 16 years.

Diff Detail

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