mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 18:54:02 -04:00
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
|
||
|---|---|---|
| .. | ||
| gss | ||
| mtree | ||
| root | ||
| sendmail | ||
| group | ||
| Makefile | ||
| Makefile.depend | ||
| master.passwd | ||
| shells | ||