Expand description
The review the maintenance tick makes of what may have drifted (spec 3.2 §7.4, §9.1 permission drift).
At most once per partition and UTC day, the kernel lists what is older than the
partition’s ProactivityPolicy::review_period:
| List | What |
|---|---|
rules | Standing rules with no expires_at, granted longer ago than the period, each with a renewal ask |
sleepers | Waiting processes asleep or suspended for longer than the period |
frozen | Processes a freeze parked longer ago than the period |
crossings | Crossings out of the partition that recur, at least ReviewReport::CROSSING_THRESHOLD times in ReviewReport::CROSSING_WINDOW by source, target, resource and name (spec 3.2 §7.8), each with partition membership as the remedy |
A report is published as a KernelEvent::Review and written as
one kernel.review audit record — ids, ages, resource names and counts, no content. The
review never revokes, suspends or kills anything, and never waives a crossing.
adk-kernel reads no harness type (§6 D-1), so it reads standing rules through a
StandingRuleSource the harness implements over its rule store.
Structs§
- Aged
Process - A process the review reports (spec 3.2 §7.4).
- Review
Report - One partition’s review (spec 3.2 §7.4, §9.1): what is older than its review period.
- RuleAge
- When a standing rule was granted and whether it expires, as the review reads it (spec 3.2 §9.1).
- Stale
Rule - A standing rule the review asks to renew (spec 3.2 §9.1).
Traits§
- Standing
Rule Source - Reads the standing rules the review checks (spec 3.2 §9.1): the harness implements it
over its rule store and
Harness::kernelregisters it (KernelBuilder::standing_rules).