From: David Goulet Date: Mon, 27 Jun 2011 20:36:27 +0000 (-0400) Subject: Add FD_CLOEXEC option to all anonymous FDs X-Git-Tag: v2.0-pre1~75 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=7b3958902a08e7d96d388614f2726ad8a6fc9df2;hp=7b3958902a08e7d96d388614f2726ad8a6fc9df2 Add FD_CLOEXEC option to all anonymous FDs Upon execlp() some anonymous file descriptors from the kernel tracer could be dup and thus making the refcount always > 1 on the lttng kernel tracer side. Acked-by: Mathieu Desnoyers Signed-off-by: David Goulet ---