⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module creation

Module creation 

Source
Expand description

Process creation and setup

Handles creating new processes from scratch and replacing process images via the exec system call. Includes argument/environment stack setup for newly executed programs.

Structs§

ProcessCreateOptions
Process creation options

Constants§

DEFAULT_KERNEL_STACK_SIZE
DEFAULT_USER_STACK_SIZE
Default stack sizes

Functions§

create_process
Create a new process
create_process_with_options
Create a new process with options
exec_process
Execute a new program in current process
parse_shebang
Parse a shebang (#!) line from the beginning of a file
search_path
Search for an executable by name in PATH directories