gnupg/agent
Werner Koch d50c2eff8d
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 <wk@gnupg.org>
2017-07-26 10:27:36 +02:00
..
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
Makefile.am tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
agent.h agent: Make digest algorithms for ssh fingerprints configurable. 2017-05-24 18:09:07 +02:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: Serialize access to passphrase cache. 2017-04-07 08:39:26 +09:00
call-pinentry.c agent: Use MAX_PASSPHRASE_LEN (255) also for the loopback. 2017-07-05 11:54:45 +02:00
call-scd.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
command-ssh.c agent: Minor fix for Windows. 2017-07-24 15:26:20 +09:00
command.c agent: New GETINFO sub-command jent_active. 2017-07-17 15:53:16 +02:00
cvt-openpgp.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: Fix memory leaks. 2017-05-30 13:56:20 +09:00
findkey.c agent: Make digest algorithms for ssh fingerprints configurable. 2017-05-24 18:09:07 +02:00
genkey.c agent: Use MAX_PASSPHRASE_LEN (255) also for the loopback. 2017-07-05 11:54:45 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent,dirmngr: Check for homedir removal also using stat(2). 2017-07-26 10:27:36 +02:00
keyformat.txt Clean up word replication. 2017-02-21 13:11:46 -05:00
learncard.c agent,g10: Remove redundant SERIALNO request. 2017-03-16 14:32:51 +09:00
pkdecrypt.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
pksign.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
preset-passphrase.c Fix usage of ARGPARSE_OPTS. 2017-07-19 13:41:18 +09:00
protect-tool.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
protect.c agent: Fix error from do_encryption. 2017-05-31 18:42:55 +09:00
t-protect.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
w32main.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00