opnsense-src/sys/amd64/linux
Dmitry Chagin 68384ee5e4 linux(4): Retire handmade DWARF annotations from signal trampolines
The Linux exports __kernel_sigreturn and __kernel_rt_sigreturn from the
vdso. Modern glibc's sigaction sets the sa_restorer field of sigaction
to the corresponding vdso __sigreturn, and sets the SA_RESTORER.
Our signal trampolines uses the FreeBSD-way to call a signal handler,
so does not use the sigaction's sa_restorer.

However, as glibc's runtime linker depends on the existment of the vdso
__sigreturn symbols, for all Linuxulators was added separate trampolines
named __sigcode with DWARF anotations and left separate __sigreturn
methods, which are exported.

MFC after:              2 weeks

(cherry picked from commit 8f9635dc99)
2022-06-17 22:35:21 +03:00
..
linux.h linux(4): Rework the definition of struct siginfo to match Linux actual one 2022-06-17 22:35:20 +03:00
linux_dummy_machdep.c linux(4): Implement semtimedop syscalls. 2022-06-17 22:34:53 +03:00
linux_genassym.c linux(4): Retire handmade DWARF annotations from signal trampolines 2022-06-17 22:35:21 +03:00
linux_locore.asm linux(4): Retire handmade DWARF annotations from signal trampolines 2022-06-17 22:35:21 +03:00
linux_machdep.c linux: remove the always curthread argument from lconvpath 2022-06-17 22:33:39 +03:00
linux_proto.h linux(4): Regen for semtimedop syscalls. 2022-06-17 22:34:53 +03:00
linux_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
linux_syscall.h linux(4): Regen for semop syscall. 2022-06-17 22:34:47 +03:00
linux_syscalls.c linux(4): Regen for semop syscall. 2022-06-17 22:34:47 +03:00
linux_sysent.c linux(4): Regen for semtimedop syscalls. 2022-06-17 22:34:53 +03:00
linux_systrace_args.c linux(4): Regen for semtimedop syscalls. 2022-06-17 22:34:53 +03:00
linux_sysvec.c linux(4): Better naming for ucontext field of struct rt_sigframe 2022-06-17 22:35:21 +03:00
linux_vdso.lds.s linux(4): Implement vdso getcpu for x86. 2022-06-17 22:35:00 +03:00
linux_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
syscalls.master linux(4): Change semtimedop syscall definition to match Linux actual one. 2022-06-17 22:34:47 +03:00