Home GnuPG
Diffusion GnuPG 4839e6d002a8

scd,dirmngr: Keep the standard fds when daemonizing.
4839e6d002a8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd,dirmngr: Keep the standard fds when daemonizing.

* dirmngr/dirmngr.c (main): Before calling setsid do not close the
standard fds but connect them to /dev/null.
* scd/scdaemon.c (main): Ditto.  Noet that the old test for a log
stream was even reverted.

Note that this was fixed for gpg-agent 10 years ago on 2006-11-09.

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

Details

Provenance
wernerAuthored on Nov 16 2016, 9:17 PM
Parents
rGc4506a3f15bb: common: Rename keybox_file_rename to gnupg_rename_file.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG4839e6d002a8: scd,dirmngr: Keep the standard fds when daemonizing. (authored by Werner Koch <wk@gnupg.org>).Nov 16 2016, 9:17 PM