mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 23:04:36 -04:00
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 |
||
|---|---|---|
| .. | ||
| linux.h | ||
| linux_dummy_machdep.c | ||
| linux_genassym.c | ||
| linux_locore.asm | ||
| linux_machdep.c | ||
| linux_proto.h | ||
| linux_support.s | ||
| linux_syscall.h | ||
| linux_syscalls.c | ||
| linux_sysent.c | ||
| linux_systrace_args.c | ||
| linux_sysvec.c | ||
| linux_vdso.lds.s | ||
| linux_vdso_gtod.c | ||
| Makefile | ||
| syscalls.conf | ||
| syscalls.master | ||