Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: compat_binfmt_elf Kconfig

This adds Kconfig and Makefile bits to build fs/compat_binfmt_elf.c,
just added. Each arch that wants to use this file needs to add a
"select COMPAT_BINFMT_ELF" line in its Kconfig bits that enable COMPAT.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Roland McGrath and committed by
Ingo Molnar
b9d36d5d 2f79e48a

+5
+4
fs/Kconfig.binfmt
··· 23 23 ld.so (check the file <file:Documentation/Changes> for location and 24 24 latest version). 25 25 26 + config COMPAT_BINFMT_ELF 27 + bool 28 + depends on COMPAT && MMU 29 + 26 30 config BINFMT_ELF_FDPIC 27 31 bool "Kernel support for FDPIC ELF binaries" 28 32 default y
+1
fs/Makefile
··· 39 39 obj-y += binfmt_script.o 40 40 41 41 obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o 42 + obj-$(CONFIG_COMPAT_BINFMT_ELF) += compat_binfmt_elf.o 42 43 obj-$(CONFIG_BINFMT_ELF_FDPIC) += binfmt_elf_fdpic.o 43 44 obj-$(CONFIG_BINFMT_SOM) += binfmt_som.o 44 45 obj-$(CONFIG_BINFMT_FLAT) += binfmt_flat.o