From: claudio Date: Thu, 8 Apr 2021 15:31:14 +0000 (+0000) Subject: Missing setproctitle("rrdp") noticed by deraadt@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11300a775e900cb0c29c7306ff030665607cf9bd;p=openbsd Missing setproctitle("rrdp") noticed by deraadt@ --- diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index dc7d2548e05..d5fb95cad05 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.131 2021/04/07 16:06:37 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.132 2021/04/08 15:31:14 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -836,6 +836,7 @@ main(int argc, char *argv[]) close(http); close(fd[1]); + setproctitle("rrdp"); /* change working directory to the cache directory */ if (fchdir(cachefd) == -1) err(1, "fchdir");