diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-21 00:41:04 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-21 00:41:04 +0000 |
commit | bb21944ea0d5e95f07691dfaeaba404ddfa70528 (patch) | |
tree | 3e82c2dd94d674a723f3d7df350f32dc8892adc1 /scripts | |
parent | ff978c7d73d84e06ee5dc927a180cdc794d35b21 (diff) | |
download | busybox-w32-bb21944ea0d5e95f07691dfaeaba404ddfa70528.tar.gz busybox-w32-bb21944ea0d5e95f07691dfaeaba404ddfa70528.tar.bz2 busybox-w32-bb21944ea0d5e95f07691dfaeaba404ddfa70528.zip |
Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our own
executable if we asked to exec someting with argv[0] == known_applet"
Use it in init. Also respect PATH in init, remove explicit "/sbin" etc
from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu>
git-svn-id: svn://busybox.net/trunk/busybox@17426 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/defconfig b/scripts/defconfig index 2c82ed474..fc43deb2d 100644 --- a/scripts/defconfig +++ b/scripts/defconfig | |||
@@ -27,6 +27,7 @@ CONFIG_FEATURE_SYSLOG=y | |||
27 | CONFIG_FEATURE_SUID_CONFIG=y | 27 | CONFIG_FEATURE_SUID_CONFIG=y |
28 | CONFIG_FEATURE_SUID_CONFIG_QUIET=y | 28 | CONFIG_FEATURE_SUID_CONFIG_QUIET=y |
29 | # CONFIG_SELINUX is not set | 29 | # CONFIG_SELINUX is not set |
30 | #CONFIG_FEATURE_EXEC_PREFER_APPLETS is not set | ||
30 | CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" | 31 | CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" |
31 | 32 | ||
32 | # | 33 | # |