opnsense-src/sys/amd64/linux32
Dmitry Chagin 82fa7c3b83 linux(4): Add compat.linux32.emulate_i386 knob.
Historically 32-bit Linuxulator under amd64 emulated the real i386
behavior. Since 3d8dd983 the old i386 Linux world can't be used under
amd64 Linuxulator as it don't know anything about amd64 machine (which
is returned now by newuname() syscall). So, add a knob to allow to swith
the behavior and use i386 Linux binaries on amd64.
Set knob to the new behavior as I think this is common to the modern
Linux distros.

Reviewed by:		Pau Amma (doc), emaste
Differential revision:	https://reviews.freebsd.org/D34708
MFC after:		2 weeks

(cherry picked from commit d5dc757e84)
2022-06-17 22:33:47 +03:00
..
linux.h linux(4): Add compat.linux32.emulate_i386 knob. 2022-06-17 22:33:47 +03:00
linux32_dummy_machdep.c linux(4): Implement ppoll_time64 system call. 2022-06-17 22:30:17 +03:00
linux32_genassym.c Implement vdso - virtual dynamic shared object. Through vdso Linux 2015-05-24 15:28:17 +00:00
linux32_locore.asm linux(4); Almost complete the vDSO. 2022-06-17 22:33:07 +03:00
linux32_machdep.c linux: remove the always curthread argument from lconvpath 2022-06-17 22:33:39 +03:00
linux32_proto.h linux(4): Regen for clone3 system call. 2022-06-17 22:33:30 +03:00
linux32_support.s amd64/linux*: add required header to get the constant value 2021-05-26 15:18:54 -04:00
linux32_syscall.h linux(4): Regen for linux_poll system call. 2022-06-17 22:30:20 +03:00
linux32_syscalls.c linux(4): Regen for linux_poll system call. 2022-06-17 22:30:20 +03:00
linux32_sysent.c linux(4): Regen for clone3 system call. 2022-06-17 22:33:30 +03:00
linux32_systrace_args.c linux(4): Regen for clone3 system call. 2022-06-17 22:33:30 +03:00
linux32_sysvec.c linux(4): Add compat.linux32.emulate_i386 knob. 2022-06-17 22:33:47 +03:00
linux32_vdso.lds.s linux(4); Almost complete the vDSO. 2022-06-17 22:33:07 +03:00
linux32_vdso_gtod.c linux(4): Fix gcc buld. 2022-06-17 22:33:14 +03:00
Makefile sysent targets: further cleanup and deduplication 2020-01-18 20:37:45 +00:00
syscalls.conf Rename remaining linux32 symbols such as linux_sysent[] and 2015-10-22 21:28:20 +00:00
syscalls.master linux(4): Implement clone3 system call. 2022-06-17 22:33:30 +03:00