diff options
| author | Zousar Shaker <[email protected]> | 2026-04-13 15:17:32 -0600 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-04-13 15:17:32 -0600 |
| commit | 977bd5b196875b47b6ed1616f41bb3d8b0f8b652 (patch) | |
| tree | 46a8a67de6d9afdffa02e7f0b5d918fb46d03ffe /src/zencore/filesystem.cpp | |
| parent | fix utf characters in source code (#953) (diff) | |
| parent | Removing CLOEXEC use on shared memory descriptors (diff) | |
| download | zen-977bd5b196875b47b6ed1616f41bb3d8b0f8b652.tar.xz zen-977bd5b196875b47b6ed1616f41bb3d8b0f8b652.zip | |
Merge pull request #955 from ue-foundation/zs/shared-memory-open-flags-fix
Stop using O_CLOEXEC in shm_open
Diffstat (limited to 'src/zencore/filesystem.cpp')
| -rw-r--r-- | src/zencore/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp index 70d0f32b3..5160bfdc6 100644 --- a/src/zencore/filesystem.cpp +++ b/src/zencore/filesystem.cpp @@ -3462,7 +3462,7 @@ public: ZEN_UNUSED(SystemGlobal); std::string InstanceMapName = fmt::format("/{}", Name); - ScopedFd FdGuard(shm_open(InstanceMapName.c_str(), O_RDWR | O_CREAT | O_CLOEXEC, 0666)); + ScopedFd FdGuard(shm_open(InstanceMapName.c_str(), O_RDWR | O_CREAT, 0666)); if (!FdGuard) { return {}; |