Move the mkpath() call from the rsync path to the main process. This allows
authorclaudio <claudio@openbsd.org>
Fri, 19 Feb 2021 08:14:49 +0000 (08:14 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 19 Feb 2021 08:14:49 +0000 (08:14 +0000)
commita0dad605928945f5964d3d933eac103a8e0aec74
tree46563f844148471d95e2f6f7a80ac71702038367
parentf298f01294485a7f4b5b014e55d8431761e50b11
Move the mkpath() call from the rsync path to the main process. This allows
to drop cpath from the rsync proc pledge (down to "stdio proc exec").
This will also make work easier with the upcoming http fetcher.
OK tb@
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/mkdir.c
usr.sbin/rpki-client/rsync.c