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)
Wed, Oct 7, 6:24 AM
Unknown Object (File)
Fri, Oct 2, 5:59 PM
Unknown Object (File)
Tue, Sep 29, 8:24 AM
Unknown Object (File)
Fri, Sep 25, 11:24 PM
Unknown Object (File)
Wed, Sep 23, 11:49 PM
Unknown Object (File)
Wed, Sep 23, 11:22 PM
Unknown Object (File)
Wed, Sep 23, 11:12 PM
Unknown Object (File)
Sep 6 2026, 6:27 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