Skip to main content

Module silo

Module silo 

Source
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§

ControlMode
HardwareMode
ModuleInfo
OctalMode
RegistryMode
SiloConfig
SiloDetailSnapshot
SiloEvent
SiloEventSnapshot
SiloId
SiloSnapshot
Strat9ModuleHeader

Enums§

SiloEventKind
SiloFaultReason
SiloState
SiloTier
StrateFamily

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.