Home GnuPG
Diffusion GnuPG 309f464a5952

agent: Tell the Pinentry the client's pid.
309f464a5952Unpublished

Unpublished Commit · Learn More

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

Description

agent: Tell the Pinentry the client's pid.

* configure.ac: Check for SO_PEERCRED et al.
* agent/agent.h (server_control_s): Add field 'client_pid'.
* agent/command.c (start_command_handler): Set CLIENT_PID.
* agent/command-ssh.c (get_client_pid): New.
(start_command_handler_ssh): Set CLIENT_PID.
* agent/call-pinentry.c (start_pinentry): Tell Pinentry the client-pid.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 3 2017, 5:13 PM
Parents
rG7052a0d77cf8: gpg: More diagnostics for a launched pinentry.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG309f464a5952: agent: Tell the Pinentry the client's pid. (authored by Werner Koch <wk@gnupg.org>).Feb 3 2017, 5:13 PM