|
Message-ID: <CAGXu5j+O1YZZ1k6xVvp=xJkpqMXr0c5ADjPYCS0TdVvuJ0-1vg@mail.gmail.com> Date: Thu, 27 Oct 2016 16:15:01 -0700 From: Kees Cook <keescook@...omium.org> To: Michael Leibowitz <michael.leibowitz@...el.com> Cc: Brad Spengler <spender@...ecurity.net>, "kernel-hardening@...ts.openwall.com" <kernel-hardening@...ts.openwall.com>, Emese Revfy <re.emese@...il.com>, PaX Team <pageexec@...email.hu>, "Schaufler, Casey" <casey.schaufler@...el.com>, "Reshetova, Elena" <elena.reshetova@...el.com> Subject: Re: [PATCH] Add the randstruct gcc plugin On Fri, Oct 21, 2016 at 10:37 AM, Michael Leibowitz <michael.leibowitz@...el.com> wrote: > This plugin randomizes the layout of certain structures at compile > time. This introduces two defines __randomize_layout and > __no_randomize_layout. Which, in turn, tell the compiler to either > try to randomize or not to randomize the struct in question. How are you testing this, btw? I manually marked struct cred with __randomize_layout, and "pahole vmlinux" shows it is not randomized... -Kees -- Kees Cook Nexus Security
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.