aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2019-03-05 09:47:51 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-05 13:39:38 -0500
commiteac616557050737a8d6ef6fe0322d0980ff0ffde (patch)
tree1c6059c5eaf9102f74f07cf935133a9eb685e72d
parent08300f4402abc0eb3bc9c91b27a529836710d32d (diff)
x86: Deprecate a.out support
Linux supports ELF binaries for ~25 years now. a.out coredumping has bitrotten quite significantly and would need some fixing to get it into shape again but considering how even the toolchains cannot create a.out executables in its default configuration, let's deprecate a.out support and remove it a couple of releases later, instead. Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Richard Weinberger <richard@nod.at> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com> Cc: Jann Horn <jannh@google.com> Cc: <linux-api@vger.kernel.org> Cc: <linux-fsdevel@vger.kernel.org> Cc: lkml <linux-kernel@vger.kernel.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: <x86@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/x86/Kconfig2
-rw-r--r--arch/x86/um/Kconfig1
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 68261430fe6e..ade12ec4224b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -14,7 +14,6 @@ config X86_32
14 select ARCH_WANT_IPC_PARSE_VERSION 14 select ARCH_WANT_IPC_PARSE_VERSION
15 select CLKSRC_I8253 15 select CLKSRC_I8253
16 select CLONE_BACKWARDS 16 select CLONE_BACKWARDS
17 select HAVE_AOUT
18 select HAVE_GENERIC_DMA_COHERENT 17 select HAVE_GENERIC_DMA_COHERENT
19 select MODULES_USE_ELF_REL 18 select MODULES_USE_ELF_REL
20 select OLD_SIGACTION 19 select OLD_SIGACTION
@@ -2843,6 +2842,7 @@ config IA32_EMULATION
2843config IA32_AOUT 2842config IA32_AOUT
2844 tristate "IA32 a.out support" 2843 tristate "IA32 a.out support"
2845 depends on IA32_EMULATION 2844 depends on IA32_EMULATION
2845 depends on BROKEN
2846 ---help--- 2846 ---help---
2847 Support old a.out binaries in the 32bit emulation. 2847 Support old a.out binaries in the 32bit emulation.
2848 2848
diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig
index f518b4744ff8..494eeb51e4e1 100644
--- a/arch/x86/um/Kconfig
+++ b/arch/x86/um/Kconfig
@@ -16,7 +16,6 @@ config 64BIT
16 16
17config X86_32 17config X86_32
18 def_bool !64BIT 18 def_bool !64BIT
19 select HAVE_AOUT
20 select ARCH_WANT_IPC_PARSE_VERSION 19 select ARCH_WANT_IPC_PARSE_VERSION
21 select MODULES_USE_ELF_REL 20 select MODULES_USE_ELF_REL
22 select CLONE_BACKWARDS 21 select CLONE_BACKWARDS