summaryrefslogtreecommitdiff
path: root/shell/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-12 20:07:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-12 20:07:53 +0000
commit9bc80d7062a01aa310be0729c095ba6b652c4735 (patch)
tree9ee8208bc63a09ce1fc9031ffc7123b06ce77b9c /shell/Config.in
parent4a9ca13fe7587314aa55a800c86e20fc21d8f2b1 (diff)
downloadbusybox-w32-9bc80d7062a01aa310be0729c095ba6b652c4735.tar.gz
busybox-w32-9bc80d7062a01aa310be0729c095ba6b652c4735.tar.bz2
busybox-w32-9bc80d7062a01aa310be0729c095ba6b652c4735.zip
ash: add FEATURE_SH_NOFORK support
Diffstat (limited to 'shell/Config.in')
-rw-r--r--shell/Config.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/shell/Config.in b/shell/Config.in
index 40e0217f4..94ffa09f8 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -287,6 +287,23 @@ config FEATURE_SH_STANDALONE
287# that exact location with that exact name, this option will not work at 287# that exact location with that exact name, this option will not work at
288# all. 288# all.
289 289
290config FEATURE_SH_NOFORK
291 bool "Run 'nofork' applets directly"
292 default n
293 depends on (MSH || LASH || HUSH || ASH) && FEATURE_PREFER_APPLETS
294 help
295 This option causes busybox shells [currently only ash]
296 to not execute typical fork/exec/wait sequence, but call <applet>_main
297 directly, if possible. (Sometimes it is not possible: for example,
298 this is not possible in pipes).
299
300 This will be done only for some applets (those which are marked
301 NOFORK in include/applets.h).
302
303 This may significantly speed up some shell scripts.
304
305 This feature is relatively new. Use with care.
306
290config CTTYHACK 307config CTTYHACK
291 bool "cttyhack" 308 bool "cttyhack"
292 default n 309 default n