vmm tests: Check for /dev/vmmctl to decide if vmm is initializedIf vmm.ko is loaded but fails initialization, it doesn't getautomatically unloaded, so the tests will not skip themselves and willi
vmm tests: Check for /dev/vmmctl to decide if vmm is initializedIf vmm.ko is loaded but fails initialization, it doesn't getautomatically unloaded, so the tests will not skip themselves and willinstead fail outright.MFC after: 1 week
show more ...
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
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, markjMFC after: 2 weeksSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D31156