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)
Mon, Feb 24, 9:24 AM
Unknown Object (File)
Feb 10 2025, 1:20 PM
Unknown Object (File)
Feb 9 2025, 6:42 AM
Unknown Object (File)
Jan 29 2025, 6:57 PM
Unknown Object (File)
Jan 18 2025, 12:53 AM
Unknown Object (File)
Jan 17 2025, 10:46 PM
Unknown Object (File)
Dec 3 2024, 2:09 PM
Unknown Object (File)
Nov 19 2024, 11:03 AM
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