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 systemd.go v1.go v2.go

Version
v1.2.0-rc.2
Published
Jun 26, 2024
Platform
js/wasm
Imports
21 packages
Last checked
32 minutes ago

Tools for package owners.