aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2016-10-07 01:45:22 +0000
committerNIIBE Yutaka <[email protected]>2016-10-07 01:45:22 +0000
commitfc0b392e766af8127094e8b529d25abb84ad1d65 (patch)
tree5a25deae2db66cbe5257ccd701e94308f826fe2e /agent/gpg-agent.c
parentcommon: Avoid pointer arithmetic on string literals. (diff)
downloadgnupg-fc0b392e766af8127094e8b529d25abb84ad1d65.tar.gz
gnupg-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 <[email protected]>
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index a4025ce86..70d977539 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -941,6 +941,7 @@ thread_init_once (void)
npth_initialized++;
npth_init ();
}
+ gpgrt_set_syscall_clamp (npth_unprotect, npth_protect);
}