summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vmd/Makefile
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2015-12-02 22:19:11 +0000
committerreyk <reyk@openbsd.org>2015-12-02 22:19:11 +0000
commitf0bbd60c08f34850565f605457ce7161bdc487d4 (patch)
treea6490b7913d5f2ae87de37b0bf83273ce71410c1 /usr.sbin/vmd/Makefile
parentMove port picking away from in_pcbbind() (diff)
downloadwireguard-openbsd-f0bbd60c08f34850565f605457ce7161bdc487d4.tar.xz
wireguard-openbsd-f0bbd60c08f34850565f605457ce7161bdc487d4.zip
Split the fully privileged parent into two processes "parent" and
"vmm" with reduced privileges: - the "parent" opens fds (disks, ifs, etc.) but runs as root but pledged as "stdio rpath wpath proc tty sendfd". - the "vmm" process handles the creation and supervision of vm processes, and the primary communication with the vmm(4) subsystem. It runs as _vmd in the chroot but does not use pledge, as the vmm ioctls are not allowed by any pledge model yet. With this change, vmd starts to track the configuration state of VMs in vmd and will allow other things later (like terminating a vm by name, moving the configuration parser to vmd, ...). More incremental changes will follow.
Diffstat (limited to 'usr.sbin/vmd/Makefile')
-rw-r--r--usr.sbin/vmd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vmd/Makefile b/usr.sbin/vmd/Makefile
index 51eba5700cc..7962b65dc5d 100644
--- a/usr.sbin/vmd/Makefile
+++ b/usr.sbin/vmd/Makefile
@@ -3,7 +3,7 @@
PROG= vmd
SRCS= vmm.c loadfile_elf.c pci.c virtio.c
-SRCS+= vmd.c control.c log.c proc.c
+SRCS+= vmd.c control.c log.c proc.c config.c
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations