diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-12 20:07:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-12 20:07:53 +0000 |
commit | 9bc80d7062a01aa310be0729c095ba6b652c4735 (patch) | |
tree | 9ee8208bc63a09ce1fc9031ffc7123b06ce77b9c /shell/Config.in | |
parent | 4a9ca13fe7587314aa55a800c86e20fc21d8f2b1 (diff) | |
download | busybox-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.in | 17 |
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 | ||
290 | config 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 | |||
290 | config CTTYHACK | 307 | config CTTYHACK |
291 | bool "cttyhack" | 308 | bool "cttyhack" |
292 | default n | 309 | default n |