get_client_pid() uses struct ucred when HAVE_SO_PEERCRED is defined. This
struct definition is defined in ucred.h on Solaris. Attached patch includes
this header when ucred.h was found on the system.
Description
Description
Details
Details
- Version
- 2.1.19
Related Objects
Related Objects
Event Timeline
Comment Actions
We should better fix that by adding a new API to libassuan so that we have that
code only once.
Thanks for the report.
Comment Actions
Since this is for command-ssh.c, we can't change the protocol (the client is SSH
process, which doesn't use libassuan).
Here, the purpose of the code is getting PID of peer, so, we can do something
except FreeBSD.
I think that it is fixed in: f7f806afa5083617f4aba02fc3b285b06a7d73d4