From: Jonathan Rajotte Date: Tue, 27 Apr 2021 01:08:18 +0000 (-0400) Subject: Fix: FDs are added to payload despite not being received X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=b3ba184e31e0e5cc67e7d7fb6594096a068ad1be;hp=b3ba184e31e0e5cc67e7d7fb6594096a068ad1be;p=lttng-tools.git Fix: FDs are added to payload despite not being received `lttcomm_recv_fds_unix_sock_non_block` can return zero on EAGAIN. It is important not to add the raw_fds array to the payload in such case since concretely no FDs have been received. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: I551457856c885098bf0de2388936e97456051f93 ---