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)
Thu, Nov 6, 6:19 PM
Unknown Object (File)
Wed, Oct 29, 10:13 PM
Unknown Object (File)
Mon, Oct 27, 9:12 PM
Unknown Object (File)
Mon, Oct 27, 8:42 PM
Unknown Object (File)
Mon, Oct 27, 8:42 PM
Unknown Object (File)
Sun, Oct 26, 5:01 AM
Unknown Object (File)
Thu, Oct 23, 2:20 AM
Unknown Object (File)
Tue, Oct 21, 9:22 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.