Refactor on how the subprocesses are started.
authorclaudio <claudio@openbsd.org>
Mon, 11 Apr 2022 18:59:23 +0000 (18:59 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 11 Apr 2022 18:59:23 +0000 (18:59 +0000)
commit1db5fd2be73ae17e14b7256b5178b690a32d5d58
tree72e2d0fb37ced2e790058922e15dbc9089cd743a
parent30b5b25bb25518f8e01439e2aa53f33c272ed3ef
Refactor on how the subprocesses are started.

Move the unveil and pledges to the actuall subprocesses and put all the
common code to start these into process_start(). Reduces the lenght of
main() a fair bit.
OK tb@
usr.sbin/rpki-client/http.c
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/parser.c
usr.sbin/rpki-client/rsync.c