danos/system/kernel
Daniel Samson d8c55c6f2f
Publish exit events to subscribers; the VFS releases dead clients' handles (M17.3)
process_subscribe adds an endpoint to a bounded, ref-counted subscriber
table; every death posts the same badge encoding a supervisor's exit
notification uses, equally late, so subscribers observe a fully-released
child. A dying subscriber's own subscriptions are removed first — it never
hears about itself. The VFS is the first subscriber: open handles now
record their owner and are swept when the owner dies, because a service
must never depend on clients cleaning up after themselves
(docs/process-lifecycle.md). Proven by the vfs-client-death scenario.
2026-07-12 23:41:44 +01:00
..
architecture/x86_64 zig fmt 2026-07-12 16:04:58 +01:00
console.zig zig fmt 2026-07-12 16:04:58 +01:00
devices-broker.zig Release a dead process's device claims (M17.1) 2026-07-12 23:23:49 +01:00
font.psf Re-organize the source tree as a monorepo mirroring the FHS 2026-07-10 12:55:56 +01:00
heap.zig Split the `system` contract into boot-handoff / abi / device-abi 2026-07-10 18:08:51 +01:00
ipc-synchronous.zig Add input module: broadcast keyboard events over IPC 2026-07-11 15:03:24 +01:00
ipc.zig Re-organize the source tree as a monorepo mirroring the FHS 2026-07-10 12:55:56 +01:00
irq.zig M15: interrupts for PCI devices (ECAM config space + MSI) 2026-07-10 19:59:09 +01:00
kernel.zig Record and expose how every process ends (M17.2) 2026-07-12 23:34:09 +01:00
log.zig Re-organize the source tree as a monorepo mirroring the FHS 2026-07-10 12:55:56 +01:00
pmm.zig M14b: DMA memory (dma_alloc / dma_free) 2026-07-10 19:43:59 +01:00
process.zig Publish exit events to subscribers; the VFS releases dead clients' handles (M17.3) 2026-07-12 23:41:44 +01:00
scheduler.zig Record and expose how every process ends (M17.2) 2026-07-12 23:34:09 +01:00
sync.zig Re-organize the source tree as a monorepo mirroring the FHS 2026-07-10 12:55:56 +01:00
tests.zig Publish exit events to subscribers; the VFS releases dead clients' handles (M17.3) 2026-07-12 23:41:44 +01:00