[Pkg-privacy-commits] [msva-perl] 116/356: restore default SIGCHLD handling to subprocesses so they can make their own mistakes

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository msva-perl.

commit ee8c2b6fdb4cc9cf2cec18f822fdf636adf8e5bb
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Fri Jun 11 01:12:01 2010 -0400

    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 <dkg at fifthhorseman.net>  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;
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git



More information about the Pkg-privacy-commits mailing list