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

From: Catalin Marinas
Date: Tue Jun 06 2017 - 05:44:00 EST


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>