Home GnuPG
Diffusion GnuPG c98385d311ca

scd: Fix DEVINFO, allowing no clients which watch the change.

Description

scd: Fix DEVINFO, allowing no clients which watch the change.

* scd/app.c [POSIX] (struct mrsw_lock): Add notify_watchers.
(card_list_signal): Only when watchers wait, kick by write(2).
(card_list_wait): Increment/decrement notify_watchers field.
  • GnuPG-bug-id: T7151
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 20 2024, 3:39 AM
wernerCommitted on Sep 20 2024, 12:07 PM
Parents
rGf1e42cdf533e: doc: Update NEWS
Branches
Unknown
Tags
Unknown
Tasks
T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close