common: New functions gnupg_daemon_rootdir and gnupg_chdir.
authorWerner Koch <wk@gnupg.org>
Tue, 25 Jul 2017 10:24:01 +0000 (12:24 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 25 Jul 2017 10:43:37 +0000 (12:43 +0200)
* common/sysutils.c (gnupg_chdir): New.
* common/homedir.c (gnupg_daemon_rootdir): New.
* agent/gpg-agent.c (main): Use these functions instead chdir("/").
* dirmngr/dirmngr.c (main): Ditto.
* scd/scdaemon.c (main): Ditto.
--

Signed-off-by: Werner Koch <wk@gnupg.org>

No differences found