Real per-VM log persistence: source attribution + ACL pin (FABRIC-3.md §XXVII)
Wires the previously-unused vm_log_attributed_vm() into LOG-APPEND's kernel primitive so persisted log records carry a trustworthy source (the real attributed VM's registry name, or "HADES" pseudo-source) instead of a caller-supplied, trivially forgeable string. Drops src-addr/src-u from LOG-APPEND's stack signature accordingly. Pins LOG-APPEND via bare ACL-PIN in Artemis's own init.4th, matching BIRTH/CAPSULE-BIRTH's precedent for a privileged word that can't reach the shared, host-portable ACL.4th. Also fixes two console-banner nitpicks: a mis-rendering em dash (U+2014) in the boot banner, and drops "Emergency" from the CLI banner text. Doc corrections to artemis_sig.h/zuse_eligibility_list.h reconciling the three fixed devblock ranges now in play. LOG-FLUSH (the intended normal entry point) and level-aware log eviction remain open, flagged not fixed. Re-verified clean boot to ok> on all 3 architectures after every change. riscv64 showed one new, unrelated virtio_blk write-timeout anomaly during Artemis's early physics self-test (self-recovered, boot unaffected, sector doesn't map to the log region) -- flagged, not investigated. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016UNhH1mhi52i6Qihh7ZV5S
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
61755fde78
commit
2a30212bd3
@@ -537,3 +537,18 @@ Block 4858
|
||||
S" BLK-ATTACH-ACK" ACK-APPEND
|
||||
BLK-ATTACH-EVENT 2 0 ATTACH-ACK-BUF
|
||||
ATTACH-ACK-LEN @ 0 MSG-SEND ;
|
||||
|
||||
Block 4860
|
||||
( LOG-APPEND ( level ts msg-addr msg-u -- ) )
|
||||
( FABRIC-3.md SXXVI follow-on Step 4, 2026-09-13: real per-VM )
|
||||
( log persistence, reached via a sender's LOG-FLUSH/MSG-SEND )
|
||||
( round trip, or by hand at the console for a smoke test. )
|
||||
( Thin wrapper -- kernel-only (LOG-APPEND-RAW) (log_words.c/ )
|
||||
( log_region.c) does the real disk write; never calls )
|
||||
( log_message() (see log_region.c's own doc comment on why). )
|
||||
( CORRECTION, same day: dropped src-addr/src-u, forgeable -- )
|
||||
( source now comes from vm_log_attributed_vm() kernel-side. )
|
||||
( Pinned: writes straight to disk, bypasses log_message(). )
|
||||
: LOG-APPEND ( level ts msg-addr msg-u -- )
|
||||
(LOG-APPEND-RAW) ;
|
||||
' LOG-APPEND ACL-PIN
|
||||
|
||||
Reference in New Issue
Block a user