Add shared-heap process environment mutation #48

Manually merged
erikinkinen merged 17 commits from feature/mutable-process-environment into feature/native-producer-cleanup-receipts 2026-11-15 02:03:28 +01:00
Owner

Keep one current environment table over the original process heap. Support
copied setenv values, borrowed putenv bytes, direct environ replacement,
unsetenv and literal-NULL clearenv without provider discovery or added rights.
Retain actual table and string allocations while current interior aliases
remain, and keep environment data usable from normal exit handlers.

Depends on #47. Refs #12. Tracks erix/integration#65.

  • Include the scoped source and contract changes.

  • Use main-tracking dependency declarations, frozen explicit sources and complete the original runtime checks.

Keep one current environment table over the original process heap. Support copied setenv values, borrowed putenv bytes, direct environ replacement, unsetenv and literal-NULL clearenv without provider discovery or added rights. Retain actual table and string allocations while current interior aliases remain, and keep environment data usable from normal exit handlers. Depends on #47. Refs #12. Tracks erix/integration#65. - [x] Include the scoped source and contract changes. - [x] Use main-tracking dependency declarations, frozen explicit sources and complete the original runtime checks.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 19:19:07 +01:00
feat: Add shared-heap process environment mutation
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 12s
CI / memory (push) Failing after 1m14s
CI / thread (push) Successful in 1m33s
c4b7ee5681
Keep one current environment table over the original process heap. Support
copied setenv values, borrowed putenv bytes, direct environ replacement,
unsetenv and literal-NULL clearenv without provider discovery or added rights.
Retain actual table and string allocations while current interior aliases
remain, and keep environment data usable from normal exit handlers.
docs: Repair Markdown paragraph wrapping
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / memory (push) Failing after 52s
CI / thread (push) Successful in 1m3s
67bc9b4cd9
Keep the original feature prose and all source inputs while correcting
Markdown spacing and line wrapping.
ci: Feed frozen development sources to the native Cargo owner
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / memory (push) Failing after 58s
CI / thread (push) Successful in 1m9s
9a9c7c1890
Resolve shared companion branches before native acceptance and retain the selected snapshot with its helper and query evidence. Keep the published process, instruction and original-source owners unchanged; the existing pipeline acquires exact selected revisions without another branch query.
erikinkinen changed title from WIP: Add shared-heap process environment mutation to Add shared-heap process environment mutation 2026-11-15 01:29:39 +01:00
Author
Owner

The prepared branch passes the complete original environment pipeline. It retains actual allocation owners across borrowed/interior aliases and preserves atomic failure and exit-handler access. The workspace fixture now checks the exact optional native errno dependency used by this feature.

Ready for human review at bf3fd43cd17f86d9565363ecdc7de31cdaf81004; approval of that exact head is pending. The original source branch remains intact. Guest and release-image acceptance remain separate.

The [prepared branch](https://git.erikinkinen.fi/erix/lib-cstd/src/branch/feature/mutable-process-environment-merge-ready-bf3fd43c) passes the [complete original environment pipeline](https://git.erikinkinen.fi/erix/lib-cstd/actions/runs/809). It retains actual allocation owners across borrowed/interior aliases and preserves atomic failure and exit-handler access. The workspace fixture now checks the exact optional native errno dependency used by this feature. Ready for human review at `bf3fd43cd17f86d9565363ecdc7de31cdaf81004`; approval of that exact head is pending. The original source branch remains intact. Guest and release-image acceptance remain separate.
erikinkinen changed target branch from feature/caller-owned-string-tokenization to feature/native-producer-cleanup-receipts 2026-11-15 02:03:28 +01:00
erikinkinen manually merged commit 2495fa5dbd into feature/native-producer-cleanup-receipts 2026-11-15 02:03:28 +01:00
Sign in to join this conversation.
No description provided.