mirror of git://git.gnupg.org/gnupg.git
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:
parent
1da40db03e
commit
78afc209cc
|
@ -737,7 +737,7 @@ main (int argc, char **argv )
|
||||||
|
|
||||||
npth_init ();
|
npth_init ();
|
||||||
gpgrt_set_syscall_clamp (npth_unprotect, npth_protect);
|
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. */
|
/* Detach from tty and put process into a new session. */
|
||||||
if (!nodetach )
|
if (!nodetach )
|
||||||
|
|
Loading…
Reference in New Issue