hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/Kconfig.binfmt
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12
23 menu "Executable file formats"
34
....@@ -6,7 +7,7 @@
67 depends on MMU
78 select ELFCORE
89 default y
9
- ---help---
10
+ help
1011 ELF (Executable and Linkable Format) is a format for libraries and
1112 executables used across different architectures and operating
1213 systems. Saying Y here will enable your kernel to run ELF binaries
....@@ -35,10 +36,16 @@
3536 config ARCH_BINFMT_ELF_STATE
3637 bool
3738
39
+config ARCH_HAVE_ELF_PROT
40
+ bool
41
+
42
+config ARCH_USE_GNU_PROPERTY
43
+ bool
44
+
3845 config BINFMT_ELF_FDPIC
3946 bool "Kernel support for FDPIC ELF binaries"
4047 default y if !BINFMT_ELF
41
- depends on (ARM || (SUPERH32 && !MMU) || C6X)
48
+ depends on (ARM || (SUPERH && !MMU) || C6X)
4249 select ELFCORE
4350 help
4451 ELF FDPIC binaries are based on ELF, but allow the individual load
....@@ -71,7 +78,7 @@
7178
7279 The core dump behavior can be controlled per process using
7380 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.
7582
7683 This config option changes the default setting of coredump_filter
7784 seen at boot time. If unsure, say Y.
....@@ -90,11 +97,27 @@
9097
9198 Most systems will not boot if you say M or N here. If unsure, say Y.
9299
100
+config ARCH_HAS_BINFMT_FLAT
101
+ bool
102
+
93103 config BINFMT_FLAT
94104 bool "Kernel support for flat binaries"
95
- depends on !MMU || ARM || M68K
105
+ depends on ARCH_HAS_BINFMT_FLAT
96106 help
97107 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.
98121
99122 config BINFMT_ZFLAT
100123 bool "Enable ZFLAT support"
....@@ -115,7 +138,7 @@
115138 config BINFMT_AOUT
116139 tristate "Kernel support for a.out and ECOFF binaries"
117140 depends on HAVE_AOUT
118
- ---help---
141
+ help
119142 A.out (Assembler.OUTput) is a set of formats for libraries and
120143 executables used in the earliest versions of UNIX. Linux used
121144 the a.out formats QMAGIC and ZMAGIC until they were replaced
....@@ -145,7 +168,7 @@
145168 config BINFMT_EM86
146169 tristate "Kernel support for Linux/Intel ELF binaries"
147170 depends on ALPHA
148
- ---help---
171
+ help
149172 Say Y here if you want to be able to execute Linux/Intel ELF
150173 binaries just like native Alpha binaries on your Alpha machine. For
151174 this to work, you need to have the emulator /usr/bin/em86 in place.
....@@ -159,7 +182,7 @@
159182
160183 config BINFMT_MISC
161184 tristate "Kernel support for MISC binaries"
162
- ---help---
185
+ help
163186 If you say Y here, it will be possible to plug wrapper-driven binary
164187 formats into the kernel. You will like this especially when you use
165188 programs that need an interpreter to run like Java, Python, .NET or