Re: [kernel-hardening] [PATCH 1/2] arm: mm: Define vdso_start, vdso_end as array

2018-02-28 Thread Kees Cook
On Wed, Feb 28, 2018 at 6:29 AM, Jinbum Park wrote: > 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 k

[kernel-hardening] [PATCH 1/2] arm: mm: Define vdso_start, vdso_end as array

2018-02-28 Thread Jinbum Park
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 hap