Skip to main content

Module native

Module native 

Source
Expand description

Native-process adapter (ADR-100 section 3): the verified binary is written under the adapter’s data root and run unprivileged under [console] / [resources] limits by super::supervise.

Structs§

NativeConfig
Native adapter configuration.
NativeRuntime
Native-process runtime.

Enums§

PayloadKind
What kind of executable a payload is.

Constants§

NATIVE_ID
Adapter id.

Functions§

classify
Classify payload bytes.
elf_machine
ELF e_machine for a package arch.
host_arch
Package arch name for this host, if cogs are built for it.
instance_id
Instance id: <cog>-<8 hex of config hash>-<node>.