diff options
author | Werner Koch <[email protected]> | 2016-10-04 15:02:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-10-04 15:11:43 +0000 |
commit | 1a9c8d78ece2f31fdb1a8e2be049aa71053061fa (patch) | |
tree | c9c572504f90fe9e57107280e2e243a8fb9ab7a3 /doc/gpg-agent.texi | |
parent | agent: Adjust cleanup for supervised mode. Fix for W32. (diff) | |
download | gnupg-1a9c8d78ece2f31fdb1a8e2be049aa71053061fa.tar.gz gnupg-1a9c8d78ece2f31fdb1a8e2be049aa71053061fa.zip |
agent: Streamline the supervised mode code.
* agent/gpg-agent.c (get_socket_path): Rename to ...
(get_socket_name): this. This is to comply with the GNU coding guide.
Use xtrymalloc instead of malloc. Do not build for W32.
(map_supervised_sockets): Use strtokenize and set the the socket names
here.
(main): Adjust for above change. Do not close the socket.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/gpg-agent.texi')
-rw-r--r-- | doc/gpg-agent.texi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index 7aacb7b48..cc10a79cb 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -164,12 +164,14 @@ shell, gpg-agent terminates within a few seconds. Run in the foreground, sending logs by default to stderr, and listening on provided file descriptors, which must already be bound to listening sockets. This command is useful when running under systemd -or other similar process supervision schemes. +or other similar process supervision schemes. This option is not +supported on Windows. In --supervised mode, different file descriptors can be provided for use as different socket types (e.g. ssh, extra) as long as they are -identified in the environment variable $LISTEN_FDNAMES (see -sd_listen_fds(3) for more information on this convention). +identified in the environment variable @code{LISTEN_FDNAMES} (see +sd_listen_fds(3) on some Linux distributions for more information on +this convention). @end table @mansect options |