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
..
2016-07-18 12:51:38 +02:00
2015-10-28 10:20:17 +01:00
2016-09-17 16:00:37 +09:00
2016-09-17 16:00:37 +09:00
2016-08-09 11:42:20 +09:00
2015-11-17 12:50:22 +01:00
2016-09-17 16:00:37 +09:00
2016-08-03 16:54:01 +02:00
2016-09-30 17:45:59 +02:00
2014-12-02 14:13:53 +01:00
2016-09-17 16:16:41 +09:00
2007-07-04 19:49:40 +00:00
2015-11-17 12:50:22 +01:00
2007-07-04 19:49:40 +00:00