refactor(fspy-shm): open backing files through sigsafe - #630
Closed
wan9chi wants to merge 1 commit into
Closed
Conversation
fspy benchmarklinuxmacoswindows |
wan9chi
force-pushed
the
feat/fspy-shm-injected-runtime
branch
3 times, most recently
from
August 11, 2026 02:17
ae067df to
b990172
Compare
wan9chi
force-pushed
the
feat/fspy-shm-injected-runtime
branch
from
August 11, 2026 03:25
b990172 to
b5a0003
Compare
wan9chi
changed the base branch from
agent/fspy-shm-platform-modules
to
refactor/fspy-shm-caller-path
August 11, 2026 03:25
wan9chi
force-pushed
the
feat/fspy-shm-injected-runtime
branch
from
August 11, 2026 04:24
b5a0003 to
ccfba45
Compare
Co-authored-by: GPT-5 Codex <codex@openai.com>
wan9chi
force-pushed
the
feat/fspy-shm-injected-runtime
branch
from
August 11, 2026 05:14
ccfba45 to
7c0c84b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The injected runtime may attach before libc initialization on Linux, while Unix fspy_shm::open used std::fs::OpenOptions. This PR routes Unix backing-file opens through the sigsafe openat wrapper with a caller-owned path buffer. Linux uses the raw-syscall implementation; macOS uses sigsafe’s libSystem implementation. The existing fspy_shm API and storage behavior remain unchanged.