Allow running in single user mode where /var/empty doesn't exist by
authorflorian <florian@openbsd.org>
Sat, 1 May 2021 11:53:06 +0000 (11:53 +0000)
committerflorian <florian@openbsd.org>
Sat, 1 May 2021 11:53:06 +0000 (11:53 +0000)
commitec8f555ef2b937a314702f75e67f0ab5e4e8eb6c
treefdf0f9cadea76150390e2d4c47255a934e9bdd4e
parent4b9fcc1b73479c5740ce060efb7656bbe7b1e6c5
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/slaacd/engine.c
sbin/slaacd/frontend.c