linux/arch/um/kernel/skas
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
..
.gitignore um: use execveat to create userspace MMs 2024-10-10 13:37:16 +02:00
Makefile um: fix stub exe build with CONFIG_GCOV 2024-10-26 16:06:10 +02:00
mmu.c um: Remove double zero check 2024-11-07 17:34:03 +01:00
process.c um: move thread info into task 2024-11-12 14:50:31 +01:00
stub.c um: Abandon the _PAGE_NEWPROT bit 2024-10-23 09:52:49 +02:00
stub_exe.c um: make stub_exe _start() pure inline asm 2024-10-23 09:04:59 +02:00
stub_exe_embed.S um: use execveat to create userspace MMs 2024-10-10 13:37:16 +02:00
syscall.c um: fix time-travel syscall scheduling hack 2024-09-12 20:46:23 +02:00
uaccess.c um: document arch_futex_atomic_op_inuser 2024-01-04 22:08:57 +01:00