package abi
import "gvisor.dev/gvisor/pkg/abi"
Package abi describes the interface between a kernel and userspace.
Index ¶
Constants ¶
const Host = Linux
Host specifies the host ABI.
Types ¶
type ABI ¶
type ABI interface { }
ABI is an interface that defines OS-specific interactions.
type FlagSet ¶
A FlagSet is a slice of bit-flags and their name.
func (FlagSet) Parse ¶
Parse returns a pretty version of val, using the flag names for known flags. Unknown flags remain numeric.
type OS ¶
type OS int
OS describes the target operating system for an ABI.
Note that OS is architecture-independent. The details of the OS ABI will vary between architectures.
func (OS) String ¶
String implements fmt.Stringer.
type ValueSet ¶
ValueSet is a map of syscall values to their name. Parse will use the name or the value if unknown.
func (ValueSet) Parse ¶
Parse returns the name of the value associated with `val`. Unknown values are converted to hex.
func (ValueSet) ParseDecimal ¶
ParseDecimal returns the name of the value associated with `val`. Unknown values are converted to decimal.
func (ValueSet) ParseName ¶
ParseName returns the flag value associated with 'name'. Returns false if no value is found.
Source Files ¶
abi.go abi_linux.go flag.go
Directories ¶
Path | Synopsis |
---|---|
pkg/abi/attestation | Package attestation includes definitions needed for gVisor attestation. |
pkg/abi/gasket | Package gasket describes the userspace interface for Gasket devices. |
pkg/abi/linux | Package linux contains the constants and types needed to interface with a Linux kernel. |
pkg/abi/linux/errno | Package errno holds errno codes for abi/linux. |
pkg/abi/nvgpu | Package nvgpu tracks the ABI of the Nvidia GPU Linux kernel driver: https://github.com/NVIDIA/open-gpu-kernel-modules |
pkg/abi/sentry | Package sentry contains ABI-related constants for the gVisor sentry. |
pkg/abi/tpu | Package tpu defines constants used to interact with TPUs. |
- Version
- v0.0.0-20250605235530-a6711d1e1dc6 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 4 hours ago –
Tools for package owners.