Rather than performing privilege checks after a specific VM's device
file is opened, do it once at the time the device file is opened. This
means that one can continue to access a VM via its device fd after
attaching to a jail which does not have vmm enabled, but this seems like
a reasonable semantic to have anyway.
Details
Details
- Reviewers
jhb - Group Reviewers
bhyve - Commits
- rG4008758105a6: vmm: Validate credentials when opening a vmmdev
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 59243 Build 56130: arc lint + arc unit