# std: Open the eventfd fd with CLOEXEC flag · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ff4fde767faec604958783f29fc2439b1badb0e0)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ff4fde767faec604958783f29fc2439b1badb0e0

Requested commit: ff4fde767faec604958783f29fc2439b1badb0e0

Commit: ff4fde767faec604958783f29fc2439b1badb0e0

Tree: 76d36822a2e61443a069c29e64cfa66529d265ab

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Open the eventfd fd with CLOEXEC flag

Make sure the fd we use to communicate with the parent process is not
leaked to the child process.

Closes #5966

```

## Parents

- [00301bbdd3d8e5df3ac147353e7cc9c67f65901f](https://git.cafe/gitcafe/zig/commit/00301bbdd3d8e5df3ac147353e7cc9c67f65901f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ff4fde767faec604958783f29fc2439b1badb0e0?format=markdown)
