Page MenuHomeFreeBSD

Fix mac_veriexec version mismatch
ClosedPublic

Authored by kd on Jul 22 2021, 9:36 AM.
Tags
None
Referenced Files
F136025014: D31268.id.diff
Sat, Nov 15, 4:50 AM
F136025009: D31268.id92618.diff
Sat, Nov 15, 4:50 AM
F136025005: D31268.id92919.diff
Sat, Nov 15, 4:50 AM
F136014016: D31268.diff
Sat, Nov 15, 2:24 AM
Unknown Object (File)
Tue, Nov 11, 9:14 AM
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
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.