mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
|
||
|---|---|---|
| .. | ||
| linux.h | ||
| linux32_dummy_machdep.c | ||
| linux32_genassym.c | ||
| linux32_locore.asm | ||
| linux32_machdep.c | ||
| linux32_proto.h | ||
| linux32_support.s | ||
| linux32_syscall.h | ||
| linux32_syscalls.c | ||
| linux32_sysent.c | ||
| linux32_systrace_args.c | ||
| linux32_sysvec.c | ||
| linux32_vdso.lds.s | ||
| linux32_vdso_gtod.c | ||
| Makefile | ||
| syscalls.conf | ||
| syscalls.master | ||