diff options
author | Denis Vlasenko | 2008-04-12 20:07:53 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-04-12 20:07:53 +0000 |
commit | 9bc80d7062a01aa310be0729c095ba6b652c4735 (patch) | |
tree | 9ee8208bc63a09ce1fc9031ffc7123b06ce77b9c /shell/Config.in | |
parent | 4a9ca13fe7587314aa55a800c86e20fc21d8f2b1 (diff) | |
download | busybox-9bc80d7062a01aa310be0729c095ba6b652c4735.zip busybox-9bc80d7062a01aa310be0729c095ba6b652c4735.tar.gz |
ash: add FEATURE_SH_NOFORK support
Diffstat (limited to 'shell/Config.in')
-rw-r--r-- | shell/Config.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/shell/Config.in b/shell/Config.in index 40e0217..94ffa09 100644 --- a/shell/Config.in +++ b/shell/Config.in @@ -287,6 +287,23 @@ config FEATURE_SH_STANDALONE # that exact location with that exact name, this option will not work at # all. +config FEATURE_SH_NOFORK + bool "Run 'nofork' applets directly" + default n + depends on (MSH || LASH || HUSH || ASH) && FEATURE_PREFER_APPLETS + help + This option causes busybox shells [currently only ash] + to not execute typical fork/exec/wait sequence, but call <applet>_main + directly, if possible. (Sometimes it is not possible: for example, + this is not possible in pipes). + + This will be done only for some applets (those which are marked + NOFORK in include/applets.h). + + This may significantly speed up some shell scripts. + + This feature is relatively new. Use with care. + config CTTYHACK bool "cttyhack" default n |