Page MenuHomeFreeBSD

MAC: mac_policy.h: Declare common MAC sysctl and jail parameters' nodes
ClosedPublic

Authored by olce on Oct 4 2024, 7:57 AM.
Tags
None
Referenced Files
F161396502: D46903.id.diff
Fri, Jul 3, 10:19 AM
Unknown Object (File)
Thu, Jul 2, 8:21 AM
Unknown Object (File)
Thu, Jul 2, 8:14 AM
Unknown Object (File)
Thu, Jun 18, 8:19 PM
Unknown Object (File)
May 12 2026, 3:07 PM
Unknown Object (File)
May 12 2026, 2:10 PM
Unknown Object (File)
May 11 2026, 9:52 PM
Unknown Object (File)
Apr 27 2026, 5:03 PM
Subscribers

Details

Summary

Do this only when the headers for these functionalities were included
prior to this one. Indeed, if they need to be included, style(9)
mandates they should have been so before this one.

Remove the common MAC sysctl declaration from
<security/mac/mac_internal.h>, as it is now redundant (all its includers
also include <security/mac/mac_policy.h>).

Remove local such declarations from all policies' files.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59714
Build 56600: arc lint + arc unit

Event Timeline

Owners added a reviewer: Restricted Owners Package.Oct 4 2024, 7:57 AM
olce requested review of this revision.Oct 4 2024, 7:57 AM
This revision is now accepted and ready to land.Oct 16 2024, 2:57 AM