]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
um: Implement copy_thread_tls
authorAmanieu d'Antras <amanieu@gmail.com>
Sat, 4 Jan 2020 12:39:30 +0000 (13:39 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commit7100e68ab8a482ebc9c4c09138b1afc490edea31
tree6353d4b1dc5900c50051609efaf85e86930e25f9
parenta47781f05480ae7f2f24ad27fa294da9024838ed
um: Implement copy_thread_tls

BugLink: https://bugs.launchpad.net/bugs/1862227
commit 457677c70c7672a4586b0b8abc396cc1ecdd376d upstream.

This is required for clone3 which passes the TLS value through a
struct rather than a register.

Signed-off-by: Amanieu d'Antras <amanieu@gmail.com>
Cc: linux-um@lists.infradead.org
Cc: <stable@vger.kernel.org> # 5.3.x
Link: https://lore.kernel.org/r/20200104123928.1048822-1-amanieu@gmail.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/um/Kconfig
arch/um/include/asm/ptrace-generic.h
arch/um/kernel/process.c
arch/x86/um/tls_32.c
arch/x86/um/tls_64.c