From 78afc209ccb72efcfb60aa3468c2c12fe026f8a7 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Mon, 2 Oct 2023 10:32:04 +0900 Subject: [PATCH] tpm2d: Fix call to assuan_control. * tpm2d/tpm2daemon.c (main): Use ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP. -- Fixes-commit: 9e4d52223945d677c1ffcb0e20dae48299e9aae1 Signed-off-by: NIIBE Yutaka --- tpm2d/tpm2daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpm2d/tpm2daemon.c b/tpm2d/tpm2daemon.c index a8c83cd8b..8e16e931a 100644 --- a/tpm2d/tpm2daemon.c +++ b/tpm2d/tpm2daemon.c @@ -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 )