Allow running in single user mode where /var/empty doesn't exist by
authorflorian <florian@openbsd.org>
Sat, 1 May 2021 11:51:59 +0000 (11:51 +0000)
committerflorian <florian@openbsd.org>
Sat, 1 May 2021 11:51:59 +0000 (11:51 +0000)
commitc7d84514db404db5d2fb08d3760c13679ee3fdb1
tree52c02363343341006f4fabdf5fad1daa13755a9d
parentffd633964d3c065845a1f7a73391d9127ba959d7
Allow running in single user mode where /var/empty doesn't exist by
switching from chroot("/var/empty") to unveil("/", "").
This is just an extra pair of suspenders since these processes
pledge(2) to not access the filesystem.
OK deraadt
sbin/dhcpleased/engine.c
sbin/dhcpleased/frontend.c