[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191211135803.GD3870@sirena.org.uk>
Date: Wed, 11 Dec 2019 13:58:03 +0000
From: Mark Brown <broonie@...nel.org>
To: Kees Cook <keescook@...omium.org>
Cc: Dave Martin <Dave.Martin@....com>,
Paul Elliott <paul.elliott@....com>,
Peter Zijlstra <peterz@...radead.org>,
Catalin Marinas <catalin.marinas@....com>,
Yu-cheng Yu <yu-cheng.yu@...el.com>,
Amit Kachhap <amit.kachhap@....com>,
Vincenzo Frascino <vincenzo.frascino@....com>,
Will Deacon <will@...nel.org>, linux-arch@...r.kernel.org,
Marc Zyngier <maz@...nel.org>,
Eugene Syromiatnikov <esyr@...hat.com>,
Szabolcs Nagy <szabolcs.nagy@....com>,
"H.J. Lu" <hjl.tools@...il.com>, Andrew Jones <drjones@...hat.com>,
Arnd Bergmann <arnd@...db.de>, Jann Horn <jannh@...gle.com>,
Richard Henderson <richard.henderson@...aro.org>,
Kristina Martšenko <kristina.martsenko@....com>,
Thomas Gleixner <tglx@...utronix.de>,
linux-arm-kernel@...ts.infradead.org,
Florian Weimer <fweimer@...hat.com>,
linux-kernel@...r.kernel.org, Sudakshina Das <sudi.das@....com>
Subject: Re: [PATCH v3 02/12] ELF: Add ELF program property parsing support
On Tue, Oct 29, 2019 at 04:14:47PM -0700, Kees Cook wrote:
> On Fri, Oct 18, 2019 at 06:25:35PM +0100, Dave Martin wrote:
A bit of a delay, sorry - I've taken this series over from Dave and
wasn't on the CC so only just saw this.
> > +#ifndef ELF_COMPAT
> > +#define ELF_COMPAT 0
> > +#endif
> Why is "compat" interesting for the arch_ callback? Shouldn't just the
> unsigned long size be needed?
The set of properties handled or how they should be handled may vary
depending on the ABI. For example arm64 supports BTI only for AArch64
but not for AArch32 so we should only handle the property for BTI for
AArch64 binaries.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists