[389-commits] mod_nss nss_pcache.c,1.10,1.11

rcritten rcritten at fedoraproject.org
Fri May 14 15:48:17 UTC 2010


Author: rcritten

Update of /cvs/dirsec/mod_nss
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4794

Modified Files:
	nss_pcache.c 
Log Message:
Ignore SIGHUP in nss_pcache (#591889). 

Contributed by Joshua Roys <roysjosh at gmail.com>



Index: nss_pcache.c
===================================================================
RCS file: /cvs/dirsec/mod_nss/nss_pcache.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- nss_pcache.c	2 Jul 2008 14:54:06 -0000	1.10
+++ nss_pcache.c	14 May 2010 15:48:15 -0000	1.11
@@ -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 @@
         exit(1);
     }
 
+    signal(SIGHUP, SIG_IGN);
+
     if (!strcasecmp(argv[1], "on"))
         fipsmode = 1;
 



More information about the 389-commits mailing list