summaryrefslogtreecommitdiff
path: root/arch/arm/boot/deflate_xip_data.sh
diff options
context:
space:
mode:
authorJinbum Park <jinb.park7@gmail.com>2018-03-06 03:37:21 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2018-03-24 17:27:49 +0300
commit73b9160d0dfe44dfdaffd6465dc1224c38a4a73c (patch)
tree47b6632f6933c8c797d43ee7eb3b6af10e08af83 /arch/arm/boot/deflate_xip_data.sh
parentad43fc9aa24e9fc9ad780faad62fd78a09da839c (diff)
downloadlinux-73b9160d0dfe44dfdaffd6465dc1224c38a4a73c.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/deflate_xip_data.sh')
0 files changed, 0 insertions, 0 deletions