relayd: track the relay_conn_pipe with the fd-tracker
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2019 22:07:41 +0000 (17:07 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jan 2020 06:55:34 +0000 (01:55 -0500)
commit726b23964ab6fc7d77a3ced3c416ebffbcc2d3ac
tree2778d9872d0f3fb3902ef45d6202729446ac5262
parent6760999493e83d75539018eb9eed8f00f116ac12
relayd: track the relay_conn_pipe with the fd-tracker

Create the relayd connection pipe through the
fd_tracker_util_pipe_open_cloexec() function which wraps
utils_create_pipe_cloexec(), but tracks the resulting file descriptor.

The close of the pipe is also performed through the fd tracker.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I6ed0d64c973a454de2e50c7cae006fd546299290
src/bin/lttng-relayd/main.c
This page took 0.035018 seconds and 5 git commands to generate.