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.11.0-rc1~427 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=18d0885089aafd5665cea5fcff8a7a467b6ff37d 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;