roadmap BUILT

824. A retype mints no right its budget lacks

(The title and slug are provisional.)

In brief

MemoryRegion::RETYPE hands back a PageFrame with Rights::ALL, whatever the budget's rights. calef ruled on 2026-10-07 (UTC), option (a): the frame's rights are the intersection of the budget's rights and Rights::ALL. A WRITE-only budget mints WRITE-only frames, and GRANT can be delegated but never minted.

Why

Milestone 633 (an outside agent attacks the confinement claim)'s second pass found it, and its third booted it as a characterization on all three ISAs: a holder of a budget that cannot delegate retypes a page and then delegates it. It is the holder's own memory, so it is a scope gap, not a reach into another domain. Claim 3 of notes/confinement-claims.md covers SPLIT and says nothing about retype. Two options were refused with the ruling. Revoking after the fact comes too late, because the delegation window opens at the mint. Narrowing GRANT alone is the intersection with a special case in it.

The work

Result

BUILT, 2026-10-12 (UTC), by lane milestone/824-retype-mints-no-right. RETYPE and every RETYPE_OBJ arm (rendezvous, address space, thread, notification, timer, process) mint through the budget's Cap::mint_child, the inheriting mint split_never_widens_rights proves. All six object arms, because milestone 903 (a seventh outsider pass attacks the confinement claim) showed the same Rights::ALL mint in each.

Names SPEND_ONLY (abi and kernel), abi::rights::ALL and memory_region_lending_capability are provisional. The test names are provisional.

Outstanding, for the maintainer: the decisions section §10 (process model: capability-based, microkernel) asks for, stating what a retype mints and that §16 (object revocation)'s sentence "RETYPE mints a frame READ|WRITE|GRANT" no longer holds. A lane does not edit design/decisions/. Risk 7's appendix also wants the citation under §216 (fatal-risk facts are correctable, and verdicts are the architect's).

Done when

The test holds on aarch64, riscv64 and x86_64, goes red under its record, and the claims table and the decision record say what a retype mints.

Reuse: seL4's retype gives the new object full rights over itself (recalled, not read); this ruling deliberately departs from it, so the decision record should say why.

Index row

A frame retyped from a budget carries only the budget's rights, so GRANT is delegated and never minted. Closes the near miss on claim 3 that milestone 633's passes carried.

Follow-on