Commit 7064a34f authored by Ben Hutchings's avatar Ben Hutchings

[x86,alpha,m68k] binfmt: Disable BINFMT_AOUT, IA32_AOUT, OSF4_COMPAT

a.out support is now untested and occasionally results in security
bugs, and will be deprecated upstream (depends on BROKEN) for x86 in
5.1.  Disable it completely.

See:
https://lore.kernel.org/lkml/CAG48ez1RVd5mQ_Pb6eygQESaZhpQz765OAZYSoPE0kPqfZEXQg@mail.gmail.com/
https://lore.kernel.org/lkml/20190305145717.GD8256@zn.tnic/
parent 4895e487
linux (4.19.28-2) UNRELEASED; urgency=medium
* [x86,alpha,m68k] binfmt: Disable BINFMT_AOUT, IA32_AOUT, OSF4_COMPAT
-- Ben Hutchings <ben@decadent.org.uk> Tue, 12 Mar 2019 15:44:31 +0000
linux (4.19.28-1) unstable; urgency=medium linux (4.19.28-1) unstable; urgency=medium
* New upstream stable update: * New upstream stable update:
......
...@@ -904,8 +904,6 @@ CONFIG_USBPCWATCHDOG=m ...@@ -904,8 +904,6 @@ CONFIG_USBPCWATCHDOG=m
## ##
## file: fs/Kconfig.binfmt ## file: fs/Kconfig.binfmt
## ##
CONFIG_BINFMT_AOUT=m
CONFIG_OSF4_COMPAT=y
# CONFIG_BINFMT_EM86 is not set # CONFIG_BINFMT_EM86 is not set
## ##
......
...@@ -33,6 +33,7 @@ CONFIG_LEGACY_VSYSCALL_NONE=y ...@@ -33,6 +33,7 @@ CONFIG_LEGACY_VSYSCALL_NONE=y
## end choice ## end choice
CONFIG_PCI_MMCONFIG=y CONFIG_PCI_MMCONFIG=y
CONFIG_ISA_DMA_API=y CONFIG_ISA_DMA_API=y
# CONFIG_IA32_AOUT is not set
CONFIG_X86_X32=y CONFIG_X86_X32=y
CONFIG_X86_X32_DISABLED=y CONFIG_X86_X32_DISABLED=y
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
# CONFIG_ISA_DMA_API is not set # CONFIG_ISA_DMA_API is not set
# CONFIG_ISA is not set # CONFIG_ISA is not set
# CONFIG_EISA is not set # CONFIG_EISA is not set
# CONFIG_IA32_AOUT is not set
# CONFIG_X86_X32 is not set # CONFIG_X86_X32 is not set
## ##
......
...@@ -5772,6 +5772,7 @@ CONFIG_BFS_FS=m ...@@ -5772,6 +5772,7 @@ CONFIG_BFS_FS=m
CONFIG_BINFMT_ELF=y CONFIG_BINFMT_ELF=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y CONFIG_BINFMT_SCRIPT=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_MISC=m CONFIG_BINFMT_MISC=m
CONFIG_COREDUMP=y CONFIG_COREDUMP=y
......
...@@ -465,11 +465,6 @@ CONFIG_PCWATCHDOG=m ...@@ -465,11 +465,6 @@ CONFIG_PCWATCHDOG=m
CONFIG_MIXCOMWD=m CONFIG_MIXCOMWD=m
CONFIG_WDT=m CONFIG_WDT=m
##
## file: fs/Kconfig.binfmt
##
CONFIG_BINFMT_AOUT=m
## ##
## file: kernel/irq/Kconfig ## file: kernel/irq/Kconfig
## ##
......
...@@ -80,7 +80,6 @@ CONFIG_PCI=y ...@@ -80,7 +80,6 @@ CONFIG_PCI=y
#. Doesn't support handover; see #822575 #. Doesn't support handover; see #822575
# CONFIG_X86_SYSFB is not set # CONFIG_X86_SYSFB is not set
CONFIG_IA32_EMULATION=y CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y
## ##
## file: arch/x86/Kconfig.cpu ## file: arch/x86/Kconfig.cpu
......
...@@ -633,7 +633,6 @@ CONFIG_ZORRO_NAMES=y ...@@ -633,7 +633,6 @@ CONFIG_ZORRO_NAMES=y
## file: fs/Kconfig.binfmt ## file: fs/Kconfig.binfmt
## ##
CONFIG_BINFMT_ELF=y CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m CONFIG_BINFMT_MISC=m
## ##
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment