diff options
author | Josh Triplett <josh@joshtriplett.org> | 2013-04-30 18:27:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 20:04:04 -0400 |
commit | 2535e0d723e4d7723b030f39fb350e436bdb983f (patch) | |
tree | 579bc5baff75dac032bf0819176805a47fd83193 /fs/Makefile | |
parent | d6d67e7231c97d535069970c840d33fc6c4350ee (diff) |
fs: make binfmt support for #! scripts modular and removable
Add a new configuration option CONFIG_BINFMT_SCRIPT to configure support
for interpreted scripts starting with "#!"; allow compiling out that
support, or building it as a module. Embedded systems running exclusively
compiled binaries could leave this support out, and systems that don't
need scripts before mounting the root filesystem can build this as a
module.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/Makefile')
-rw-r--r-- | fs/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/Makefile b/fs/Makefile index 3b2c76759ec9..5e67e57b59dc 100644 --- a/fs/Makefile +++ b/fs/Makefile | |||
@@ -34,10 +34,7 @@ obj-$(CONFIG_COMPAT) += compat.o compat_ioctl.o | |||
34 | obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o | 34 | obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o |
35 | obj-$(CONFIG_BINFMT_EM86) += binfmt_em86.o | 35 | obj-$(CONFIG_BINFMT_EM86) += binfmt_em86.o |
36 | obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o | 36 | obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o |
37 | 37 | obj-$(CONFIG_BINFMT_SCRIPT) += binfmt_script.o | |
38 | # binfmt_script is always there | ||
39 | obj-y += binfmt_script.o | ||
40 | |||
41 | obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o | 38 | obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o |
42 | obj-$(CONFIG_COMPAT_BINFMT_ELF) += compat_binfmt_elf.o | 39 | obj-$(CONFIG_COMPAT_BINFMT_ELF) += compat_binfmt_elf.o |
43 | obj-$(CONFIG_BINFMT_ELF_FDPIC) += binfmt_elf_fdpic.o | 40 | obj-$(CONFIG_BINFMT_ELF_FDPIC) += binfmt_elf_fdpic.o |