summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/proc.c
diff options
context:
space:
mode:
authorrzalamena <rzalamena@openbsd.org>2016-10-10 21:53:46 +0000
committerrzalamena <rzalamena@openbsd.org>2016-10-10 21:53:46 +0000
commit04617fab4c15d9131ea8099c542d5e186cbde49a (patch)
tree5a6059f431fa3544571d99fc64ee572b71996994 /usr.sbin/switchd/proc.c
parentAdd static in cmd-* and fix a few other nits. (diff)
downloadwireguard-openbsd-04617fab4c15d9131ea8099c542d5e186cbde49a.tar.xz
wireguard-openbsd-04617fab4c15d9131ea8099c542d5e186cbde49a.zip
Modify httpd(8)'s proc.c to use less file descriptors during the daemon
start up. To achieve this proc_init() initiates only the necessary pipes between child and parent, allocate and distribute fds in proc_connect(). In case of configuration checks ('-n') we do nothing in proc_init() and proc_connect(). ok reyk@
Diffstat (limited to 'usr.sbin/switchd/proc.c')
0 files changed, 0 insertions, 0 deletions