Repository navigation
Keep persistent storage paths within the boot caller buffer - #8137
Open
gabrielsteglich wants to merge 1 commit into
Open
gabrielsteglich wants to merge 1 commit into
gabrielsteglich wants to merge 1 commit into
Conversation
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.
Claimed in coordination issue #7913
What and why
The startup finding records persistent-storage callers that use a fixed 256-byte path buffer. A long overlay path can exceed the buffer and leave the startup cache unavailable.
When the host path exceeds that buffer, return the short
PLS:guest path and route it to the same persistent storage directory through the runtime's intercepted file APIs. Keep its contents separate from theGAME:overlay and package views. The current short host paths remain compatible. #7987 independently improves required-size reporting on an undersized buffer. Both patches merge cleanly together locally.Tested
7d52622f5withdde82f27e. The loader built and all five focused CTest targets passed (file_system,xgameruntime,run_tiny_game,run_tiny_game_console_paths,run_tiny_game_dir).xgameruntimepassed 182 checks.MAX_PATH. Covered ANSI and wide file access, listing, copy and rename, storage accounting, package separation and reparse point behavior. The two new fixed-buffer checks fail on the exact base.AI-assisted (Codex).