Home GnuPG
Diffusion GnuPG ccfbb9ebdf2e

kbx: Have threads monitoring socket takeover and homedir if no inotify.

Description

kbx: Have threads monitoring socket takeover and homedir if no inotify.

* kbx/keyboxd.c (CHECK_PROBLEMS_INTERVAL): New.
(have_homedir_inotify): Remove the global.
[HAVE_W32_SYSTEM] (create_an_event): New.
(handle_tick): Remove.
(handle_signal): Add handling SIGCONT.
(keyboxd_kick_the_loop): New.
(handle_connections): Spawn check_own_socket_thread and
check_others_thread if no inotify.
(check_own_socket_thread, check_others_thread): New.

This change follows the change of gpg-agent.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 24 2024, 5:45 AM
Parents
rG6ddaf2be9f48: common: Remove t-b64.c.
Branches
Unknown
Tags
Unknown