aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-26 18:31:51 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-26 18:31:51 +0100
commit786c9dc0c1351cea34e71a91c6bf34a3c62b19d4 (patch)
tree69c9f3576eb24b385a7af271d43d6f6b86859f14
parent9967c9949e0436879354e76c2847d697c309984c (diff)
downloadbusybox-w32-786c9dc0c1351cea34e71a91c6bf34a3c62b19d4.tar.gz
busybox-w32-786c9dc0c1351cea34e71a91c6bf34a3c62b19d4.tar.bz2
busybox-w32-786c9dc0c1351cea34e71a91c6bf34a3c62b19d4.zip
sh: fix FEATURE_SH_STANDALONE help text: it does not enable NOFORK
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/Config.src22
1 files changed, 5 insertions, 17 deletions
diff --git a/shell/Config.src b/shell/Config.src
index 3545f05dd..6a7e12aa7 100644
--- a/shell/Config.src
+++ b/shell/Config.src
@@ -121,23 +121,11 @@ config FEATURE_SH_STANDALONE
121 for use as a rescue shell, in the event that you screw up your system. 121 for use as a rescue shell, in the event that you screw up your system.
122 122
123 This is implemented by re-execing /proc/self/exe (typically) 123 This is implemented by re-execing /proc/self/exe (typically)
124 with right parameters. Some selected applets ("NOFORK" applets) 124 with right parameters.
125 can even be executed without creating new process. 125
126 Instead, busybox will call <applet>_main() internally. 126 However, there are drawbacks: it is problematic in chroot jails without
127 127 mounted /proc, and ps/top may show command name as 'exe' for applets
128 However, this causes problems in chroot jails without mounted /proc 128 started this way.
129 and with ps/top (command name can be shown as 'exe' for applets
130 started this way).
131# untrue?
132# Note that this will *also* cause applets to take precedence
133# over shell builtins of the same name. So turning this on will
134# eliminate any performance gained by turning on the builtin "echo"
135# and "test" commands in ash.
136# untrue?
137# Note that when using this option, the shell will attempt to directly
138# run '/bin/busybox'. If you do not have the busybox binary sitting in
139# that exact location with that exact name, this option will not work at
140# all.
141 129
142config FEATURE_SH_NOFORK 130config FEATURE_SH_NOFORK
143 bool "Run 'nofork' applets directly" 131 bool "Run 'nofork' applets directly"