linux/arch/x86/um/asm
Benjamin Berg 7911b650a0 um: remove LDT support
The current LDT code has a few issues that mean it should be redone in a
different way once we always start with a fresh MM even when cloning.

In a new and better world, the kernel would just ensure its own LDT is
clear at startup. At that point, all that is needed is a simple function
to populate the LDT from another MM in arch_dup_mmap combined with some
tracking of the installed LDT entries for each MM.

Note that the old implementation was even incorrect with regard to
reading, as it copied out the LDT entries in the internal format rather
than converting them to the userspace structure.

Removal should be fine as the LDT is not used for thread-local storage
anymore.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20240703134536.1161108-7-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-07-03 17:09:49 +02:00
..
apic.h um: asm/apic.h is there only to shadow the x86 one... 2011-11-02 14:15:22 +01:00
arch_hweight.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
archparam.h
barrier.h uml/i386: missing include in barrier.h 2021-12-21 21:31:35 +01:00
checksum_32.h saner calling conventions for csum_and_copy_..._user() 2020-08-20 15:45:15 -04:00
checksum_64.h um/x86: merge 32 and 64bit variants of checksum.h 2012-10-09 22:28:16 +02:00
checksum.h unify generic instances of csum_partial_copy_nocheck() 2020-08-20 15:45:14 -04:00
desc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
elf.h um: Rely on PTRACE_SETREGSET to set FS/GS base registers 2024-01-05 16:28:56 +01:00
irq_vectors.h um: irq_vectors.h just shadows x86 one 2011-11-02 14:15:24 +01:00
module.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
processor_32.h treewide: remove current_text_addr 2018-10-31 08:54:12 -07:00
processor_64.h um: Rely on PTRACE_SETREGSET to set FS/GS base registers 2024-01-05 16:28:56 +01:00
processor.h um: Implement cpu_relax() as ndelay(1) for time-travel 2020-03-29 23:29:56 +02:00
ptrace.h um: Move declarations to proper headers 2024-04-22 21:58:48 +02:00
required-features.h um: required-features.h is there only to shadow x86 one... 2011-11-02 14:15:23 +01:00
segment.h um: remove set_fs 2021-12-22 17:56:56 +01:00
syscall.h syscall_get_arch: add "struct task_struct *" argument 2019-03-20 21:12:36 -04:00
vm-flags.h mm/vma: define a default value for VM_DATA_DEFAULT_FLAGS 2020-04-10 15:36:21 -07:00