diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2023-08-02 07:34:17 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2023-08-03 09:34:18 +0200 |
commit | 1d73806972b1fb8670326d0cea4f2768b14db67b (patch) | |
tree | 1727a05bc0cd88c1eddf6ca6ab32799757bd2abf /sm/gpgsm.c | |
parent | agent: Use new libassuan API for pipe server process. (diff) | |
download | gnupg2-1d73806972b1fb8670326d0cea4f2768b14db67b.tar.xz gnupg2-1d73806972b1fb8670326d0cea4f2768b14db67b.zip |
gpg,agent,kbx,sm,scd,tpm2d,g13: Use assuan_control.
* 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 <gniibe@fsij.org>
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r-- | sm/gpgsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 9f6363652..74d23e5c1 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -1585,6 +1585,7 @@ main ( int argc, char **argv) npth_init (); gpgrt_set_syscall_clamp (npth_unprotect, npth_protect); + assuan_control (ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP, NULL); /* if (opt.qualsig_approval && !opt.quiet) */ /* log_info (_("This software has officially been approved to " */ |