diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-10-07 03:45:22 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-10-07 03:45:22 +0200 |
commit | fc0b392e766af8127094e8b529d25abb84ad1d65 (patch) | |
tree | 5a25deae2db66cbe5257ccd701e94308f826fe2e /dirmngr | |
parent | common: Avoid pointer arithmetic on string literals. (diff) | |
download | gnupg2-fc0b392e766af8127094e8b529d25abb84ad1d65.tar.xz gnupg2-fc0b392e766af8127094e8b529d25abb84ad1d65.zip |
agent, dirmngr, scd: Fix init_common_subsystems.
* common/init.c (_init_common_subsystems): Don't call
gpgrt_set_syscall_clamp in this function.
* agent/gpg-agent.c, dirmngr/dirmngr.c, scd/scdaemon.c: Call
gpgrt_set_syscall_clamp after npth_init.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'dirmngr')
-rw-r--r-- | dirmngr/dirmngr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c index 621c2bb9a..271360e1f 100644 --- a/dirmngr/dirmngr.c +++ b/dirmngr/dirmngr.c @@ -651,6 +651,7 @@ static void thread_init (void) { npth_init (); + gpgrt_set_syscall_clamp (npth_unprotect, npth_protect); /* Now with NPth running we can set the logging callback. Our windows implementation does not yet feature the NPth TLS |