Mirror bluhm's fixes for proc.c daemons to dup /dev/null for child processes
authorakoshibe <akoshibe@openbsd.org>
Mon, 10 Sep 2018 13:21:39 +0000 (13:21 +0000)
committerakoshibe <akoshibe@openbsd.org>
Mon, 10 Sep 2018 13:21:39 +0000 (13:21 +0000)
commit8a73e050f051c27ad8c86f7ba329a31e8809e550
treeb8465a885fa5af75a4cf831add19bb7800629c8c
parent451e36b1a92612851e8928c02df496c351e938fa
Mirror bluhm's fixes for proc.c daemons to dup /dev/null for child processes
in switchd(8).

OK henning@ bluhm@
usr.sbin/switchd/proc.c
usr.sbin/switchd/proc.h
usr.sbin/switchd/switchd.c