CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2024/02/05 14:58:09
Modified files: usr.sbin/vmd : config.c vioblk.c vionet.c virtio.c vm.c vmd.c vmm.c Log message: Cleanup fcntl(3) usage and fd lifetimes in vmd(8). Remove extraneous fcntl(3) usage for setting fd features that can be set at time of open(2), pipe2(2), or socketpair(2). Also cleans up pty creation switching to using functions from libutil instead of direct ioctl(2) calls. ok mlarkin@, original diff ok claudio@ as well.