diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2022-01-31 19:54:52 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-02-16 01:53:28 +0300 |
commit | b62a8486de3ab1d7c2353ec422b9cca3abfcfbcd (patch) | |
tree | 61cd9c4ab592816b2ffb8032fb8b899cf6851dc3 /fs/Kconfig.binfmt | |
parent | dfd42facf1e4ada021b939b4e19c935dcdd55566 (diff) | |
download | linux-b62a8486de3ab1d7c2353ec422b9cca3abfcfbcd.tar.xz |
elfcore: Replace CONFIG_{IA64, UML} checks with a new option
As arm64 is about to introduce MTE-specific phdrs in the core dump, add
a common CONFIG_ARCH_BINFMT_ELF_EXTRA_PHDRS option currently selectable
by UML_X86 and IA64.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Link: https://lore.kernel.org/r/20220131165456.2160675-2-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'fs/Kconfig.binfmt')
-rw-r--r-- | fs/Kconfig.binfmt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt index 4d5ae61580aa..68e586283764 100644 --- a/fs/Kconfig.binfmt +++ b/fs/Kconfig.binfmt @@ -36,6 +36,9 @@ config COMPAT_BINFMT_ELF config ARCH_BINFMT_ELF_STATE bool +config ARCH_BINFMT_ELF_EXTRA_PHDRS + bool + config ARCH_HAVE_ELF_PROT bool |