[BUG] Native factory delivery fixture retains the previous realm rights #53
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/kernel#53
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The native factory delivery fixture still uses the previous realm role after
the shared ABI adds narrow initial-result retirement. Kernel's original CI
fails its source-mask assertion before checking delivery and replay behavior.
Reproduction
Check out Kernel
4db2ec61e5305d9fd806a0e6693d9b1c3a419763and runcargo test --lib original_factory_result_narrows_to_read_mint_and_rejects_redelegation_and_replay.Its Cargo manifest selects LibCapABI
356d6702ac9676358305413dbb902eb3f6a8a6d9.Expected and actual behavior
The realm-role control should independently assert source READ/WRITE/MINT/GRANT
(0xc03) and recipient READ/WRITE/MINT (0x803), as specified by the
native lifecycle design.
Instead, it retains the old 0xc01/0x801 literals and fails at
src/kobj/endpoint/invocation/tests/native_carriers.rs:289.Unrelated generic factory requests and existing VM masks keep their own roles.
Environment and identity
This is the original hosted Kernel unit workflow on the selected signed
component graph, before native VM execution. The previous compatible Kernel
library graph passed; the stale expectation appears when the new realm-role
ABI is selected. No runtime grant or cleanup behavior is inferred from this
fixture failure.
Evidence and prior checks
The original failed CI run
records 1,122 passed, one failed and three ignored tests, with no compiler
warning. The failure is retained separately from the native implementation's
new departure and retirement controls.
Tracking
Phase 6,
native lifecycle and
Kernel implementation.
Update the intended realm-role fixture and its name while retaining independent
literal masks, delivery/replay refusals and every unrelated authority oracle.
Fixed the independent realm factory masks at
a5693bed1067ac4643dadf6461d7a6c2dec08250: the source expects0xc03and the recipient expects0x803. Generic factory masks are unchanged. The original failing run is retained; run 896 passes on the correction.