diff options
author | sthen <sthen@openbsd.org> | 2016-02-02 17:51:11 +0000 |
---|---|---|
committer | sthen <sthen@openbsd.org> | 2016-02-02 17:51:11 +0000 |
commit | e962b3caabcc7cb3a2f222a57ac30a7b9937958d (patch) | |
tree | 46d599163283ccecd51b573485e4559b9e8126b5 /usr.sbin/npppd | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-e962b3caabcc7cb3a2f222a57ac30a7b9937958d.tar.xz wireguard-openbsd-e962b3caabcc7cb3a2f222a57ac30a7b9937958d.zip |
Remove setproctitle() for the parent process. Because rc.d(8) uses process
titles (including flags) to distinguish between daemons, this makes it
possible to manage multiple copies of a daemon using the normal infrastructure
by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@
Diffstat (limited to 'usr.sbin/npppd')
-rw-r--r-- | usr.sbin/npppd/npppd/privsep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/npppd/npppd/privsep.c b/usr.sbin/npppd/npppd/privsep.c index 91c769d4fb0..765dead5017 100644 --- a/usr.sbin/npppd/npppd/privsep.c +++ b/usr.sbin/npppd/npppd/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.20 2015/12/05 18:43:36 mmcc Exp $ */ +/* $OpenBSD: privsep.c,v 1.21 2016/02/02 17:51:11 sthen Exp $ */ /* * Copyright (c) 2010 Yasuoka Masahiko <yasuoka@openbsd.org> @@ -188,7 +188,6 @@ privsep_init(void) _exit(0); /* NOTREACHED */ } - setproctitle("main"); close(pairsock[0]); privsep_sock = pairsock[1]; privsep_pid = pid; |