You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/bpf
Milan 8f1163a400 Add support for BPF_PROG_TYPE_CGROUP_DEVICE
Kernel 4.15 added a new eBPF program that can
be used with cgroup v2 to control & observe device
access (e.g. read, write, mknod) - `BPF_PROG_TYPE_CGROUP_DEVICE`.

We add the ability to create these programs with the `cgroup_device`
proc macro which creates the `cgroup/dev` link section. Device
details are available to the eBPF program in `DeviceContext`.

The userspace representation is provided with the `CgroupDevice`
structure.

Fixes: #212
Signed-off-by: Milan <milan@mdaverde.com>
2 years ago
..
.cargo Re-organize into a single workspace 2 years ago
aya-bpf Add support for BPF_PROG_TYPE_CGROUP_DEVICE 2 years ago
aya-bpf-bindings fix uninlined_format_args clippy issues 2 years ago
aya-bpf-cty fix uninlined_format_args clippy issues 2 years ago
aya-log-ebpf lib: Add display hints 2 years ago
rust-toolchain.toml Re-organize into a single workspace 2 years ago