Skip to main content

Module fork

Module fork 

Source
Expand description

fork() syscall implementation with copy-on-write (COW).

Structs§

ForkResult
Result returned by sys_fork.

Functions§

handle_cow_fault
Called from the page fault handler when a write fault occurs on a present page. Returns Ok(()) if the fault was successfully handled (COW resolution), or Err if it wasn’t a COW fault (real access violation).
sys_fork
SYS_PROC_FORK (302): fork with copy-on-write address-space cloning.