Page MenuHomeFreeBSD

Fix mac_veriexec version mismatch
ClosedPublic

Authored by kd on Jul 22 2021, 9:36 AM.

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.