aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox/busybox-1.11.1-bb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/busybox/busybox-1.11.1-bb.patch')
-rw-r--r--core/busybox/busybox-1.11.1-bb.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/busybox/busybox-1.11.1-bb.patch b/core/busybox/busybox-1.11.1-bb.patch
new file mode 100644
index 0000000000..bb858cacd8
--- /dev/null
+++ b/core/busybox/busybox-1.11.1-bb.patch
@@ -0,0 +1,12 @@
+diff -ru busybox-1.11.1.orig/shell/ash.c busybox-1.11.1/shell/ash.c
+--- busybox-1.11.1.orig/shell/ash.c 2008-07-28 09:04:29 +0000
++++ busybox-1.11.1/shell/ash.c 2008-07-28 09:09:21 +0000
+@@ -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 */
+ }