opnsense-src/sys/amd64/linux32
Dmitry Chagin 6bee81f9c6 linux(4): Handle 64-bit SO_TIMESTAMP for 32-bit binaries
To solve y2k38 problem in the recvmsg syscall the new SO_TIMESTAMP
constant were added on v5.1 Linux kernel. So, old 32-bit binaries
that knows only 32-bit time_t uses the old value of the constant,
and binaries that knows 64-bit time_t uses the new constant.

To determine what size of time_t type is expected by the user-space,
store requested value (SO_TIMESTAMP) in the process emuldata structure.

MFC after:		2 weeks

(cherry picked from commit 0e26e54bdf)
2022-06-17 22:35:34 +03:00
..
linux.h linux(4): Handle 64-bit SO_TIMESTAMP for 32-bit binaries 2022-06-17 22:35:34 +03:00
linux32_dummy_machdep.c linux(4): Implement semtimedop syscalls. 2022-06-17 22:34:53 +03:00
linux32_genassym.c linux(4): Retire handmade DWARF annotations from signal trampolines 2022-06-17 22:35:21 +03:00
linux32_locore.asm linux(4): Retire handmade DWARF annotations from signal trampolines 2022-06-17 22:35:21 +03:00
linux32_machdep.c linux(4): Fix execve() on amd64/linux32 after a125ed50 2022-06-17 22:35:28 +03:00
linux32_proto.h linux(4): Regen for prctl fix. 2022-06-17 22:35:11 +03:00
linux32_support.s linux(4): Return native error from futex_atomic_op to avoid conversion by the caller. 2022-06-17 22:35:06 +03:00
linux32_syscall.h linux(4): Regen for epoll_pwait2 syscall. 2022-06-17 22:34:09 +03:00
linux32_syscalls.c linux(4): Regen for epoll_pwait2 syscall. 2022-06-17 22:34:09 +03:00
linux32_sysent.c linux(4): Regen for semtimedop syscalls. 2022-06-17 22:34:53 +03:00
linux32_systrace_args.c linux(4): Regen for prctl fix. 2022-06-17 22:35:11 +03:00
linux32_sysvec.c linux(4): Deduplicate bsd_to_linux_trapcode() 2022-06-17 22:35:28 +03:00
linux32_vdso.lds.s linux(4): Retire handmade DWARF annotations from signal trampolines 2022-06-17 22:35:21 +03:00
linux32_vdso_gtod.c linux(4): Implement vdso getcpu for x86. 2022-06-17 22:35:00 +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): Fix 039e98e6. 2022-06-17 22:35:07 +03:00