Page MenuHomeFreeBSD

vmm: Validate credentials when opening a vmmdev
ClosedPublic

Authored by markj on Aug 30 2024, 2:39 PM.
Tags
None
Referenced Files
F107746998: D46486.diff
Fri, Jan 17, 10:46 PM
Unknown Object (File)
Dec 3 2024, 2:09 PM
Unknown Object (File)
Nov 19 2024, 11:03 AM
Unknown Object (File)
Nov 19 2024, 9:32 AM
Unknown Object (File)
Nov 17 2024, 4:40 AM
Unknown Object (File)
Nov 15 2024, 2:04 PM
Unknown Object (File)
Nov 11 2024, 9:39 AM
Unknown Object (File)
Nov 9 2024, 11:32 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59243
Build 56130: arc lint + arc unit