vmd(8): clean up fd closing in vmm process.
authordv <dv@openbsd.org>
Sun, 16 Apr 2023 12:47:26 +0000 (12:47 +0000)
committerdv <dv@openbsd.org>
Sun, 16 Apr 2023 12:47:26 +0000 (12:47 +0000)
commit3bbc9b4e3ba89575448d218a699a85a2355d9812
tree8ec3904fce76267e8f4205a665282e42c5ccfaad
parent2a3a2a6593329cd8c05b3b5a31b379ca1624d122
vmd(8): clean up fd closing in vmm process.

Some mild tidying of fd closing in the vmm process in prep for
landing parts of my fork+exec diff.

With input from guenther@ on the nuances of if/when EINTR may happen
in a call to close(2).

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