Skip to main content

Crate sim_platform_linux

Crate sim_platform_linux 

Source
Expand description

Bounded Linux mechanics. Native paths and portal calls cannot escape this package.

Structs§

Budget
Fixed per-activation resource ceilings.
Capsule
One explicitly configured Linux activation.
CgroupV2Limits
Exact Linux controller values, in kernel accounting units.
HeadlessPortal
Portal used for a headless capsule; no desktop operation is ever supported.
HostFacts
Privacy-filtered facts supplied during registration.
LinuxDnsPort
LinuxIpcPort
Linux local IPC supports Unix paths only; Windows pipe names fail closed.
LinuxSocketPort
LinuxWallClock
Linux capsule realization of the server wall-clock contract.
XdgMounts
Named preopened roots. Paths never appear in Cards, receipts, or attestations.

Enums§

DesktopOperation
Permission
PortalError
PortalReply
Reply
Request
Requests accepted by the private capsule membrane.

Constants§

MAXIMUM_PINNED_BOOT_TREE_BYTES
Hard maximum of logical file bytes in one pinned read-only tree.
MAXIMUM_PINNED_BOOT_TREE_ENTRIES
Hard maximum of directories plus files in one pinned read-only tree.

Traits§

Portal
Desktop operations remain behind one injected portal boundary.

Functions§

bind_transport_services
Explicitly bind the Linux capsule’s native transport realization.