Skip to main content

Module dispatch

Module dispatch 

Source

Structs§

DispatchTable
Maps syscall numbers to handler chains.

Functions§

build_dispatch_table
Build the dispatch table from a NotifPolicy. Every branch from the old monolithic dispatch() function is translated into a table.register() call. Priority is preserved by registration order.

Type Aliases§

HandlerFn
An async handler function. Receives the notification, the supervisor context, and the notif fd. Returns a NotifAction.