summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorJoe Burton <jevburton@google.com>2021-10-26 22:35:28 +0000
committerAndrii Nakryiko <andrii@kernel.org>2021-10-27 11:00:12 -0700
commit689624f037ce219d42312534eff4dc470b54dec4 (patch)
tree9b411fd28927651dbdd6ca144d8b8d410ab560c6 /Kconfig
parent20d1b54a52bd9a1d5d23a45dab75993ce2f1d617 (diff)
downloadlinux-689624f037ce219d42312534eff4dc470b54dec4.tar.bz2
libbpf: Deprecate bpf_objects_list
Add a flag to `enum libbpf_strict_mode' to disable the global `bpf_objects_list', preventing race conditions when concurrent threads call bpf_object__open() or bpf_object__close(). bpf_object__next() will return NULL if this option is set. Callers may achieve the same workflow by tracking bpf_objects in application code. [0] Closes: https://github.com/libbpf/libbpf/issues/293 Signed-off-by: Joe Burton <jevburton@google.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211026223528.413950-1-jevburton.kernel@gmail.com
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions