diff options
| author | Ron Yorston <rmy@pobox.com> | 2017-02-08 20:09:29 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2017-02-08 20:09:29 +0000 |
| commit | 373275a708bafb88fa4f0519de2166154f44fed9 (patch) | |
| tree | 4587b4fd3f695e0f3705b2a217e199f3144df931 /shell/Config.src | |
| parent | b74b2619779b1deb903b7766261807df1e9b1f7f (diff) | |
| parent | c2b18583a3df06aeecf535c3cea6856aa1f2e205 (diff) | |
| download | busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.tar.gz busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.tar.bz2 busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.zip | |
Merge branch 'busybox' into merge
Diffstat (limited to 'shell/Config.src')
| -rw-r--r-- | shell/Config.src | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/shell/Config.src b/shell/Config.src index 3545f05dd..ccb1b15fe 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 |
| 127 | 127 | without mounted /proc, and ps/top may show command name as 'exe' | |
| 128 | However, this causes problems in chroot jails without mounted /proc | 128 | for applets 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 | ||
| 142 | config FEATURE_SH_NOFORK | 130 | config FEATURE_SH_NOFORK |
| 143 | bool "Run 'nofork' applets directly" | 131 | bool "Run 'nofork' applets directly" |
