aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/filesystem.cpp
diff options
context:
space:
mode:
authorzousar <[email protected]>2026-04-13 14:42:13 -0600
committerzousar <[email protected]>2026-04-13 14:42:13 -0600
commitecd4acb89406cfa573d1819532dcaec2c44113f5 (patch)
tree46a8a67de6d9afdffa02e7f0b5d918fb46d03ffe /src/zencore/filesystem.cpp
parentChangelog (diff)
downloadzen-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.cpp1
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);