relayd: Don't bypass the fd tracker when closing file descriptors
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2019 20:41:26 +0000 (15:41 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jan 2020 06:55:34 +0000 (01:55 -0500)
commitd43da0fe92772f5733e856d8c101fe689ae26698
treebcfad32a49a7e7a3790369933a401a4ae4ea11b4
parent00e3b7f1faebd0595329a8532abbb9e77e5e2149
relayd: Don't bypass the fd tracker when closing file descriptors

There is no reason to close all file descriptors at this point in the
relay daemon as we know for a fact that the only open fds are stdout
and stderr. If the relayd was to depend on a library that opens other
file descriptors, it would be unadvisable to perform this kind of bulk
closing of all possible file descriptors.

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