summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-04 19:49:50 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-04 19:49:50 +0100
commit3fa18d27d3f4254f467333a903dcb5f7fcd53b24 (patch)
tree22f97025fbd2c13cb140376e412bd3d793c26f6f /package
parent9384f00cce18077bb32494489f5b9e37ff5564e3 (diff)
downloadbuildroot-novena-3fa18d27d3f4254f467333a903dcb5f7fcd53b24.tar.gz
buildroot-novena-3fa18d27d3f4254f467333a903dcb5f7fcd53b24.zip
busybox: add 1.18.2 libbb fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/busybox/busybox-1.18.2/busybox-1.18.2-libbb.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.18.2/busybox-1.18.2-libbb.patch b/package/busybox/busybox-1.18.2/busybox-1.18.2-libbb.patch
new file mode 100644
index 000000000..aa7e75d70
--- /dev/null
+++ b/package/busybox/busybox-1.18.2/busybox-1.18.2-libbb.patch
@@ -0,0 +1,10 @@
+--- busybox-1.18.2/libbb/vfork_daemon_rexec.c
++++ busybox-1.18.2-libbb/libbb/vfork_daemon_rexec.c
+@@ -52,6 +52,7 @@ pid_t FAST_FUNC spawn(char **argv)
+ * Interested party can wait on pid and learn exit code.
+ * If 111 - then it (most probably) failed to exec */
+ if (failed) {
++ safe_waitpid(pid, NULL, 0); /* prevent zombie */
+ errno = failed;
+ return -1;
+ }