aboutsummaryrefslogtreecommitdiffstats
path: root/agent/cache.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-08-30 05:08:33 +0000
committerNIIBE Yutaka <[email protected]>2023-08-30 05:08:33 +0000
commit7025375e8bec6f28e5750f724faa93e7d9f7d692 (patch)
treea7e31d661d6359df1cc11acecd7fc3746c92cb61 /agent/cache.c
parentagent: Recover support CHECK_OWN_SOCKET_INTERVAL == 0. (diff)
downloadgnupg-7025375e8bec6f28e5750f724faa93e7d9f7d692.tar.gz
gnupg-7025375e8bec6f28e5750f724faa93e7d9f7d692.zip
agent: Have a thread monitoring parent PID and homedir.
* agent/gpg-agent.c (CHECK_PROBLEMS_INTERVAL): New. (socket_takeover_detected): Remove. (problem_detected): New. (handle_tick): Don't check parent PID and homedir in this function. (handle_connections): Spawn check_others_thread when needed. Handle AGENT_PROBLEM_PARENT_HAS_GONE and AGENT_PROBLEM_HOMEDIR_REMOVED. (check_own_socket_thread): Check SHUTDOWN_PENDING variable in the loop. Use PROBLEM_DETECTED variable. (check_others_thread): New. -- GnuPG-bug-id: 6693 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/cache.c')
0 files changed, 0 insertions, 0 deletions