Page MenuHomeFreeBSD

vmm: Validate credentials when opening a vmmdev
ClosedPublic

Authored by markj on Aug 30 2024, 2:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 9 2025, 8:03 PM
Unknown Object (File)
Sep 9 2025, 7:57 PM
Unknown Object (File)
Sep 9 2025, 6:37 AM
Unknown Object (File)
Sep 2 2025, 3:26 PM
Unknown Object (File)
Aug 15 2025, 12:59 AM
Unknown Object (File)
Aug 9 2025, 10:12 AM
Unknown Object (File)
Aug 8 2025, 9:12 AM
Unknown Object (File)
Jun 26 2025, 10:56 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 Not Applicable
Unit
Tests Not Applicable