x86/fpu/xstate: Rename validate_xstate_header() to validate_user_xstate_header()
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 12 May 2020 14:54:35 +0000 (07:54 -0700)
committerBorislav Petkov <bp@suse.de>
Tue, 12 May 2020 18:20:32 +0000 (20:20 +0200)
commit5274e6c172c47241534e970df26a522497086624
treefcd0803f49fb1f9bf308d9023a073543b634c546
parent2ef96a5bb12be62ef75b5828c0aab838ebb29cb8
x86/fpu/xstate: Rename validate_xstate_header() to validate_user_xstate_header()

The function validate_xstate_header() validates an xstate header coming
from userspace (PTRACE or sigreturn). To make it clear, rename it to
validate_user_xstate_header().

Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Yu-cheng Yu <yu-cheng.yu@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200512145444.15483-2-yu-cheng.yu@intel.com
arch/x86/include/asm/fpu/xstate.h
arch/x86/kernel/fpu/regset.c
arch/x86/kernel/fpu/signal.c
arch/x86/kernel/fpu/xstate.c