aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/vmm
Commit message (Collapse)AuthorAgeFilesLines
* tests/vmm_cred_jail: use require.kmods property instead of ad-hoc checksSiva Mahadevan2025-09-051-6/+2
| | | | | | | Signed-off-by: Siva Mahadevan <me@svmhdvn.name> Sponsored by: The FreeBSD Foundation Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1780
* vmm tests: Check for /dev/vmmctl to decide if vmm is initializedMark Johnston2025-02-081-2/+2
| | | | | | | | If vmm.ko is loaded but fails initialization, it doesn't get automatically unloaded, so the tests will not skip themselves and will instead fail outright. MFC after: 1 week
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-122-2/+2
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* vmm: Add credential to cdev objectCyril Zhang2021-08-183-0/+138
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 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D31156