diff options
| author | zousar <[email protected]> | 2026-04-13 14:42:13 -0600 |
|---|---|---|
| committer | zousar <[email protected]> | 2026-04-13 14:42:13 -0600 |
| commit | ecd4acb89406cfa573d1819532dcaec2c44113f5 (patch) | |
| tree | 46a8a67de6d9afdffa02e7f0b5d918fb46d03ffe /src/zencore/filesystem.cpp | |
| parent | Changelog (diff) | |
| download | zen-ecd4acb89406cfa573d1819532dcaec2c44113f5.tar.xz zen-ecd4acb89406cfa573d1819532dcaec2c44113f5.zip | |
Removing CLOEXEC use on shared memory descriptors
According to documentation, shm_open already sets O_CLOEXEC.
Diffstat (limited to 'src/zencore/filesystem.cpp')
| -rw-r--r-- | src/zencore/filesystem.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp index debe51cc9..5160bfdc6 100644 --- a/src/zencore/filesystem.cpp +++ b/src/zencore/filesystem.cpp @@ -3467,7 +3467,6 @@ public: { return {}; } - fcntl(FdGuard.Fd, F_SETFD, FD_CLOEXEC); fchmod(FdGuard.Fd, 0666); int Result = ftruncate(FdGuard.Fd, Size); |