Page MenuHomeFreeBSD

D46535.diff
No OneTemporary

D46535.diff

diff --git a/sys/dev/vmm/vmm_dev.c b/sys/dev/vmm/vmm_dev.c
--- a/sys/dev/vmm/vmm_dev.c
+++ b/sys/dev/vmm/vmm_dev.c
@@ -331,12 +331,6 @@
sc = vmmdev_lookup2(dev);
KASSERT(sc != NULL, ("%s: device not found", __func__));
- /*
- * A user can only access VMs that they themselves have created.
- */
- if (td->td_ucred != sc->ucred)
- return (EPERM);
-
/*
* A jail without vmm access shouldn't be able to access vmm device
* files at all, but check here just to be thorough.

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 7:43 PM (20 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15887145
Default Alt Text
D46535.diff (488 B)

Event Timeline