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)
Tue, Apr 28, 6:32 AM
Unknown Object (File)
Apr 21 2026, 1:05 AM
Unknown Object (File)
Apr 20 2026, 10:06 PM
Unknown Object (File)
Apr 18 2026, 9:31 PM
Unknown Object (File)
Apr 9 2026, 3:28 PM
Unknown Object (File)
Mar 5 2026, 4:29 PM
Unknown Object (File)
Mar 5 2026, 4:29 PM
Unknown Object (File)
Mar 3 2026, 10:58 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