Repository navigation
fix: support effective UID special variable assignment - #1974
Merged
Merged
Conversation
Route `$>` writes through its special variable setter and implement the POSIX seteuid call for Unix platforms, with a Windows same-identity fallback. Keep interpreter assignments on the special setter path and add focused regression coverage. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <openai-codex@users.noreply.github.com>
Record the draft implementation PR and current validation state in the reviewed issue queue. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <openai-codex@users.noreply.github.com>
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.
Summary
$>writes throughScalarSpecialVariable.set()on both execution backends.seteuidbindings for Unix platforms and report failures through$!.$>.Fixes #1972.
Validation
timeout 60 perl src/test/resources/unit/special_effective_uid_assignment.t— passed.Proc-DaemonLitet/20compile.t— passed on JVM and interpreter.nice -n 19 make— passed.nice -n 19 make check-links— passed.9dde46a0bwithModification of a read-only value attempted.On Windows, assigning the current effective UID succeeds; changing the process identity remains unsupported by the Windows POSIX emulation.