x86: Deprecate a.out support
authorBorislav Petkov <bp@suse.de>
Tue, 5 Mar 2019 14:47:51 +0000 (15:47 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Mar 2019 18:39:38 +0000 (10:39 -0800)
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>
arch/x86/Kconfig
arch/x86/um/Kconfig

index 68261430fe6e9ca949a8e3e067b6bc0e496c4734..ade12ec4224bf7e90c9982f89c2468c5e780d31c 100644 (file)
@@ -14,7 +14,6 @@ config X86_32
        select ARCH_WANT_IPC_PARSE_VERSION
        select CLKSRC_I8253
        select CLONE_BACKWARDS
-       select HAVE_AOUT
        select HAVE_GENERIC_DMA_COHERENT
        select MODULES_USE_ELF_REL
        select OLD_SIGACTION
@@ -2843,6 +2842,7 @@ config IA32_EMULATION
 config IA32_AOUT
        tristate "IA32 a.out support"
        depends on IA32_EMULATION
+       depends on BROKEN
        ---help---
          Support old a.out binaries in the 32bit emulation.
 
index f518b4744ff893282c45ec93746a40ffa7e9eda8..494eeb51e4e18fa4e5a560ff7287287f3cb3047e 100644 (file)
@@ -16,7 +16,6 @@ config 64BIT
 
 config X86_32
        def_bool !64BIT
-       select HAVE_AOUT
        select ARCH_WANT_IPC_PARSE_VERSION
        select MODULES_USE_ELF_REL
        select CLONE_BACKWARDS