From: Julien Desfossez Date: Mon, 13 Nov 2017 23:15:54 +0000 (-0500) Subject: Fix: O_CLOEXEC is erroneously used on pipe creation X-Git-Tag: v2.10.2~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=93563adf01858a4decafcd4be52905003de7833a;p=lttng-tools.git Fix: O_CLOEXEC is erroneously used on pipe creation Signed-off-by: Julien Desfossez Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/notification-thread.c b/src/bin/lttng-sessiond/notification-thread.c index b80e8b4f9..92ac597fa 100644 --- a/src/bin/lttng-sessiond/notification-thread.c +++ b/src/bin/lttng-sessiond/notification-thread.c @@ -96,7 +96,7 @@ struct notification_thread_handle *notification_thread_handle_create( goto end; } - event_pipe = lttng_pipe_open(O_CLOEXEC); + event_pipe = lttng_pipe_open(FD_CLOEXEC); if (!event_pipe) { ERR("event_pipe creation"); goto error;