[FEATURE] Retain native installer publication evidence #59
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#59
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?
Problem and motivation
Process construction needs native evidence that one specific installer grant reached its intended recipient. That evidence must remain usable independently of a userspace acknowledgment or the grant's later disposal.
Proposed behavior and scope
Implement observer-bound Arm, Query and Retire operations for an original installer grant. Correlate the native child and original actor generations. Publish evidence only when the actual native reply is accepted. The wire contract is in Lib-ipc #19; Procd and Loaderd consume it during staged process construction.
Authority, security and reliability
Arm requires actual caller-local grant custody. Capture the observer from native execution; witness IDs and supplied process pairs remain descriptive data. Query and retirement require the same original observer. Derived grants cannot satisfy an original grant's evidence. Retain proof-only metadata after disposal without retaining installation authority, and preserve exact identity through retries, actor death and slot reuse. Keep service authorization policy in userspace.
Acceptance criteria
Alternatives and tradeoffs
A userspace acknowledgment records a service decision rather than the native capability transfer. An exact native grant record provides a narrower correspondence boundary, at the cost of retaining counted evidence until its original observer discharges it.
Tracking and rollout
Coordinate Kernel, Lib-ipc, Procd and Loaderd. Keep incomplete consumers in WIP feature PRs and preserve existing capability ceilings. Native acceptance remains required before claiming the connected construction path complete.