1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
NIIBE Yutaka eda17649f8 agent, dirmngr, scd: npth_init must be after fork.
* agent/gpg-agent.c (thread_init_once, initialize_modules): New.
(main): Make sure no daemonizing-fork call after npth_init, and no npth
calls before npth_init, with care of npth calls by assuan hooks.
* dirmngr/dirmngr.c (thread_init): New.
(main): Make sure npth_init must not be called before daemonizing fork.
* scd/scdaemon.c (main): Likewise.

--

It is simply the best for nPth not to allow the daemonizing fork after
npth_init, because semantics and implementations of forked child process
in a threaded application is a difficult corner case.

GnuPG-bug-id: 1779
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-10-04 09:01:13 +09:00
..
2010-12-14 19:17:58 +00:00
2016-09-17 15:57:31 +09:00
2016-09-17 15:57:31 +09:00
2010-07-23 16:16:14 +00:00
2016-09-20 15:33:57 +02:00
2015-11-12 13:20:18 +01:00
2016-08-11 21:32:55 +02:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2016-08-03 16:55:33 +02:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2015-03-23 19:58:26 +01:00
2010-06-09 16:53:51 +00:00