We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c95a7e + a04e6fd commit 5f9cbefCopy full SHA for 5f9cbef
CHANGELOG.md
@@ -1,5 +1,11 @@
1
# Changelog
2
3
+## [0.4.2] - 2024-04-22
4
+
5
+### Changed
6
7
+- `FD_CLOEXEC` bit mask definition fixed. The wrong definition effectively lead to `close-on-exec` flag not being set for all `listen_fds`.
8
9
## [0.4.1] - 2022-08-31
10
11
### Changed
src/ffi.rs
@@ -5,6 +5,6 @@ extern "C" {
pub const F_GETFD: i32 = 1;
pub const F_SETFD: i32 = 2;
-pub const FD_CLOEXEC: i32 = 2;
+pub const FD_CLOEXEC: i32 = 1;
pub const EBADF: i32 = 9;
0 commit comments