Page MenuHomeFreeBSD

vmm: Validate credentials when opening a vmmdev
ClosedPublic

Authored by markj on Aug 30 2024, 2:39 PM.
Tags
None
Referenced Files
F137277583: D46486.diff
Sat, Nov 22, 12:12 AM
Unknown Object (File)
Mon, Oct 27, 11:57 PM
Unknown Object (File)
Mon, Oct 27, 8:35 PM
Unknown Object (File)
Mon, Oct 27, 7:26 PM
Unknown Object (File)
Mon, Oct 27, 8:54 AM
Unknown Object (File)
Sun, Oct 26, 11:18 PM
Unknown Object (File)
Sat, Oct 25, 3:34 AM
Unknown Object (File)
Sat, Oct 25, 12:30 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