diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-02 22:19:12 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-02 22:19:12 +0000 |
commit | 7ae68a993f4e4a0cfc82b061817e28c748bea851 (patch) | |
tree | ef54e23b6e1c8bb038f65a3fc00a8f815a63e637 /usr.sbin/relayctl | |
parent | ac8f843affa87cba40901ca5cee8d384d2703b29 (diff) |
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/relayctl')
0 files changed, 0 insertions, 0 deletions