Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig
authorVignesh Balasubramanian <vigbalas@amd.com>
Fri, 12 Apr 2024 06:21:39 +0000 (11:51 +0530)
committerKees Cook <keescook@chromium.org>
Mon, 15 Apr 2024 18:02:51 +0000 (11:02 -0700)
commita9c3475dd67bd828d999e95d0ba985e7ac4cbbb7
tree3e561f43c0d15026d1acde241a6d97db9908004d
parentc82389947d90c8b0dd206d9ef082191eb58df8fc
Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig

"ARCH_HAVE_EXTRA_ELF_NOTES" enables an extra note section in the
core dump. Kconfig variable is preferred over ARCH_HAVE_* macro.

Co-developed-by: Jini Susan George <jinisusan.george@amd.com>
Signed-off-by: Jini Susan George <jinisusan.george@amd.com>
Signed-off-by: Vignesh Balasubramanian <vigbalas@amd.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20240412062138.1132841-2-vigbalas@amd.com
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/Kconfig
arch/powerpc/Kconfig
arch/powerpc/include/asm/elf.h
include/linux/elf.h