Re: [PATCH 1/6] arm64, vdso: Define vdso_{start,end} as array

From: Will Deacon
Date: Tue Jun 06 2017 - 05:49:45 EST


On Tue, Jun 06, 2017 at 10:43:52AM +0100, Catalin Marinas wrote:
> On Mon, Jun 05, 2017 at 09:52:30PM -0700, Kees Cook wrote:
> > Adjust vdso_{start|end} to be char arrays to avoid compile-time analysis
> > that flags "too large" memcmp() calls with CONFIG_FORTIFY_SOURCE.
> >
> > Suggested-by: Mark Rutland <mark.rutland@xxxxxxx>
> > Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> > Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> > Cc: Will Deacon <will.deacon@xxxxxxx>
> > Cc: Jisheng Zhang <jszhang@xxxxxxxxxxx>
>
> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>

Kees -- I'm assuming this series is going via some other tree, but let me
know if you want this patch to go via arm64.

Will