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/hostapd | |
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/hostapd')
-rw-r--r-- | usr.sbin/hostapd/privsep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/hostapd/privsep.c b/usr.sbin/hostapd/privsep.c index c4675587e71..f115f7c7190 100644 --- a/usr.sbin/hostapd/privsep.c +++ b/usr.sbin/hostapd/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.24 2015/01/16 06:40:17 deraadt Exp $ */ +/* $OpenBSD: privsep.c,v 1.25 2016/02/02 17:51:11 sthen Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@openbsd.org> @@ -170,8 +170,6 @@ hostapd_priv_init(struct hostapd_config *cfg) hostapd_roaming_init(cfg); - setproctitle("[priv]"); - /* Start a new event listener */ event_set(&cfg->c_priv_ev, socks[0], EV_READ, hostapd_priv, cfg); if (event_add(&cfg->c_priv_ev, NULL) == -1) |