Page MenuHomeFreeBSD

Fix mac_veriexec version mismatch
ClosedPublic

Authored by kd on Jul 22 2021, 9:36 AM.
Tags
None
Referenced Files
F108529149: D31268.diff
Sat, Jan 25, 10:50 PM
Unknown Object (File)
Sat, Jan 25, 8:00 PM
Unknown Object (File)
Sat, Jan 25, 7:42 PM
Unknown Object (File)
Fri, Jan 24, 5:18 PM
Unknown Object (File)
Dec 4 2024, 8:08 PM
Unknown Object (File)
Dec 4 2024, 8:08 PM
Unknown Object (File)
Dec 4 2024, 8:08 PM
Unknown Object (File)
Dec 4 2024, 7:47 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.