Fix: O_CLOEXEC is erroneously used on pipe creation
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 13 Nov 2017 23:15:54 +0000 (18:15 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 13 Nov 2017 23:16:18 +0000 (18:16 -0500)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread.c

index b80e8b4f9f5ac81c28ac90a056d4f80325414a38..92ac597fa00a58e7720f6710579df372c22cd6a6 100644 (file)
@@ -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;
This page took 0.026852 seconds and 4 git commands to generate.