Skip to main content

Module exception

Module exception 

Source
Expand description

Exception contexts, slabs, actions, and the process fault backend.

A context owns the kernel exception file descriptor. Each mapped slab is edited while writable and published by changing the whole mapping to read only. Publication installs an immutable kernel snapshot. Returning the mapping to writable removes that snapshot before editing resumes.

Modules§

action
Construction of fixed-ABI immutable exception actions.
backend
PID-aware access to the process singleton for Catalejo’s built-in records.

Structs§

Context
An fd-owned exception context bound to its creating address space.
ExceptionId
A nonzero kernel exception-context identifier.
Slab
One complete exception slab mapping owned by a Context.
SlabSize
A validated fixed exception slab size in bytes.
SoftSlabLimit
A userspace allocation limit bounded by the kernel hard limit.

Enums§

InvalidSlabSize
The reason an exception slab size is invalid.
InvalidSoftSlabLimit
The reason a userspace soft slab limit is invalid.
SlabAllocationError
A failure while allocating an exception slab.