aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-07-26 08:02:52 +0000
committerWerner Koch <[email protected]>2017-07-26 08:27:36 +0000
commitd50c2eff8d6931586c527edb3dea98dbc6facdec (patch)
tree842f13b0a188a94e0c49c053a6cdd9222f8f0a7d /dirmngr/server.c
parentagent: Lengthen timertick interval on Unix to 4 seconds. (diff)
downloadgnupg-d50c2eff8d6931586c527edb3dea98dbc6facdec.tar.gz
gnupg-d50c2eff8d6931586c527edb3dea98dbc6facdec.zip
agent,dirmngr: Check for homedir removal also using stat(2).
* agent/gpg-agent.c (have_homedir_inotify): New var. (reliable_homedir_inotify): New var. (main): Set reliable_homedir_inotify. (handle_tick): Call stat on the homedir. (handle_connections): Mark availibility of the inotify watch. * dirmngr/dirmngr.c (handle_tick): Call stat on the homedir. (TIMERTICK_INTERVAL_SHUTDOWN): New. (handle_connections): Depend tick interval on the shutdown state. -- The stat call is used on systems which do not support inotify and also when we assume that the inotify does not work reliable. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/server.c')
0 files changed, 0 insertions, 0 deletions