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)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 16 Nov 2022 23:02:30 +0000 (15:02 -0800)
commit6a877d2450ace4f27c012519e5a1ae818f931983
tree4249e4588d35b7f93b361c71f9cd83d8ba601267
parent48280042f2c6e3ac2cfb1d8b752ab4a7e0baea24
x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()

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
arch/x86/kernel/fpu/signal.c
arch/x86/kernel/fpu/xstate.c
arch/x86/kernel/fpu/xstate.h