summaryrefslogtreecommitdiff
path: root/lib/libelf
diff options
context:
space:
mode:
authorDave Voutila <dv@cvs.openbsd.org>2023-04-28 19:46:43 +0000
committerDave Voutila <dv@cvs.openbsd.org>2023-04-28 19:46:43 +0000
commitc6132cfad55574e0b25d1ce0002e634d80d445df (patch)
treea858b01a2f10f82db74cc6bbf073b1236f279158 /lib/libelf
parentbfbe96e3e8b68c8d0791af5113636aea4c6094be (diff)
vmd(8)/vmctl(8): allow vm owners to override boot kernel.
vmd allows non-root users to "own" a vm defined in vm.conf(5). While the user can start/stop the vm, if they break their filesystem they have no means of booting recovery media like a ramdisk kernel. This change opens the provided boot kernel via vmctl and passes the file descriptor through the control channel to vmd. The next boot of the vm will use the provided file descriptor as boot kernel/bios. Subsequent boots (e.g. a reboot) will return to using behavior defined in vm.conf or the default bios image. ok mlarkin@
Diffstat (limited to 'lib/libelf')
0 files changed, 0 insertions, 0 deletions