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
F132002561: D46903.diff
Sun, Oct 12, 8:54 PM
Unknown Object (File)
Thu, Oct 9, 3:12 AM
Unknown Object (File)
Wed, Sep 17, 5:30 PM
Unknown Object (File)
Sat, Sep 13, 6:32 AM
Unknown Object (File)
Sep 11 2025, 5:17 PM
Unknown Object (File)
Aug 23 2025, 4:05 AM
Unknown Object (File)
Aug 14 2025, 11:18 PM
Unknown Object (File)
Aug 14 2025, 10:50 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