lkml.org 
[lkml]   [2019]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 6/6] x86/fpu/xstate: Rename validate_xstate_header() to validate_xstate_header_from_user()
From
Date
On Wed, 2019-10-09 at 19:31 +0200, Borislav Petkov wrote:
> On Wed, Sep 25, 2019 at 08:10:22AM -0700, Yu-cheng Yu wrote:
> > From: Fenghua Yu <fenghua.yu@intel.com>
> >
> > The function validate_xstate_header() validates an xstate header coming
> > from userspace (PTRACE or sigreturn). To make it clear, rename it to
> > validate_xstate_header_from_user().
> >
> > 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>
>
> This one is correct!
>
> \o/
>
> > Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
> > Reviewed-by: Tony Luck <tony.luck@intel.com>
> > ---
> > arch/x86/include/asm/fpu/xstate.h | 2 +-
> > arch/x86/kernel/fpu/regset.c | 2 +-
> > arch/x86/kernel/fpu/signal.c | 2 +-
> > arch/x86/kernel/fpu/xstate.c | 6 +++---
> > 4 files changed, 6 insertions(+), 6 deletions(-)
>
> And I like patches like this one! :-)
>
> Reviewed-by: Borislav Petkov <bp@suse.de>

Thanks for reviewing. I will send out an updated version.

Yu-cheng

\
 
 \ /
  Last update: 2019-10-10 00:21    [W:0.056 / U:16.892 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site