Home GnuPG
Diffusion GnuPG 28364affa64e

agent: Fix sock_inotify_fd handling.

Description

agent: Fix sock_inotify_fd handling.

* agent/gpg-agent.c (handle_connections): Also check SOCK_INOTIFY_FD
when spawning check_onw_socket_thread.  When removal of the socket
is detected, do same as AGENT_PROBLEM_SOCKET_TAKEOVER.
  • GnuPG-bug-id: T6692
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 4 2023, 3:34 AM
Parents
rG5e47d5edd8f8: agent: Fix timer list management.
Branches
Unknown
Tags
Unknown
Tasks
T6692: agent: Clean up check_own_socket to monitor socket takeover