unix: receive pid on non-linux platforms
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 8 Jul 2021 21:57:45 +0000 (17:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 12 Jul 2021 21:37:18 +0000 (17:37 -0400)
commitba66a850c5f540a0c3f61ce9344fd7127b567676
tree539c3211b0078168ee40ca62534b4467d466f405
parentddd915a3dd0eeb1667286051cc1e17017436fe5e
unix: receive pid on non-linux platforms

Add a `pid` to the lttng_sock_cred structure definition used on
non-Linux platforms and receive the peer's PID when receiving
credentials.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I9c92f6dda6441deca58f9cc85f846f5031cceb6e
src/common/compat/socket.h
src/common/unix.c
This page took 0.024511 seconds and 4 git commands to generate.