Move privileged initialization from frontend to main process.
authorflorian <florian@openbsd.org>
Sun, 10 Dec 2017 10:07:54 +0000 (10:07 +0000)
committerflorian <florian@openbsd.org>
Sun, 10 Dec 2017 10:07:54 +0000 (10:07 +0000)
commitf9631f1553deb3c66a714987864949b7405ee583
tree325954c2a3bd5f5e6b3ab96099cd49a39931130b
parent1bab628a3398d7958ae7b8d5aa030f109778701f
Move privileged initialization from frontend to main process.
Needed for future work where we will spin up children via
fork - privdrop - exec. Child processes will no longer come
up with root privileges.
sbin/slaacd/control.c
sbin/slaacd/frontend.c
sbin/slaacd/frontend.h
sbin/slaacd/slaacd.c
sbin/slaacd/slaacd.h