linux-next/arch/um/os-Linux
Benjamin Berg 2f681ba4b3 um: move thread info into task
This selects the THREAD_INFO_IN_TASK option for UM and changes the way
that the current task is discovered. This is trivial though, as UML
already tracks the current task in cpu_tasks[] and this can be used to
retrieve it.

Also remove the signal handler code that copies the thread information
into the IRQ stack. It is obsolete now, which also means that the
mentioned race condition cannot happen anymore.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Hajime Tazaki <thehajime@gmail.com>
Link: https://patch.msgid.link/20241111102910.46512-1-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-11-12 14:50:31 +01:00
..
drivers um: Make local functions and variables static 2024-04-22 21:43:03 +02:00
skas um: always include kconfig.h and compiler-version.h 2024-11-07 17:36:30 +01:00
elf_aux.c um: Add an internal header shared among the user code 2024-04-30 14:16:44 +02:00
execvp.c um: Allow builds with Clang 2022-03-21 08:13:03 -07:00
file.c um: remove file sync for stub data 2024-11-07 17:36:30 +01:00
helper.c um: Fix naming clash between UML and scheduler 2024-01-04 21:22:27 +01:00
internal.h um: Add an internal header shared among the user code 2024-04-30 14:16:44 +02:00
irq.c um: Remove the unneeded result variable 2023-02-01 22:11:24 +01:00
main.c um: remove PATH_MAX use 2024-10-24 09:52:51 +02:00
Makefile um: restore process name 2024-10-23 09:25:55 +02:00
mem.c um: set DONTDUMP and DONTFORK flags on KASAN shadow memory 2024-11-07 17:36:30 +01:00
process.c um: Add os_set_pdeathsig helper function 2024-10-25 11:34:54 +02:00
registers.c um: switch to regset API and depend on XSTATE 2024-10-23 12:13:16 +02:00
sigio.c um: Set parent-death signal for write_sigio thread/process 2024-10-25 11:34:55 +02:00
signal.c um: move thread info into task 2024-11-12 14:50:31 +01:00
start_up.c um: remove LDT support 2024-07-03 17:09:49 +02:00
time.c um: Remove unused timeval_to_ns() function 2022-03-11 10:49:50 +01:00
tty.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
umid.c um: Do not propagate uml_dir parameter to kernel 2024-10-23 09:52:48 +02:00
user_syms.c Revert "[PATCH] uml: export symbols added by GCC hardened" 2023-06-15 04:47:04 +09:00
util.c um: always include kconfig.h and compiler-version.h 2024-11-07 17:36:30 +01:00