| #
2d4c599e |
| 18-Aug-2021 |
Cyril Zhang <[email protected]> |
vmm: Add credential to cdev object
Add a credential to the cdev object in sysctl_vmm_create(), then check that we have the correct credentials in sysctl_vmm_destroy(). This prevents a process in one
vmm: Add credential to cdev object
Add a credential to the cdev object in sysctl_vmm_create(), then check that we have the correct credentials in sysctl_vmm_destroy(). This prevents a process in one jail from opening or destroying the /dev/vmm file corresponding to a VM in a sibling jail.
Add regression tests.
Reviewed by: jhb, markj Sponsored by: The FreeBSD Foundation
(cherry picked from commit a85404906bc8f402318524b4ccd196712fc09fbd)
show more ...
|