vmd(8): teach vmm process how to exec.
authordv <dv@openbsd.org>
Sun, 23 Apr 2023 12:11:37 +0000 (12:11 +0000)
committerdv <dv@openbsd.org>
Sun, 23 Apr 2023 12:11:37 +0000 (12:11 +0000)
commit24386e31c854f991d6fdd6ec96c78647f310c98d
tree84ee18dd281b7458aa5bc7889eb5887b2551ab3e
parent0cb17b893c199b8c9443444a216dd2fca5ea075c
vmd(8): teach vmm process how to exec.

Use execvp(2) to launch vm children with new address spaces.
Consequently, introduces use of unveil(2) into the vmm and vm
processes.

This imposes the requirement of launching vmd with absolute paths,
similar to sshd(8).

ok mlarkin@
usr.sbin/vmd/vm.c
usr.sbin/vmd/vmd.c
usr.sbin/vmd/vmd.h
usr.sbin/vmd/vmm.c