Repository navigation
feat: add pvKernel 0.0.9 userspace processes - #31
Merged
Merged
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
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
Implements pvKernel 0.0.9 — Processes + Address Spaces + Userspace Foundation.
Adds:
ProcessIdand boot-monotonic PID;getpidand terminalexitsyscalls;Architecture
Implements the reviewed design in:
docs/architecture/processes.mdThe implementation keeps the lower canonical half user-only. Bootloader dynamic mappings required by the live kernel are constrained to a dedicated upper-half arena and audited before process CR3 roots are activated.
Security / correctness review
A dedicated local pre-PR audit was completed at
490a62e16b7b8e55e2eb2d6b9c6f2bea30b16738.Result:
Follow-up commit
7c0956572aa61394abfea078b64b1b7aa9458cc5fixes strict CI Clippy failures with style cleanups and test-only configuration boundaries. It does not change process execution, privilege, or address-space switching behavior. Strict Clippy passes for default, QEMU, process-smoke and user-copy configurations.Validation
Local validation includes:
All QEMU scenarios completed with successful host exit status.
The known Windows-only hostile-filename Python fixture limitation is unchanged; the security-policy validator itself passes.
Scope
0.0.9 remains single-core and intentionally does not implement:
/bin/init;Release
This PR does not create an RC, tag, or stable release.
After implementation review and merge, the next step is an exact-main validation followed by a separate formal 0.0.9 pre-release audit.