X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libringbuffer%2Fshm.c;h=7a41d4de51d4e4744172dd9e235cb29640bd50de;hb=18ef3e51fcd38bc6ca0f67fa23559186eba8fb33;hp=909991ed27c6f1ada4a04426e396d232d126df8e;hpb=38b48c9bcc752ce5eb32ea2d131c0a10027ea8dd;p=deliverable%2Flttng-ust.git diff --git a/libringbuffer/shm.c b/libringbuffer/shm.c index 909991ed..7a41d4de 100644 --- a/libringbuffer/shm.c +++ b/libringbuffer/shm.c @@ -328,11 +328,6 @@ struct shm_object *shm_object_table_append_shm(struct shm_object_table *table, obj->shm_fd = shm_fd; obj->shm_fd_ownership = 1; - ret = fcntl(obj->wait_fd[1], F_SETFD, FD_CLOEXEC); - if (ret < 0) { - PERROR("fcntl"); - goto error_fcntl; - } /* The write end of the pipe needs to be non-blocking */ ret = fcntl(obj->wait_fd[1], F_SETFL, O_NONBLOCK); if (ret < 0) {