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:38:52 +0000 (17:38 -0400)
commitbb17eb585257d944c7857d9400a4db247c49dcc1
tree909e26298ee0d1f6cc174b5752b36ffe14f684bf
parent810072601178ab06e866a74d11e6e06ccbc90f63
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.025438 seconds and 4 git commands to generate.