projects/linux·commit eac61655

x86: Deprecate a.out support

eac61655 · Borislav Petkov <[email protected]> · 2019-03-05 15:47:51 +01:00

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 <[email protected]>
Acked-by: Richard Weinberger <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Anton Ivanov <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: lkml <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
eac616557050737a8d6ef6fe0322d0980ff0ffde
Parents
08300f44

Changes

2 files changed · +1 −2

FileStatusAddDelContent
arch/x86/Kconfigmodified+1−1View file
arch/x86/um/Kconfigmodified+0−1View file

arch/x86/Kconfig

View file
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6826143..ade12ec 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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.

arch/x86/um/Kconfig

View file
diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig
index f518b47..494eeb5 100644
--- a/arch/x86/um/Kconfig
+++ b/arch/x86/um/Kconfig
@@ -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