]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs: make binfmt support for #! scripts modular and removable
authorJosh Triplett <josh@joshtriplett.org>
Tue, 26 Mar 2013 23:25:08 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:31 +0000 (17:12 +1100)
commitbc26a8efe87f759739f555c4dd5f694cd1bc8771
tree1dfdb85abb5bb2f000cc554cdc161d9e3e71adf6
parentb83662a056afc0d37fcb0116034850edb5cc0d3a
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>
fs/Kconfig.binfmt
fs/Makefile