freebsd-skq/sys/compat/linux
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
..
check_error.d
check_internal_locks.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_common.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_common.h Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions 2019-05-13 17:48:16 +00:00
linux_dtrace.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linux_emul.c Do not leak oldvmspace if image activation failed 2020-09-23 18:03:07 +00:00
linux_emul.h Implement PTRACE_O_TRACESYSGOOD. This makes Linux strace(1) work. 2019-05-19 12:58:44 +00:00
linux_errno.c Get rid of sv_errtbl and SV_ABI_ERRNO(). 2020-09-17 11:39:33 +00:00
linux_errno.inc Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
linux_event.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_event.h Linux epoll: Register events with zero event mask 2019-11-24 20:47:40 +00:00
linux_file.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_file.h linuxolator: implement memfd_create syscall 2020-06-29 03:09:14 +00:00
linux_fork.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_futex.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_futex.h linux: futex_mtx should follow futex_list 2019-10-18 12:25:33 +00:00
linux_getcwd.c cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
linux_ioctl.c Add support for SOUND_MIXER_WRITE_MONITOR ioctl. Fixes alsamixer(1) 2020-09-17 11:44:45 +00:00
linux_ioctl.h Add support for SOUND_MIXER_WRITE_MONITOR ioctl. Fixes alsamixer(1) 2020-09-17 11:44:45 +00:00
linux_ipc64.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_ipc.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_ipc.h Update syscall.master to 5.0. 2019-03-24 14:50:02 +00:00
linux_mib.c linux: add sysctl compat.linux.use_emul_path 2020-08-18 22:04:22 +00:00
linux_mib.h Bump the default linux version from 3.2.0 to 3.10.0, which corresponds 2020-07-18 11:37:30 +00:00
linux_misc.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_misc.h compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_mmap.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_mmap.h Add linux_madvise(2) instead of having Linux apps call the native 2020-06-20 18:29:22 +00:00
linux_persona.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_signal.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_signal.h Rationalize license text on Linuxolator files 2018-03-23 14:39:34 +00:00
linux_socket.c Reduce code duplication by introducing linux_copyout_sockaddr() 2020-09-17 12:14:24 +00:00
linux_socket.h Make linux(4) support SO_PROTOCOL. Running Python test suite 2020-06-28 18:56:32 +00:00
linux_stats.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_sysctl.c Quiet unused fn warning for linuxulator w/o legacy syscalls 2018-06-25 19:24:50 +00:00
linux_sysproto.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linux_time.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_timer.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_timer.h Centralize compatability translation macros. 2020-04-14 20:30:48 +00:00
linux_uid16.c linux: add sysctl compat.linux.use_emul_path 2020-08-18 22:04:22 +00:00
linux_util.c Add compat.linux.debug sysctl, to make it possible to silence down 2020-06-12 14:37:50 +00:00
linux_util.h linux: add sysctl compat.linux.use_emul_path 2020-08-18 22:04:22 +00:00
linux_vdso.c compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
linux_vdso.h
linux_videodev2_compat.h
linux_videodev_compat.h
linux.c linuxolator: implement memfd_create syscall 2020-06-29 03:09:14 +00:00
linux.h Get rid of sv_errtbl and SV_ABI_ERRNO(). 2020-09-17 11:39:33 +00:00
stats_timing.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
trace_futexes.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00