summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-11-12 11:34:49 +0100
committerWerner Koch <wk@gnupg.org>2016-11-12 11:34:49 +0100
commitb829dfe9f0eeff08c956ba3f3a6b559b9d2199dd (patch)
tree3a98a91d1e3ea957af9d41b288c5138f9d964c6e /NEWS
parentbf6d5b10cb4173826f47ac080506b68bb001acb2 (diff)
downloadlibgcrypt-b829dfe9f0eeff08c956ba3f3a6b559b9d2199dd.tar.gz
Put blocking calls into Libgpg-error's system call clamp.
* src/gcrypt.h.in (GCRYCTL_REINIT_SYSCALL_CLAMP): New. * configure.ac: Require Libgpg-error 1.25. Set version number to 1.8.0. * src/gcrypt-int.h: Remove error code emulation. * src/global.c (pre_syscall_func, post_syscall_func): New. (global_init): Call gpgrt_get_syscall_clamp. (_gcry_vcontrol) <GCRYCTL_REINIT_SYSCALL_CLAMP>: Ditto. (_gcry_pre_syscall, _gcry_post_syscall): New. * random/rndlinux.c (_gcry_rndlinux_gather_random): Use the new functions. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS20
1 files changed, 19 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cdf1ef4b..0aaf8630 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,24 @@
-Noteworthy changes in version 1.7.4 (unreleased) [C21/A1/R_]
+Noteworthy changes in version 1.8.0 (unreleased) [C21/A1/R_]
------------------------------------------------
+ * New interfaces:
+
+ - GCRYCTL_REINIT_SYSCALL_CLAMP allows to init nPth after Libgcrypt.
+
+ * Internal changes:
+
+ - Libgpg-error 1.25 is now required. This avoids stalling of nPth
+ threads due to contention on internal Libgcrypt locks (e.g. the
+ random pool lock).
+
+ - The system call clamp of libgpg-error is now used to wrap the
+ blocking read of /dev/random. This allows other nPth threads to
+ run while Libgcrypt is gathering entropy.
+
+
+ * Interface changes relative to the 1.6.0 release:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ GCRYCTL_REINIT_SYSCALL_CLAMP NEW macro.
Noteworthy changes in version 1.7.3 (2016-08-17) [C21/A1/R3]
------------------------------------------------