diff options
author | Denys Vlasenko | 2020-02-18 14:28:30 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-02-18 14:28:30 +0100 |
commit | d81af7216b3305a1aac211dc847dd1c191f3b307 (patch) | |
tree | 3ff0488dfe7ee89a7a5472c2f75e9c8cecc99554 /libbb/single_argv.c | |
parent | 22c75924daa41b7ea097796afd4baafa2fc99d05 (diff) | |
download | busybox-d81af7216b3305a1aac211dc847dd1c191f3b307.zip busybox-d81af7216b3305a1aac211dc847dd1c191f3b307.tar.gz |
ash: eval: Reap zombies after built-in commands and functions
Upstream commit:
Date: Mon, 26 Mar 2018 23:55:50 +0800
eval: Reap zombies after built-in commands and functions
Currently dash does not reap dead children after built-in commands
or functions. This means that if you construct a loop consisting
of solely built-in commands and functions, then zombies can hang
around indefinitely.
This patch fixes this by reaping when necessary after each built-in
command and function.
Reported-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/single_argv.c')
0 files changed, 0 insertions, 0 deletions