[Pkg-fedora-ds-maintainers] [libapache2-mod-nss] 109/156: Ignore SIGHUP in nss_pcache (#591889).

Timo Aaltonen tjaalton-guest at moszumanska.debian.org
Wed Jul 2 13:55:33 UTC 2014


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

tjaalton-guest pushed a commit to branch master
in repository libapache2-mod-nss.

commit 08cfa88f3cb54eeb41163c9a0640f9623af52c60
Author: rcritten <>
Date:   Fri May 14 15:48:15 2010 +0000

    Ignore SIGHUP in nss_pcache (#591889).
    
    Contributed by Joshua Roys <roysjosh at gmail.com>
---
 nss_pcache.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nss_pcache.c b/nss_pcache.c
index 762dcb7..3ba252e 100644
--- a/nss_pcache.c
+++ b/nss_pcache.c
@@ -20,6 +20,7 @@
 #include <seccomon.h>
 #include <pk11func.h>
 #include <secmod.h>
+#include <signal.h>
 #include "nss_pcache.h"
 
 static char * getstr(const char * cmd, int el);
@@ -309,6 +310,8 @@ int main(int argc, char ** argv)
         exit(1);
     }
 
+    signal(SIGHUP, SIG_IGN);
+
     if (!strcasecmp(argv[1], "on"))
         fipsmode = 1;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-fedora-ds/libapache2-mod-nss.git



More information about the Pkg-fedora-ds-maintainers mailing list