Files
linux/arch/arm/include/asm
Jinbum Park 73b9160d0d ARM: 8748/1: mm: Define vdso_start, vdso_end as array
Define vdso_start, vdso_end as array to avoid compile-time analysis error
for the case of built with CONFIG_FORTIFY_SOURCE.

and, since vdso_start, vdso_end are used in vdso.c only,
move extern-declaration from vdso.h to vdso.c.

If kernel is built with CONFIG_FORTIFY_SOURCE,
compile-time error happens at this code.
- if (memcmp(&vdso_start, "177ELF", 4))

The size of "&vdso_start" is recognized as 1 byte, but n is 4,
So that compile-time error is reported.

Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2018-03-24 14:27:49 +00:00
..
2018-02-06 18:32:44 -08:00
2017-11-15 18:21:04 -08:00
2017-06-05 17:50:44 +02:00
2015-05-28 15:31:53 +02:00
2018-01-21 15:37:56 +00:00
2017-11-13 01:34:49 +01:00
2016-10-19 10:18:47 +01:00