From 9e4d52223945d677c1ffcb0e20dae48299e9aae1 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 16 Aug 2023 09:05:53 +0900 Subject: [PATCH] tpm2d: Fix call to assuan_control. * tpm2d/tpm2daemon.c (main): Use ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP. -- 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 416a27df0..a8c83cd8b 100644 --- a/tpm2d/tpm2daemon.c +++ b/tpm2d/tpm2daemon.c @@ -595,7 +595,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); /* If --debug-allow-core-dump has been given we also need to switch the working directory to a place where we can actually