feat(init): spawn service over IPC with per-client allowance refunded on child death; up to 4 death watchers; spawntest on test image

This commit is contained in:
2026-10-27 16:21:08 +01:00
parent 817a38993b
commit 8587661684
23 changed files with 564 additions and 28 deletions

View File

@@ -18,6 +18,9 @@ pub struct Target {
pub badge: Badge,
}
/// How many may watch one process die: its parent and init, with room.
pub const MAX_WATCHERS: usize = 4;
pub struct Timers {
deadlines: [Option<(Ticks, Target)>; MAX_PROCESSES],
}