Page MenuHomeFreeBSD

userboot: bump the interface to v6, add an accept_interpreter callback
AcceptedPublic

Authored by kevans on Mon, Aug 10, 8:54 PM.
Tags
None
Referenced Files
F167174213: D58771.id183834.diff
Wed, Aug 19, 4:10 PM
F167103940: D58771.id183834.diff
Wed, Aug 19, 3:04 AM
Unknown Object (File)
Tue, Aug 18, 8:35 PM
Unknown Object (File)
Tue, Aug 18, 8:23 PM
Unknown Object (File)
Tue, Aug 18, 3:40 PM
Unknown Object (File)
Tue, Aug 18, 9:55 AM
Unknown Object (File)
Sun, Aug 16, 8:24 PM
Unknown Object (File)
Sun, Aug 16, 4:30 PM

Details

Reviewers
manu
imp
jhb
Group Reviewers
bhyve
Summary

If an explicit loader wasn't requested, then bhyveload(8) maintains a
/boot handle that it can use for swapping to a different flavor. This
means that we expose all of the host /boot to the sandbox for the
duration of script execution.

Add a callback to ack that we're OK with the interpreter so that
bhyveload(8) can release the bootfd. This is worth doing because it's
prior to guest script execution, so we're still running a reasonably
untainted process.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 75505
Build 72388: arc lint + arc unit