From ee8c2b6fdb4cc9cf2cec18f822fdf636adf8e5bb Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 11 Jun 2010 01:12:01 -0400 Subject: [PATCH] restore default SIGCHLD handling to subprocesses so they can make their own mistakes --- Changelog | 1 + msva-perl | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog b/Changelog index 8590c10..8ccc65e 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ msva-perl (0.3~pre) UNRELEASED; * packaging re-organization * properly closing piped monkeysphere call + * restore default SIGCHLD handling for exec'ed subprocess -- Daniel Kahn Gillmor Tue, 23 Mar 2010 16:50:07 -0400 diff --git a/msva-perl b/msva-perl index 8d7d639..fd5892e 100755 --- a/msva-perl +++ b/msva-perl @@ -470,6 +470,8 @@ use strict; foreach (@ARGV) { push @args, untaint($_); } + # restore default SIGCHLD handling: + $SIG{CHLD} = 'DEFAULT'; $ENV{MONKEYSPHERE_VALIDATION_AGENT_SOCKET} = sprintf('http://localhost:%d', $self->port); exec(@args) or exit 111; } -- 2.26.2