diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-09-06 15:40:33 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-09-13 07:31:19 +0000 |
| commit | 7c97d670c44edd6eee772ec47d77847d85f8a7a7 (patch) | |
| tree | b2795d137571e47a1c38fe9c931834a4894f0d7a /executor/executor_test.h | |
| parent | bb5b1ba38e68fd9ee210a27fbbac664c37763f3b (diff) | |
sys/linux: cover multi-uprobes for BPF_LINK_CREATE
Upstream, commit [1] added support for multi-uprobe links, to speed up
the attachment of uprobes BPF programs by attaching in batches. This
commit covers the same in syzkaller.
Field path is a path to the binary, offsets are the offsets to attach to
in the binary, and cnt is the number of uprobes to attach to. Field
ref_ctr_offsets is a bit trickier as it can point to an array of
reference counters; I limited those to 0--5 as they are not expected to
be large.
1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=89ae89f53d2011435
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions
