linux/arch/x86/um/os-Linux
Benjamin Berg cef721e0d5 um: Store full CSGSFS and SS register from mcontext
Doing this allows using registers as retrieved from an mcontext to be
pushed to a process using PTRACE_SETREGS.

It is not entirely clear to me why CSGSFS was masked. Doing so creates
issues when using the mcontext as process state in seccomp and simply
copying the register appears to work perfectly fine for ptrace.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Link: https://patch.msgid.link/20250224181827.647129-2-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-03-18 11:10:41 +01:00
..
Makefile um: Discover host_task_size from envp 2024-10-10 13:37:22 +02:00
mcontext.c um: Store full CSGSFS and SS register from mcontext 2025-03-18 11:10:41 +01:00
registers.c um: add back support for FXSAVE registers 2025-02-12 23:40:10 +01:00
tls.c um: Add missing headers 2024-04-22 21:46:20 +02:00