summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-08-21 13:26:05 +0200
committerChristian Heimes <christian@cheimes.de>2013-08-21 13:26:05 +0200
commit5ac4b5df2c236c92a1c9bf79d15f0b0bf88b9904 (patch)
tree108ed0eb8455c36f30cf152e65b3c9a97c435284 /pyconfig.h.in
parent569e928349f973c4629e8770f91d184270281a3d (diff)
downloadcpython-5ac4b5df2c236c92a1c9bf79d15f0b0bf88b9904.tar.gz
Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index ba06ff4170..0020300873 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -633,6 +633,9 @@
/* Define if your compiler supports function prototype */
#undef HAVE_PROTOTYPES
+/* Define to 1 if you have the `pthread_atfork' function. */
+#undef HAVE_PTHREAD_ATFORK
+
/* Defined for Solaris 2.6 bug in pthread header. */
#undef HAVE_PTHREAD_DESTRUCTOR