Messages in this thread | | | Date | Fri, 16 Feb 2018 07:41:15 +0300 | From | Alexey Dobriyan <> | 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@gmail.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;
| |