summaryrefslogtreecommitdiffstats
path: root/mod_nss-pcachesignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'mod_nss-pcachesignal.h')
-rw-r--r--mod_nss-pcachesignal.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/mod_nss-pcachesignal.h b/mod_nss-pcachesignal.h
new file mode 100644
index 0000000..cb2e135
--- /dev/null
+++ b/mod_nss-pcachesignal.h
@@ -0,0 +1,21 @@
+diff -u --recursive mod_nss-1.0.8.orig/nss_pcache.c mod_nss-1.0.8/nss_pcache.c
+--- mod_nss-1.0.8.orig/nss_pcache.c 2008-07-02 10:54:06.000000000 -0400
++++ mod_nss-1.0.8/nss_pcache.c 2010-05-14 13:32:57.000000000 -0400
+@@ -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;
+
+Only in mod_nss-1.0.8: nss_pcache.c.rej