Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107724751
D46535.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
488 B
Referenced Files
None
Subscribers
None
D46535.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D46535: vmm: Remove an incorrect credential check in vmmdev_open()
Attached
Detach File
Event Timeline
Log In to Comment