MAC: mac_policy.h: Declare common MAC sysctl and jail parameters' nodesDo this only when the headers for these functionalities were includedprior to this one. Indeed, if they need to be included,
MAC: mac_policy.h: Declare common MAC sysctl and jail parameters' nodesDo this only when the headers for these functionalities were includedprior 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 includersalso include <security/mac/mac_policy.h>).Remove local such declarations from all policies' files.Reviewed by: jamieApproved by: markj (mentor)MFC after: 5 daysSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D46903
show more ...
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
mac_pimd: Support for privilege drop in pimdCreate new kernel module for privilege check in casethe user wants to run pimd daemon.Sponsored by: StormshieldObtained from: Semihalf