summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-10-23 08:52:25 +0100
committerPádraig Brady <P@draigBrady.com>2009-10-25 23:28:38 +0000
commit69fbfd400c8000e7a7aeed399476c6d9c002a0bc (patch)
tree9b22bd760cbb452789a81253e28da984459aff44 /NEWS
parent30e4b6e84b7e478121a645515ce891d29cc75105 (diff)
downloadcoreutils-69fbfd400c8000e7a7aeed399476c6d9c002a0bc.tar.xz
timeout: don't orphan monitored programs if they ignore specified signals
* src/timeout.c (install_signal_handlers): Handle any user specified signal, so that if it does not cause the child to exit then we don't exit and orphan the child. Previously this for example, would leave an orphan dd process running: timeout -sUSR1 1s dd if=/dev/zero of=/dev/null * NEWS: Mention the fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1ed577f7f..315ae5f6d 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,9 @@ GNU coreutils NEWS -*- outline -*-
were first renamed or unlinked or never modified.
[The race was introduced in coreutils-7.5]
+ timeout now doesn't exit unless the command it is monitoring does,
+ for any specified signal. [bug introduced in coreutils-7.0].
+
** Changes in behavior
chroot, env, nice, and su fail with status 125, rather than 1, on