Expand description
Silo manager (kernel-side, minimal mechanisms only)
This module provides the core kernel structures and syscalls to create and manage silos. Policy lives in userspace (silo admin).
Structs§
- Control
Mode - Hardware
Mode - Module
Info - Octal
Mode - Registry
Mode - Silo
Config - Silo
Detail Snapshot - Silo
Event - Silo
Event Snapshot - SiloId
- Silo
Snapshot - Strat9
Module Header
Enums§
Constants§
- FAULT_
SUBCODE_ SHIFT - SILO_
FLAG_ ADMIN - SILO_
FLAG_ GRAPHICS - SILO_
FLAG_ GRAPHICS_ READ_ ONLY - SILO_
FLAG_ WEBRTC_ NATIVE - SILO_
FLAG_ WEBRTC_ TURN_ FORCE
Functions§
- charge_
current_ task_ memory - Charge memory usage against the current task’s silo quota (if any).
- current_
task_ silo_ label - Performs the current task silo label operation.
- debug_
boot_ reg_ active - Returns true while boot-time silo registration critical path is executing.
- enforce_
cap_ for_ current_ task - Enforce that the current task may use a delegated capability.
- enforce_
console_ access - Enforce console access for the current task.
- enforce_
path_ for_ current_ task - Performs the enforce path for current task operation.
- enforce_
registry_ bind_ for_ current_ task - Performs the enforce registry bind for current task operation.
- enforce_
silo_ may_ grant - Performs the enforce silo may grant operation.
- grant_
silo_ admin_ to_ task - Grant the Silo Admin capability to a task (bootstrapping).
- handle_
user_ fault - Handles user fault.
- kernel_
check_ spawn_ invariants - Performs the kernel check spawn invariants operation.
- kernel_
destroy_ silo - Performs the kernel destroy silo operation.
- kernel_
limit_ silo - Dynamically adjust resource quotas for a silo.
- kernel_
pledge_ silo - kernel_
rename_ silo_ label - Performs the kernel rename silo label operation.
- kernel_
resume_ silo - kernel_
sandbox_ silo - kernel_
spawn_ strate - Performs the kernel spawn strate operation.
- kernel_
start_ silo - Performs the kernel start silo operation.
- kernel_
stop_ silo - Performs the kernel stop silo operation.
- kernel_
suspend_ silo - kernel_
unveil_ silo - list_
events_ for_ silo - list_
events_ snapshot - list_
silos_ snapshot - Performs the list silos snapshot operation.
- on_
task_ terminated - Best-effort cleanup hook called by the scheduler when a task terminates.
- pack_
fault - Performs the pack fault operation.
- register_
boot_ strate_ task - Performs the register boot strate task operation.
- register_
current_ task_ granted_ resource - Performs the register current task granted resource operation.
- release_
current_ task_ memory - Release memory usage from the current task’s silo quota (if any).
- require_
silo_ admin - Performs the require silo admin operation.
- set_
current_ silo_ label_ from_ path - Sets current silo label from path.
- silo_
detail_ snapshot - silo_
info_ for_ task - Return silo identity + memory accounting for a task, if the task belongs to a silo.
- silo_
output_ drain - Drain the output buffer for a silo, returning accumulated bytes.
- silo_
output_ write - Append data to a silo’s output ring buffer (called from
sys_debug_log). - sys_
module_ get_ symbol - Performs the sys module get symbol operation.
- sys_
module_ load - Performs the sys module load operation.
- sys_
module_ query - Performs the sys module query operation.
- sys_
module_ unload - Performs the sys module unload operation.
- sys_
silo_ attach_ module - Performs the sys silo attach module operation.
- sys_
silo_ config - Performs the sys silo config operation.
- sys_
silo_ create - Performs the sys silo create operation.
- sys_
silo_ enter_ sandbox - Performs the sys silo enter sandbox operation.
- sys_
silo_ event_ next - Performs the sys silo event next operation.
- sys_
silo_ kill - Performs the sys silo kill operation.
- sys_
silo_ pledge - Performs the sys silo pledge operation.
- sys_
silo_ resume - Performs the sys silo resume operation.
- sys_
silo_ start - Performs the sys silo start operation.
- sys_
silo_ stop - Performs the sys silo stop operation.
- sys_
silo_ suspend - Performs the sys silo suspend operation.
- sys_
silo_ unveil - Performs the sys silo unveil operation.
- task_
silo_ id - Get the silo ID for a given task, if any.