Documentation
¶
Overview ¶
Package linux is the foundation for Linux APIs with idiomatic Go interfaces.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package capability inspects and changes the calling Linux thread's capability sets.
|
Package capability inspects and changes the calling Linux thread's capability sets. |
|
Package cgroup provides owned handles to Linux cgroup v2 directories.
|
Package cgroup provides owned handles to Linux cgroup v2 directories. |
|
Package epoll provides explicit Linux readiness sets for standard files and typed facility registrations.
|
Package epoll provides explicit Linux readiness sets for standard files and typed facility registrations. |
|
Package eventfd provides Linux event counters with Go polling and deadlines.
|
Package eventfd provides Linux event counters with Go polling and deadlines. |
|
Package fanotify provides Linux descriptor-based filesystem notifications and access permission decisions.
|
Package fanotify provides Linux descriptor-based filesystem notifications and access permission decisions. |
|
Package file provides bounded Linux file extensions while reusing os.File for ownership and ordinary I/O. Prefer os and os.Root for ordinary operations.
|
Package file provides bounded Linux file extensions while reusing os.File for ownership and ordinary I/O. Prefer os and os.Root for ordinary operations. |
|
Package inotify provides Linux file and directory notifications.
|
Package inotify provides Linux file and directory notifications. |
|
internal
|
|
|
cmd/testenv
command
Command testenv emits Linux verification prerequisites as JSON.
|
Command testenv emits Linux verification prerequisites as JSON. |
|
mountinfo
Package mountinfo decodes the Linux statmount response buffer.
|
Package mountinfo decodes the Linux statmount response buffer. |
|
nsfd
Package nsfd shares namespace ownership internals with facilities that borrow namespace references for their own operations.
|
Package nsfd shares namespace ownership internals with facilities that borrow namespace references for their own operations. |
|
test
Package test provides shared Linux test fixtures and bounded synchronization.
|
Package test provides shared Linux test fixtures and bounded synchronization. |
|
testenv
Package testenv discovers the Linux prerequisites used by this repository's verification commands.
|
Package testenv discovers the Linux prerequisites used by this repository's verification commands. |
|
waitstatus
Package waitstatus decodes Linux child exit records for process and pidfd.
|
Package waitstatus decodes Linux child exit records for process and pidfd. |
|
Package landlock builds Linux access rulesets and explicitly applies them to the calling thread or all threads of the calling process.
|
Package landlock builds Linux access rulesets and explicitly applies them to the calling thread or all threads of the calling process. |
|
Package memfd creates Linux memory-backed files with irreversible file seals.
|
Package memfd creates Linux memory-backed files with irreversible file seals. |
|
Package mmap owns Linux anonymous and file-backed memory mappings.
|
Package mmap owns Linux anonymous and file-backed memory mappings. |
|
Package mount provides filesystem configuration, mount operations, and structured mount discovery on Linux 7.0+.
|
Package mount provides filesystem configuration, mount operations, and structured mount discovery on Linux 7.0+. |
|
Package namespace owns Linux namespace handles and exposes explicit setns and unshare operations.
|
Package namespace owns Linux namespace handles and exposes explicit setns and unshare operations. |
|
Package netlink implements Linux Netlink framing, kernel requests, dumps, acknowledgements, and multicast reception over the socket package.
|
Package netlink implements Linux Netlink framing, kernel requests, dumps, acknowledgements, and multicast reception over the socket package. |
|
route
Package route provides typed Linux rtnetlink operations for links, IPv4/IPv6 addresses, routes, nexthop objects, neighbors, and policy rules.
|
Package route provides typed Linux rtnetlink operations for links, IPv4/IPv6 addresses, routes, nexthop objects, neighbors, and policy rules. |
|
Package pidfd owns Linux process descriptors for signaling, exit observation, eligible child reaping, and file duplication.
|
Package pidfd owns Linux process descriptors for signaling, exit observation, eligible child reaping, and file duplication. |
|
Package process provides Linux child-subreaper controls and wait-any reaping for a dedicated worker supervisor or PID namespace init.
|
Package process provides Linux child-subreaper controls and wait-any reaping for a dedicated worker supervisor or PID namespace init. |
|
Package procfs provides bounded, read-only process and system information through a project-owned API backed by github.com/prometheus/procfs.
|
Package procfs provides bounded, read-only process and system information through a project-owned API backed by github.com/prometheus/procfs. |
|
Package seccomp loads bounded classic-BPF Linux syscall filters.
|
Package seccomp loads bounded classic-BPF Linux syscall filters. |
|
Package socket provides Linux message sockets, ancillary file/credential handling, and selected Netlink options.
|
Package socket provides Linux message sockets, ancillary file/credential handling, and selected Netlink options. |
|
Package sysfs provides bounded, read-only block-device and network-interface information with an explicit sysfs or fixture root.
|
Package sysfs provides bounded, read-only block-device and network-interface information with an explicit sysfs or fixture root. |
|
Package timerfd provides Linux descriptor timers with expiration counts, Go polling, and read deadlines.
|
Package timerfd provides Linux descriptor timers with expiration counts, Go polling, and read deadlines. |
|
Package xattr reads and modifies Linux extended attributes on standard files and directory-relative paths using the Linux 7.0 baseline at-style calls.
|
Package xattr reads and modifies Linux extended attributes on standard files and directory-relative paths using the Linux 7.0 baseline at-style calls. |
Click to show internal directories.
Click to hide internal directories.