aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-08-02 05:34:17 +0000
committerNIIBE Yutaka <[email protected]>2023-08-02 05:34:17 +0000
commitb8c5d99406c9935a127d49116a92f56bcb78ff4b (patch)
tree837e9c3b07830b95aff0455ea02d2923b542e897 /g10/gpg.c
parentagent: Use new libassuan API for pipe server process. (diff)
downloadgnupg-gniibe/t6606.tar.gz
gnupg-gniibe/t6606.zip
gpg,agent,kbx,sm,scd,tpm2d,g13: Use assuan_control.gniibe/t6606
* agent/gpg-agent.c (thread_init_once): Call assuan_control. * g10/gpg.c (main): Likewise. * g13/g13.c (main): Likewise. * kbx/keyboxd.c (thread_init_once): Likewise. * scd/scdaemon.c (main): Likewise. * sm/gpgsm.c (main): Likewise. * tpm2d/tpm2daemon.c (main): Likewise. -- GnuPG-bug-id: 6606 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 23c1453dd..beb2e0cad 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3860,6 +3860,7 @@ main (int argc, char **argv)
/* Init threading which is used by some helper functions. */
npth_init ();
gpgrt_set_syscall_clamp (npth_unprotect, npth_protect);
+ assuan_control (ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP, NULL);
if (logfile)
{