]> git.itanic.dy.fi Git - linux-stable/commit
x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()
authorKyle Huey <me@kylehuey.com>
Tue, 15 Nov 2022 23:09:27 +0000 (15:09 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Jan 2023 09:33:40 +0000 (10:33 +0100)
commitf28418b06f6b1e83c81369ef1705ee53da106ae6
tree1f0279d9487367665c86a62ebf09f7050dd89f71
parent763b92568726b55569ea4896fe36e3c174cc3b0d
x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()

commit 6a877d2450ace4f27c012519e5a1ae818f931983 upstream.

This will allow copy_sigframe_from_user_to_xstate() to grab the address of
thread_struct's pkru value in a later patch.

Signed-off-by: Kyle Huey <me@kylehuey.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20221115230932.7126-2-khuey%40kylehuey.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/fpu/signal.c
arch/x86/kernel/fpu/xstate.c
arch/x86/kernel/fpu/xstate.h