Home GnuPG
Diffusion GnuPG e1f515b19c7f

agent: Implement socket redirection.
e1f515b19c7fUnpublished

Unpublished Commit · Learn More

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

Description

agent: Implement socket redirection.

* agent/gpg-agent.c (ENAMETOOLONG): New.
(redir_socket_name, redir_socket_name_extra)
(redir_socket_name_ssh): New.
(remove_socket): Take care of the redir names.
(main): Pass the redir names to create_server_socket.
(create_socket_name): Remove length check - that is anyway done later.
(create_server_socket): Add arg r_redir_name and implement redirection
if Libassuan is at least 2.14.

Details

Provenance
wernerAuthored on Nov 28 2014, 9:34 PM
Parents
rGe59b1cc7471d: gpg: Change another BUG() call to a regular error message.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGe1f515b19c7f: agent: Implement socket redirection. (authored by Werner Koch <wk@gnupg.org>).Nov 28 2014, 9:34 PM