diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-09-01 23:55:15 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-09-11 09:55:16 +0000 |
| commit | ece90fe7b89e16b5099149e5ee99e943ef83f50c (patch) | |
| tree | f5f2fc3acf24a67b1c08c31a0247e9d3bb9441c6 /pkg/subsystem | |
| parent | 1742950b2ba1f046805cffc72f3b2d9989a0e012 (diff) | |
sys/linux: support multi-progs for BPF_PROG_ATTACH
Commit [1] upstream, and subsequent patches, extended the
BPF_PROG_ATTACH command to support a new multi-prog object in the BPF
subsystem. In particular, programs can now be attached relative to
another object (relative_obj), a BPF program or link, referenced via
either an fd or a BPF ID (id_or_fd). In addition, a new concept of BPF
revision number was introduced and a revision number can be passed, to
be checked at attach time. Finally, the attachment target can now also
be an ifindex.
1 - 053c8e1f235dc ("bpf: Add generic attach/detach/query API for multi-progs")
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'pkg/subsystem')
0 files changed, 0 insertions, 0 deletions
