Page MenuHomeFreeBSD

vmm: Validate credentials when opening a vmmdev
ClosedPublic

Authored by markj on Aug 30 2024, 2:39 PM.
Tags
None
Referenced Files
F109867612: D46486.diff
Mon, Feb 10, 1:20 PM
Unknown Object (File)
Sun, Feb 9, 6:42 AM
Unknown Object (File)
Wed, Jan 29, 6:57 PM
Unknown Object (File)
Sat, Jan 18, 12:53 AM
Unknown Object (File)
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
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