linux/arch/arm64/kernel/vdso
Xin Li e1789d7c75 kbuild: upgrade the orphan section warning to an error if CONFIG_WERROR is set
Andrew Cooper suggested upgrading the orphan section warning to a hard link
error. However Nathan Chancellor said outright turning the warning into an
error with no escape hatch might be too aggressive, as we have had these
warnings triggered by new compiler generated sections, and suggested turning
orphan sections into an error only if CONFIG_WERROR is set. Kees Cook echoed
and emphasized that the mandate from Linus is that we should avoid breaking
builds. It wrecks bisection, it causes problems across compiler versions, etc.

Thus upgrade the orphan section warning to a hard link error only if
CONFIG_WERROR is set.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Xin Li <xin3.li@intel.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20221025073023.16137-2-xin3.li@intel.com
2022-11-01 10:04:52 -07:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
gen_vdso_offsets.sh arm64: Support running gen_vdso_offsets.sh with BSD userland. 2021-01-20 12:23:27 +00:00
Makefile kbuild: upgrade the orphan section warning to an error if CONFIG_WERROR is set 2022-11-01 10:04:52 -07:00
note.S arm64: vdso: Annotate for BTI 2020-05-07 17:53:20 +01:00
sigreturn.S arm64: vdso: Disable dwarf unwinding through the sigreturn trampoline 2020-06-23 14:47:03 +01:00
vdso.lds.S arm64: alternative: patch alternatives in the vDSO 2022-09-09 12:27:25 +01:00
vgettimeofday.c arm64: vdso: Include common headers in the vdso library 2020-03-21 15:24:01 +01:00