Konstantin Belousov aaf78c16f5 Do not leak oldvmspace if image activation failed
and current address space is already destroyed, so kern_execve()
terminates the process.

While there, clean up some internals of post_execve() inlined in init_main.

Reported by:	Peter <pmc@citylink.dinoex.sub.org>
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26525
2020-09-23 18:03:07 +00:00
..
2020-02-26 16:22:28 +00:00
2020-07-06 16:34:49 +00:00
2020-08-04 23:00:00 +00:00
2020-08-04 20:31:03 +00:00
2020-09-02 23:17:33 +00:00
2020-03-02 15:30:52 +00:00
2020-05-09 15:56:02 +00:00
2020-08-13 20:48:14 +00:00
2020-01-12 23:52:16 +00:00
2020-08-27 05:11:15 +00:00
2020-08-27 05:11:15 +00:00
2020-09-18 16:48:08 +00:00
2020-09-15 23:03:56 +00:00
2020-09-15 22:06:36 +00:00
2020-09-15 22:06:36 +00:00
2020-09-15 22:06:36 +00:00