package devices
import "github.com/opencontainers/runc/libcontainer/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
- Version
- v1.2.6 (latest)
- Published
- Mar 14, 2025
- Platform
- linux/amd64
- Imports
- 26 packages
- Last checked
- 2 hours ago –
Tools for package owners.