freebsd-skq/sys/compat/cloudabi
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
..
cloudabi_clock.c
cloudabi_errno.c Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cloudabi_fd.c shm: correct KPI mistake introduced around memfd_create 2020-01-05 04:06:40 +00:00
cloudabi_file.c vfs: track sequential reads and writes separately 2020-06-21 08:51:24 +00:00
cloudabi_futex.c Allow timed waits with relative timeouts on locks and condvars. 2018-01-04 21:57:37 +00:00
cloudabi_mem.c
cloudabi_proc.c Do not leak oldvmspace if image activation failed 2020-09-23 18:03:07 +00:00
cloudabi_proto.h
cloudabi_random.c
cloudabi_sock.c Improve handling of control message truncation. 2018-08-07 16:36:48 +00:00
cloudabi_thread.c
cloudabi_util.h Allow timed waits with relative timeouts on locks and condvars. 2018-01-04 21:57:37 +00:00
cloudabi_vdso.c Add sys/systm.h to several places that use vm headers. 2020-02-04 18:56:26 +00:00
cloudabi_vdso.lds