Page MenuHomeFreeBSD

Fix mac_veriexec version mismatch
ClosedPublic

Authored by kd on Jul 22 2021, 9:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 17 2024, 10:04 PM
Unknown Object (File)
Oct 14 2024, 6:04 PM
Unknown Object (File)
Oct 6 2024, 9:27 PM
Unknown Object (File)
Oct 1 2024, 10:07 PM
Unknown Object (File)
Sep 30 2024, 4:51 AM
Unknown Object (File)
Sep 27 2024, 8:19 AM
Unknown Object (File)
Sep 22 2024, 7:24 PM
Unknown Object (File)
Sep 21 2024, 4:49 PM
Subscribers

Details

Summary

mac_veriexec sets its version to 1, but the mac_veriexec_shaX modules which depend on it expect MAC_VERIEXEC_VERSION = 2.
Be consistent and use MAC_VERIEXEC_VERSION everywhere.
This unbreaks loading of mac_veriexec modules at boot time.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kd requested review of this revision.Jul 22 2021, 9:36 AM

FWIW we don't build this as a loadable module - it is baked into our kernel

This revision is now accepted and ready to land.Jul 23 2021, 12:14 AM
This revision was automatically updated to reflect the committed changes.