mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
A future change may split cr_gid out of cr_groups[0] so that there's a cleaner separation between the supplemental groups and the effective group. Do the mechanical conversion where we can, and drop some comments where we need further work because some assumptions about cr_gid == cr_groups[0] have been made. This should not be a functional change, but downstreams and other out-of-tree code are advised to investigate their usage of cr_groups sooner rather than later, as a future change will render assumptions about these two being equivalent harmful. Reviewed by: asomers, kib, olce Differential Revision: https://reviews.freebsd.org/D51153 (cherry picked from commit 46c07316f90628a82dd461376ccff64a81254325) This was MFCed to ease application of further commits. NOTE: Downstreams and out-of-tree code targeting stable/14 need not do the switch, as splitting 'cr_gid' out of cr_groups[], as we did in stable/15 (and is in 15.0), is not on the agenda for stable/14. Comments that were added temporarily for stable/15, alluding to the future split, have been removed. |
||
|---|---|---|
| .. | ||
| audit | ||
| mac | ||
| mac_biba | ||
| mac_bsdextended | ||
| mac_ddb | ||
| mac_do | ||
| mac_ifoff | ||
| mac_ipacl | ||
| mac_lomac | ||
| mac_mls | ||
| mac_none | ||
| mac_ntpd | ||
| mac_partition | ||
| mac_pimd | ||
| mac_portacl | ||
| mac_priority | ||
| mac_seeotheruids | ||
| mac_stub | ||
| mac_test | ||
| mac_veriexec | ||
| mac_veriexec_parser | ||