tpm2d: Fix call to assuan_control.

* tpm2d/tpm2daemon.c (main): Use ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP.

--

Fixes-commit: 9e4d522239
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-10-02 10:32:04 +09:00
parent 1da40db03e
commit 78afc209cc
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ main (int argc, char **argv )
npth_init ();
gpgrt_set_syscall_clamp (npth_unprotect, npth_protect);
assuan_control (ASSUAN_REINIT_SYSCALL_CLAMP, NULL);
assuan_control (ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP, NULL);
/* Detach from tty and put process into a new session. */
if (!nodetach )