Page MenuHomeFreeBSD

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

Authored by kevans on Thu, Jul 31, 5:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 12, 1:53 PM
Unknown Object (File)
Mon, Aug 11, 11:31 PM
Unknown Object (File)
Sun, Aug 10, 5:18 AM
Unknown Object (File)
Sat, Aug 9, 7:25 PM
Unknown Object (File)
Fri, Aug 8, 5:33 PM
Unknown Object (File)
Tue, Aug 5, 10:06 PM
Unknown Object (File)
Tue, Aug 5, 8:43 PM
Unknown Object (File)
Tue, Aug 5, 8:33 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