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
Unknown Object (File)
Mon, Mar 10, 6:06 AM
Unknown Object (File)
Mon, Mar 3, 6:47 PM
Unknown Object (File)
Feb 28 2025, 2:03 AM
Unknown Object (File)
Feb 27 2025, 7:17 AM
Unknown Object (File)
Feb 10 2025, 9:11 AM
Unknown Object (File)
Feb 9 2025, 5:27 PM
Unknown Object (File)
Feb 9 2025, 4:21 PM
Unknown Object (File)
Feb 7 2025, 7:45 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 Not Applicable
Unit
Tests Not Applicable

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