[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180216044115.GA7811@avx2>
Date: Fri, 16 Feb 2018 07:41:15 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Kees Cook <keescook@...omium.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -mm 1/3] proc: randomize "struct pde_opener"
On Thu, Feb 15, 2018 at 04:53:29PM -0800, Kees Cook wrote:
> On Wed, Feb 14, 2018 at 12:19 AM, Alexey Dobriyan <adobriyan@...il.com> wrote:
> > The more the merrier.
>
> What made you choose this structure, BTW?
Nothing depends on its layout. No funky memcpy/memset...
It is strange you didn't annotate like 95% of structs.
> > @@ -177,7 +177,7 @@ struct pde_opener {
> > struct list_head lh;
> > bool closing;
> > struct completion *c;
> > -};
> > +} __randomize_layout;
Powered by blists - more mailing lists