Re: [patch V3 31/66] x86/fpu: Rename xstate copy functions which are related to UABI

From: Borislav Petkov
Date: Tue Jun 22 2021 - 05:38:56 EST


On Fri, Jun 18, 2021 at 04:18:54PM +0200, Thomas Gleixner wrote:
> Rename them to reflect that these functions deal with user space format
> XSAVE buffers.
>
> copy_kernel_to_xstate() -> copy_uabi_from_kernel_to_xstate()
> copy_user_to_xstate() -> copy_sigframe_from_user_to_xstate()
>
> Again a clear statement that these functions deal with user space ABI.
>
> Suggested-by: Andy Lutomirski <luto@xxxxxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> arch/x86/include/asm/fpu/xstate.h | 4 ++--
> arch/x86/kernel/fpu/regset.c | 2 +-
> arch/x86/kernel/fpu/signal.c | 2 +-
> arch/x86/kernel/fpu/xstate.c | 5 +++--
> 4 files changed, 7 insertions(+), 6 deletions(-)

Reviewed-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg