package devices
import "github.com/opencontainers/cgroups/devices"
Implements creation of eBPF device filter program.
Based on https://github.com/containers/crun/blob/0.10.2/src/libcrun/ebpf.c
Although ebpf.c is originally licensed under LGPL-3.0-or-later, the author (Giuseppe Scrivano) agreed to relicense the file in Apache License 2.0: https://github.com/opencontainers/runc/issues/2144#issuecomment-543116397
Package devices contains functionality to manage cgroup devices, which is exposed indirectly via libcontainer/cgroups managers.
To enable cgroup managers to manage devices, this package must be imported.
Index ¶
Source Files ¶
devicefilter.go devices.go devices_emulator.go ebpf_linux.go systemd.go v1.go v2.go
Directories ¶
Path | Synopsis |
---|---|
devices/config |
- Version
- v0.0.1 (latest)
- Published
- Feb 28, 2025
- Platform
- linux/amd64
- Imports
- 25 packages
- Last checked
- 1 month ago –
Tools for package owners.