.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | |
---|
2 | 3 | menu "Executable file formats" |
---|
3 | 4 | |
---|
.. | .. |
---|
6 | 7 | depends on MMU |
---|
7 | 8 | select ELFCORE |
---|
8 | 9 | default y |
---|
9 | | - ---help--- |
---|
| 10 | + help |
---|
10 | 11 | ELF (Executable and Linkable Format) is a format for libraries and |
---|
11 | 12 | executables used across different architectures and operating |
---|
12 | 13 | systems. Saying Y here will enable your kernel to run ELF binaries |
---|
.. | .. |
---|
35 | 36 | config ARCH_BINFMT_ELF_STATE |
---|
36 | 37 | bool |
---|
37 | 38 | |
---|
| 39 | +config ARCH_HAVE_ELF_PROT |
---|
| 40 | + bool |
---|
| 41 | + |
---|
| 42 | +config ARCH_USE_GNU_PROPERTY |
---|
| 43 | + bool |
---|
| 44 | + |
---|
38 | 45 | config BINFMT_ELF_FDPIC |
---|
39 | 46 | bool "Kernel support for FDPIC ELF binaries" |
---|
40 | 47 | default y if !BINFMT_ELF |
---|
41 | | - depends on (ARM || (SUPERH32 && !MMU) || C6X) |
---|
| 48 | + depends on (ARM || (SUPERH && !MMU) || C6X) |
---|
42 | 49 | select ELFCORE |
---|
43 | 50 | help |
---|
44 | 51 | ELF FDPIC binaries are based on ELF, but allow the individual load |
---|
.. | .. |
---|
71 | 78 | |
---|
72 | 79 | The core dump behavior can be controlled per process using |
---|
73 | 80 | the /proc/PID/coredump_filter pseudo-file; this setting is |
---|
74 | | - inherited. See Documentation/filesystems/proc.txt for details. |
---|
| 81 | + inherited. See Documentation/filesystems/proc.rst for details. |
---|
75 | 82 | |
---|
76 | 83 | This config option changes the default setting of coredump_filter |
---|
77 | 84 | seen at boot time. If unsure, say Y. |
---|
.. | .. |
---|
90 | 97 | |
---|
91 | 98 | Most systems will not boot if you say M or N here. If unsure, say Y. |
---|
92 | 99 | |
---|
| 100 | +config ARCH_HAS_BINFMT_FLAT |
---|
| 101 | + bool |
---|
| 102 | + |
---|
93 | 103 | config BINFMT_FLAT |
---|
94 | 104 | bool "Kernel support for flat binaries" |
---|
95 | | - depends on !MMU || ARM || M68K |
---|
| 105 | + depends on ARCH_HAS_BINFMT_FLAT |
---|
96 | 106 | help |
---|
97 | 107 | Support uClinux FLAT format binaries. |
---|
| 108 | + |
---|
| 109 | +config BINFMT_FLAT_ARGVP_ENVP_ON_STACK |
---|
| 110 | + bool |
---|
| 111 | + |
---|
| 112 | +config BINFMT_FLAT_OLD_ALWAYS_RAM |
---|
| 113 | + bool |
---|
| 114 | + |
---|
| 115 | +config BINFMT_FLAT_OLD |
---|
| 116 | + bool "Enable support for very old legacy flat binaries" |
---|
| 117 | + depends on BINFMT_FLAT |
---|
| 118 | + help |
---|
| 119 | + Support decade old uClinux FLAT format binaries. Unless you know |
---|
| 120 | + you have some of those say N here. |
---|
98 | 121 | |
---|
99 | 122 | config BINFMT_ZFLAT |
---|
100 | 123 | bool "Enable ZFLAT support" |
---|
.. | .. |
---|
115 | 138 | config BINFMT_AOUT |
---|
116 | 139 | tristate "Kernel support for a.out and ECOFF binaries" |
---|
117 | 140 | depends on HAVE_AOUT |
---|
118 | | - ---help--- |
---|
| 141 | + help |
---|
119 | 142 | A.out (Assembler.OUTput) is a set of formats for libraries and |
---|
120 | 143 | executables used in the earliest versions of UNIX. Linux used |
---|
121 | 144 | the a.out formats QMAGIC and ZMAGIC until they were replaced |
---|
.. | .. |
---|
145 | 168 | config BINFMT_EM86 |
---|
146 | 169 | tristate "Kernel support for Linux/Intel ELF binaries" |
---|
147 | 170 | depends on ALPHA |
---|
148 | | - ---help--- |
---|
| 171 | + help |
---|
149 | 172 | Say Y here if you want to be able to execute Linux/Intel ELF |
---|
150 | 173 | binaries just like native Alpha binaries on your Alpha machine. For |
---|
151 | 174 | this to work, you need to have the emulator /usr/bin/em86 in place. |
---|
.. | .. |
---|
159 | 182 | |
---|
160 | 183 | config BINFMT_MISC |
---|
161 | 184 | tristate "Kernel support for MISC binaries" |
---|
162 | | - ---help--- |
---|
| 185 | + help |
---|
163 | 186 | If you say Y here, it will be possible to plug wrapper-driven binary |
---|
164 | 187 | formats into the kernel. You will like this especially when you use |
---|
165 | 188 | programs that need an interpreter to run like Java, Python, .NET or |
---|