Backport: relayd: Don't bypass the fd tracker when closing file descriptors
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 19 Jun 2018 16:22:31 +0000 (12:22 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Jul 2018 22:50:36 +0000 (18:50 -0400)
commit4e9f782b76ba78c3cf59c39682650e0404cec6ba
tree61c2e0915dc6bd48dd2f30d0ce9048afc5f5b9e3
parent23c5429a02752cafae332bf4082cff86f5dc35d6
Backport: 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 stdin, 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>
src/bin/lttng-relayd/main.c
This page took 0.025947 seconds and 5 git commands to generate.