vmm: Add credential to cdev objectAdd a credential to the cdev object in sysctl_vmm_create(), then checkthat we have the correct credentials in sysctl_vmm_destroy(). Thisprevents a process in one
vmm: Add credential to cdev objectAdd a credential to the cdev object in sysctl_vmm_create(), then checkthat we have the correct credentials in sysctl_vmm_destroy(). Thisprevents a process in one jail from opening or destroying the /dev/vmmfile corresponding to a VM in a sibling jail.Add regression tests.Reviewed by: jhb, markjSponsored by: The FreeBSD Foundation(cherry picked from commit a85404906bc8f402318524b4ccd196712fc09fbd)
show more ...