Fix clean process shutdown by storing env globally like vmd and httpd do
authortobhe <tobhe@openbsd.org>
Sun, 5 Mar 2023 22:17:22 +0000 (22:17 +0000)
committertobhe <tobhe@openbsd.org>
Sun, 5 Mar 2023 22:17:22 +0000 (22:17 +0000)
commite8e9d77f12a916d795d31bc9df5d15b6def0b148
tree2ced38c540a000d19b1b38db57c3801d49a113aa
parentd3e7072bb44b08aefba93b6ba45b44ee93e8c555
Fix clean process shutdown by storing env globally like vmd and httpd do
instead of getting it from p_ps.  The old approach does not work anymore
after the recent fork + exec update.

ok patrick@
sbin/iked/ca.c
sbin/iked/control.c
sbin/iked/iked.c
sbin/iked/iked.h
sbin/iked/ikev2.c
sbin/iked/proc.c