arm64, vdso: Define vdso_{start,end} as array
authorKees Cook <keescook@chromium.org>
Tue, 6 Jun 2017 04:52:30 +0000 (21:52 -0700)
committerWill Deacon <will.deacon@arm.com>
Tue, 6 Jun 2017 16:49:55 +0000 (17:49 +0100)
commitdbbb08f500d6146398b794fdc68a8e811366b451
tree8a224d661380d2dd65612671096c27070f963a5a
parent8dd0ee651d8aefdc2d8ae0fcc9c68dfc943c9e4c
arm64, vdso: Define vdso_{start,end} as array

Adjust vdso_{start|end} to be char arrays to avoid compile-time analysis
that flags "too large" memcmp() calls with CONFIG_FORTIFY_SOURCE.

Cc: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/vdso.c