opnsense-src/sys/amd64/linux
Konstantin Belousov 68ba38dad3 amd64: add pcb_tlsbase
This is a value for TLS base that would be explicitly set by user.
It is forced into the fsbase register on entry to signal handler, making
TLS in the handler usable even if userspace uses segmentation.

Reported and tested:    Alex S <iwtcex@gmail.com>
Tested by:	pho
Reviewed by:	olce
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D50482
2025-05-28 14:11:23 +03:00
..
linux.h linux(4): Deduplicate SystemV IPC defines from amd64/linux 2023-10-04 21:18:45 +03:00
linux_dummy_machdep.c linux: Support POSIX message queues 2024-05-23 13:40:46 -06:00
linux_genassym.c linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 2023-08-18 13:12:02 +03:00
linux_locore.asm sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
linux_machdep.c linux(4): Cleanup includes under amd64/linux 2023-09-11 21:29:34 +03:00
linux_proto.h syscalls: Regen for Linux emulator additions 2024-05-23 13:40:47 -06:00
linux_support.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
linux_syscall.h linux(4): Regen for linux_nosys change 2023-10-03 10:38:03 +03:00
linux_syscalls.c linux(4): Regen for linux_nosys change 2023-10-03 10:38:03 +03:00
linux_sysent.c sysent: regen removing comment alignment 2024-10-01 17:10:08 +01:00
linux_systrace_args.c sysent: regen for typo fix 2024-10-22 19:21:26 +01:00
linux_sysvec.c amd64: add pcb_tlsbase 2025-05-28 14:11:23 +03:00
linux_vdso.lds.s sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
linux_vdso_gtod.c linux(4): Add a write syscall wrapper 2023-08-20 10:36:29 +03:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
syscalls.conf makesyscalls: don't make syscall.mk by default 2023-11-18 00:48:14 +00:00
syscalls.master linux: Fix linux_mq_notify_args & linux_timer_create_args 2024-05-23 13:40:46 -06:00