aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-09-29 20:35:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-09-29 20:35:55 +0200
commit91e11eba6e3ee21f70905bca857b9b216fb764f6 (patch)
treeaf5ff54c4eae189db990e9fe470f790da4308b99 /LICENSE
parent8d5f465a206e307bc47d8157b6c90152ddd2ab3c (diff)
downloadbusybox-91e11eba6e3ee21f70905bca857b9b216fb764f6.tar.gz
ash: jobs: Fix waitcmd busy loop
Upstream commit: Date: Tue, 2 Jun 2020 23:46:48 +1000 jobs: Fix waitcmd busy loop We need to clear gotsigchld in waitproc because it is used as a loop conditional for the waitcmd case. Without it waitcmd may busy loop after a SIGCHLD. This patch also changes gotsigchld into a volatile sig_atomic_t to prevent compilers from optimising its accesses away. Fixes: 6c691b3e5099 ("jobs: Only clear gotsigchld when waiting...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> This change also incorporates other changes to bring us closer to upstream. function old new delta dowait 553 636 +83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions