Home GnuPG

Fix FreeBSD to set the pid of assuan_peercred_t.

Description

Fix FreeBSD to set the pid of assuan_peercred_t.

* configure.ac: Check for struct xucred.cr_pid.
* src/assuan-socket-server.c (accept_connection_bottom): Obtain the pid
  via LOCAL_PEERCRED.
  • Signed-off-by: Ben Kibbey <bjk@luxsci.net>

Details

Provenance
bjkAuthored on Mon, Sep 16, 7:54 AM
Parents
rA69a703446b61: Use socklen_t for the length of socket address.
Branches
Unknown
Tags
Unknown
References
HEAD -> master