Repository navigation
Docs: 2026-10 audit record and limitations left by design - #189
Merged
Merged
Conversation
- doc/SECURITY_AUDIT_2026-10.md: the findings fixed in PRs #183-#188 with their harnesses, and what was examined and deliberately not changed: the 128 MB kernel-map/user-code overlap (latent), no TCP retransmission, no per-uid pipe or directory-open cap, the kernel-shell `exec /shell.elf | cat` hang (reproduced on main e6012cc, cause open), and the uncalled user_create_etc_structure(). - SECURITY_HARDENING.md: /scratch has no sticky bit (unlink is shared, read/write are not); the su-driven root lockout as an accepted trade-off; empty passwords and over-long names refused (PR #187). - tcp.h: tcp_tick's comment still listed retransmissions and keepalives. - user.h: mark user_create_etc_structure() as uncalled. - CLAUDE.md: index points at the new audit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Seventh of the seven PRs from the TCP / memory / ramfs / creds / pipes audit. Docs and comments only, no code changes.
doc/SECURITY_AUDIT_2026-10.md(new):/scratchhas no sticky bit.su.user_create_etc_structure()is never called.exec /shell.elf | cathangs. This reproduces onmain(e6012cc) and is separate from the >4 KB hang fixed in Fix three pipe bugs: fd leak on rebind, kshell exec-stage hang, use-after-destroy #185. The cause is not yet diagnosed; it is recorded as open.doc/SECURITY_HARDENING.md:/scratch: unlink is shared, read/write are not.src/tcp.h: thetcp_tickcomment still claimed retransmissions and keepalives; corrected.src/user.h:user_create_etc_structure()is now marked as uncalled.CLAUDE.md: the index row now points at the new audit.The build is clean. There is no harness, since nothing executable changed.
🤖 Generated with Claude Code