Page MenuHomeFreeBSD

Add verifying loader for mac_veriexec
ClosedPublic

Authored by sjg on Aug 2 2018, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 6:33 AM
Unknown Object (File)
Tue, Dec 3, 7:38 PM
Unknown Object (File)
Oct 20 2024, 11:03 PM
Unknown Object (File)
Oct 20 2024, 3:16 PM
Unknown Object (File)
Oct 7 2024, 2:49 PM
Unknown Object (File)
Oct 5 2024, 2:04 PM
Unknown Object (File)
Oct 5 2024, 8:32 AM
Unknown Object (File)
Oct 3 2024, 7:41 AM
Subscribers

Details

Summary

If manifest signature can be verified, its content
is fed to mac_veriexec.

Options for querying and setting state as well
as testing files for verification status.

Right now this tool supports a couple of mac_veriexec features
which are not yet in FreeBSD.
It also allows for version skew between kernel and
userland.

Some of the resulting ifdef's can hopefully be removed before
commit.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This depends on D16335
which depends on D16334
and D16337

Adding xrefs to related reviews

D16337 for build options etc
D16335 for libve
D16334 for libbearssl

Renamed libve to libsecureboot

sbin/veriexec/manifest_parser.y
32 ↗(On Diff #52863)

Since libve was renamed to libsecureboot this should be libsecureboot.h

sbin/veriexec/veriexec.c
34 ↗(On Diff #52863)

Since libve was renamed to libsecureboot this should be libsecureboot.h

This revision was not accepted when it landed; it landed in state Needs Review.Feb 26 2019, 6:17 AM
This revision was automatically updated to reflect the committed changes.