Accepted design
This index records go-linux’s accepted design choices, tradeoffs, and support
boundaries. The area files carry the same weight as AGENTS.md.
Read the relevant area files before proposing a change or recording a finding
or audit entry. Revisit a decision when the owner asks or new evidence changes
its documented contract or tradeoff.
- API conventions covers the standard-library boundary,
descriptor ownership, record boundaries, clocks, errors, and compatibility.
- capability covers typed masks, thread scope,
and exec policy.
- cgroup covers hierarchy ownership, controller
operations, and event notification.
- epoll covers registration ownership, event
identity, and poller shutdown.
- eventfd covers counter records and Go polling.
- fanotify covers reporting modes, event file
ownership, decoding, and iteration.
- file covers operations on standard files, kernel
operation fidelity, and metadata validity.
- inotify covers watch identity, queue records,
and polling.
- landlock covers policy validation, ruleset
lifetime, and thread scope.
- memfd covers the file wrapper and sealing defaults.
- mmap covers mapping ownership and slice lifetime.
- mount covers configuration, attachment, cleanup,
and filesystem diagnostics.
- namespace covers reference ownership, Go
process creation, and thread retirement.
- netlink covers transport, request exchange,
bounded reception, and recovery.
- netlink/route covers routing operations,
observations, and request application.
- perf covers attribute negotiation, fixed group
ownership, and raw counter readings.
- pidfd covers process identity, interruptible waits,
and reaping.
- process covers process-wide orphan adoption and
wait-any ownership.
- procfs covers dependency reuse, observation
semantics, and data translation.
- rlimit covers process targeting, atomic updates,
and Go child inheritance.
- sched covers numeric thread identity, dynamic
CPU affinity, CPU policy attributes, and block I/O priority.
- seccomp covers filter scope, ABI guards, and
partial application.
- socket covers message I/O, polling, and ancillary
resource ownership.
- sysfs covers bounded discovery, attribute parsing,
and observation semantics.
- timerfd covers clock domains, exceptional reads,
and readiness lifetime.
- uring covers queue ownership, memory ordering,
and completion-based buffer lifetimes.
- xattr covers borrowed files, the Linux baseline
interface, and bounded observations.