mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* call-scd.c (start_scd): Don't test for an alive scdaemon here.
(agent_scd_check_aliveness): New. * gpg-agent.c (handle_tick): Test for an alive scdaemon. (handle_signal): Print thread info on SIGUSR1. * scdaemon.c (handle_signal): Print thread info on SIGUSR1.
This commit is contained in:
parent
41862f5f13
commit
05e1dc22f0
9 changed files with 101 additions and 25 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-05-21 Werner Koch <wk@g10code.com>
|
||||
|
||||
* scdaemon.c (handle_signal): Print thread info on SIGUSR1.
|
||||
|
||||
2005-05-20 Werner Koch <wk@g10code.com>
|
||||
|
||||
* ccid-driver.c: Replaced macro DEBUG_T1 by a new debug level.
|
||||
|
|
|
@ -1634,7 +1634,7 @@ do_writekey (app_t app, ctrl_t ctrl,
|
|||
log_info ("protected-private-key passed to writekey\n");
|
||||
else if (toklen == 20 && !memcmp ("shadowed-private-key", tok, toklen))
|
||||
log_info ("shadowed-private-key passed to writekey\n");
|
||||
err = gpg_error (GPG_ERR_BAD_KEY);
|
||||
err = gpg_error (GPG_ERR_BAD_SECKEY);
|
||||
goto leave;
|
||||
}
|
||||
if ((err = parse_sexp (&buf, &buflen, &depth, &tok, &toklen)))
|
||||
|
|
|
@ -807,7 +807,8 @@ handle_signal (int signo)
|
|||
break;
|
||||
|
||||
case SIGUSR1:
|
||||
log_info ("SIGUSR1 received - no action defined\n");
|
||||
log_info ("SIGUSR1 received - printing internal information:\n");
|
||||
pth_ctrl (PTH_CTRL_DUMPSTATE, log_get_stream ());
|
||||
break;
|
||||
|
||||
case SIGUSR2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue