lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180108171428.mb2fmwsgp3pfz6bd@gmail.com>
Date:   Mon, 8 Jan 2018 18:14:28 +0100
From:   Ingo Molnar <mingo@...nel.org>
To:     Willy Tarreau <w@....eu>
Cc:     Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org,
        x86@...nel.org, gnomes@...rguk.ukuu.org.uk,
        torvalds@...ux-foundation.org
Subject: Re: [PATCH RFC 1/4] x86/thread_info: add TIF_NOPTI to disable PTI
 per task


* Willy Tarreau <w@....eu> wrote:

> On Mon, Jan 08, 2018 at 05:57:11PM +0100, Thomas Gleixner wrote:
> > On Mon, 8 Jan 2018, Willy Tarreau wrote:
> > 
> > > This flag indicates that the task will not use isolated page tables.
> > > 
> > > Signed-off-by: Willy Tarreau <w@....eu>
> > > ---
> > >  arch/x86/include/asm/thread_info.h | 8 ++++++++
> > >  1 file changed, 8 insertions(+)
> > > 
> > > diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h
> > > index 0022333..2f92cf1 100644
> > > --- a/arch/x86/include/asm/thread_info.h
> > > +++ b/arch/x86/include/asm/thread_info.h
> > > @@ -126,6 +126,14 @@ struct thread_info {
> > >  #define _TIF_X32		(1 << TIF_X32)
> > >  #define _TIF_FSCHECK		(1 << TIF_FSCHECK)
> > >  
> > > +/* The following flags only exist on x86-64. We can't use the shift anymore
> > 
> > Please do not use this horrible comment syle
> 
> You mean, the fact that there is no '/*' alone on the first line or
> anything else ?

please use the customary (multi-line) comment style:

  /*
   * Comment .....
   * ...... goes here.
   */

specified in Documentation/CodingStyle.

Thanks,

        Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ