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)
Fri, Jan 31, 6:51 AM
Unknown Object (File)
Fri, Jan 24, 5:42 PM
Unknown Object (File)
Sat, Jan 18, 5:14 AM
Unknown Object (File)
Thu, Jan 16, 10:22 PM
Unknown Object (File)
Sun, Jan 12, 1:37 AM
Unknown Object (File)
Jan 4 2025, 7:54 AM
Unknown Object (File)
Dec 16 2024, 4:33 PM
Unknown Object (File)
Dec 11 2024, 7:46 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