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
Unknown Object (File)
Sat, Oct 11, 11:06 PM
Unknown Object (File)
Sat, Oct 11, 11:06 PM
Unknown Object (File)
Sat, Oct 11, 11:06 PM
Unknown Object (File)
Sat, Oct 11, 1:45 PM
Unknown Object (File)
Mon, Oct 6, 5:01 AM
Unknown Object (File)
Sep 13 2025, 2:44 AM
Unknown Object (File)
Sep 4 2025, 12:52 PM
Unknown Object (File)
Aug 19 2025, 2:19 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