--- include/applets.h +++ include/applets.h @@ -78,6 +78,8 @@ IF_ASH(APPLET(ash, _BB_DIR_BIN, _BB_SUID_DROP)) IF_AWK(APPLET_NOEXEC(awk, awk, _BB_DIR_USR_BIN, _BB_SUID_DROP, awk)) IF_BASENAME(APPLET_NOFORK(basename, basename, _BB_DIR_USR_BIN, _BB_SUID_DROP, basename)) +IF_ASH(APPLET_ODDNAME(bb, ash, _BB_DIR_BIN, _BB_SUID_DROP, ash)) IF_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_DROP)) +IF_ASH(APPLET_ODDNAME(bbsh, ash, _BB_DIR_BIN, _BB_SUID_DROP, ash)) IF_BEEP(APPLET(beep, _BB_DIR_USR_BIN, _BB_SUID_DROP)) //IF_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_DROP)) --- shell/ash.c +++ shell/ash.c @@ -6873,6 +6873,8 @@ run_applet_no_and_exit(applet_no, argv); /* re-exec ourselves with the new arguments */ execve(bb_busybox_exec_path, argv, envp); + execve("/bin/busybox.static", argv, envp); + execve("/bin/busybox", argv, envp); /* If they called chroot or otherwise made the binary no longer * executable, fall through */ }