From: Zac Medico Date: Thu, 23 Dec 2010 19:40:55 +0000 (-0800) Subject: _exec: disable SIGQUIT handler override by parent X-Git-Tag: v2.2.0_alpha11~32 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c2764a400c1fcc17d50aebccd5ec60692722761;p=portage.git _exec: disable SIGQUIT handler override by parent This will fix bug #289486. --- diff --git a/pym/portage/process.py b/pym/portage/process.py index 3809ed8a0..00fe4a5eb 100644 --- a/pym/portage/process.py +++ b/pym/portage/process.py @@ -352,6 +352,10 @@ def _exec(binary, mycommand, opt_name, fd_pipes, env, gid, groups, uid, umask, # Quiet killing of subprocesses by SIGPIPE (see bug #309001). signal.signal(signal.SIGPIPE, signal.SIG_DFL) + # Avoid issues triggered by inheritance of SIGQUIT handler from + # the parent process (see bug #289486). + signal.signal(signal.SIGQUIT, signal.SIG_DFL) + _setup_pipes(fd_pipes) # Set requested process permissions.