Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

libbpf1-1.7.0-1.1 RPM for x86_64

From OpenSuSE Tumbleweed for x86_64

Name: libbpf1 Distribution: openSUSE Tumbleweed
Version: 1.7.0 Vendor: openSUSE
Release: 1.1 Build date: Mon Mar 16 18:29:59 2026
Group: Unspecified Build host: reproducible
Size: 481926 Source RPM: libbpf-1.7.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/libbpf/libbpf
Summary: C library for managing eBPF programs and maps
libbpf is a C library which provides API for managing eBPF programs and maps.

Provides

Requires

License

LGPL-2.1-only

Changelog

* Mon Mar 16 2026 Andreas Stieger <andreas.stieger@gmx.de>
  - update to 1.7.0:
    * expand API
    * BTF type lookup optimization
    * fsession support
    * arena globals are moved to the end of the arena mmap region if
      kernel supports it
    * avoid expensive kallsyms parsing when kprobe.session target is
      an exact function match
    * new dont_enable option in struct bpf_perf_event_opts to
      suppress perf event auto-enablement
    * USDT SIB (Scale-Index-Base) addressing support
    * dynptr helper signatures
* Wed Feb 04 2026 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - update to 1.6.3:
    * compilation warnings fixes to make libbpf build more GCC and C23
      compatible
* Mon Aug 25 2025 Andreas Stieger <andreas.stieger@gmx.de>
  - update to 1.6.2:
    * add proper LIBBPF_API annotation to bpf_object__prepare() API,
      to make it usable in shared library mode
    * small fix up to better handle DEVMAP/DEVMAP_HASH maps
* Mon Jul 21 2025 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - update to 1.6.0:
    * add more control over BPF object lifetime with new preparation step
      (bpf_object__prepare() API)
    * libbpf will report symbolic error code (e.g., "-EINVAL") in addition to
      human-readable error description
    * bpf_prog_stream_read() API
    * BPF token support when attaching BPF trampoline-based BPF programs in
      bpf_program__set_attach_target()
    * BPF token support for BPF_BTF_GET_FD_BY_ID command
    * support multi-uprobe session (SEC("uprobe.session")) BPF programs
    * support unique_match option for multi-kprobe attachment
    * support creating and destroying qdisk with BPF_TC_QDISC flag;
    * bpf_program__attach_cgroup_opts() which enables more precise cgroup-based
      attachment ordering
    * automatically take advantage of memory-mappable kernel BTF
      (/sys/kernel/btf/vmlinux), if supported
    * emit_strings option for BTF dumper API, improving string-like data printing
    * add BPF program's func and line info accessors
    * BPF linker supports linking ELF object files coming from memory buffer and
      referenced by FD, in addition to file path-based APIs;
    * small improvements to BTF dedup to handle rare quirky corner cases produces
      by some compilers
    * add likely() and unlikely() convenience macros;
    * __arg_untrusted annotation for BPF global subprog arguments;
    * bpf_stream_printk() macro for working with BPF streams;
    * bpf_usdt_arg_size() API
  - update to 1.6.1:
    * fixing a possible crash when handling BPF arena global variable relocations
  - drop 0001-libbpf-Add-identical-pointer-detection-to-btf_dedup_.patch, which
    is now included
* Thu Jun 05 2025 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - Workaround kernel module size increase due to BTF deduplication
    issue since the introduction of TYPEOF_UNQUAL (poo#183503 bsc#1244135)
    * add 0001-libbpf-Add-identical-pointer-detection-to-btf_dedup_.patch
* Tue May 20 2025 Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  - update to 1.5.1:
    * Patch release with a single backported change that improves compatibility
      story of older versions of libbpf-cargo.
      https://github.com/libbpf/libbpf/commit/
      453601a65a6ebcf523b009585b49ce0ad0adeff1
* Wed Dec 18 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - Drop libbpf-Fix-NULL-pointer-dereference-in-bpf_object__c.patch
    * included since 1.4.0
* Wed Oct 30 2024 Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  - update to 1.5.0:
    * libbpf can now open (but not load!) BPF objects of non-native endianness,
      enabling cross-architecture support for BPF skeleton generation and BPF
      object introspection
    * BPF skeleton will now auto-attach SEC(".struct_ops") maps as part of
      <skeleton>__attach() call
    * BPF kprobe session programs support (SEC("kprobe.session"))
    * allow specifying kernel module name for fentry/fexit BPF programs
      (SEC(fentry/module:function)
    * libbpf recognizes LIBBPF_LOG_LEVEL environment variable, which can be used
      to set default log verboseness
    * BPF ringbuf APIs that limit maximum number of consumed records at a time
      (ring_buffer__consume_n(), ring__consume_n())
    * distilled BTF support (btf__distill_base(), btf__relocate())
    * BPF link-based attachment of BPF_PROG_TYPE_SOCKMAP programs
      (bpf_program__attach_sockmap())
    * bpf_object__token_fd() API to fetch BPF token FD of a BPF object, if any
    * fixes for fetching syscall arguments on arm64, s390x, risc-v architectures
    * better GCC-BPF source code compatibility
    * __bpf_fastcall support for a few BPF helpers
    * __uptr annotation definition added to bpf/bpf_helpers.h API header
    * fixes and improvements around handling missing and nulled out struct_ops
      programs
    * fixed mmap()-ing logic for global data, fixing interop between generic
      bpf_object__open() APIs and BPF subskeletons
    * BPF skeleton backwards compatibility handling fixes
    * handle LTO-produced *.llvm.<hash> symbols better
    * feature detection fixes in the presence of BPF token inside user namespace
    * older kernels have broken PID filtering logic for multi-uprobes, libbpf now
      detects this and avoids the use of multi-uprobes for USDTs
    * fix accidental drop of FD_CLOEXEC flag during BPF map reuse
    * few BTF dumper formatting fixes
    * a few more small fixes all around.
* Wed Oct 30 2024 Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  - update to 1.4.7:
    * fix interop issues between generic bpf_object__open() APIs and BPF
      subskeleton w.r.t. global data handling
    * speed up BTF sanity checks by skipping already validated base BTF
    * fix legacy treatment of non-SEC()-annotated subprogram as entry BPF program
      in some cases
* Wed Sep 04 2024 Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  - update to 1.4.6:
    * BPF skeleton forward compatibility fix (f6f2402);
    * BTF endianness inheritance bug fix (fe28fae).
* Thu Jul 18 2024 Dirk Müller <dmueller@suse.com>
  - update to 1.4.5:
    * Another small bug fix release backporting https://github.com/
      libbpf/libbpf/commit/d9f9fd5b22223ae69c62e083da6093d95a0db799
      which works around kernel-side bug with USDT PID filtering on
      kernels that support multi-uprobe (but have broken PID
      filtering).
* Tue Jun 04 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - update to 1.4.3:
    * Fix libbpf unintentionally dropping FD_CLOEXEC flag when (internally)
      duping FDs
* Tue May 21 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - Fix null pointer dereference in bpf_object__collect_prog_relos()
    (bsc#1221101)
    * Add libbpf-Fix-NULL-pointer-dereference-in-bpf_object__c.patch
* Sat May 11 2024 Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  - update to 1.4.2:
    * Another struct_ops-focused bug fix release. It addresses a few more corner
      cases when dealing with SEC("struct_ops") programs.
    * It also improves error messaging around common use case of declaring
      struct_ops BPF program and not referencing it from SEC(".struct_ops")
      variable (backed by struct_ops BPF map).
    * This release should improve overall experience of using BPF struct_ops
      functionality.
* Thu May 02 2024 Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  - update to 1.4.1:
    * Bug fix release fixing logic around determining whether to autoload
      SEC("struct_ops") programs in cases when old kernel doesn't support some
      optional callbacks and user reset them to NULL from BPF skeleton.
* Wed Apr 03 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - update to 1.4.0:
    * support for BPF token throughout low-level and high-level APIs
      (see also LIBBPF_BPF_TOKEN_PATH envvar)
    * struct_ops functionality around handling multi-kernel
      compatibility using BPF CO-RE principles and approaches
    * BPF arena map support
    * support __arena tagged global variables, which are automatically
      put into BPF arena map
    * BPF cookie support for raw tracepoint BPF programs in attach APIs
      loaded or created, respectively
    * add SEC("sk_skb/verdict") support
    * support global subprog argument tagging for for kprobe/uprobe,
      and perf_event BPF program with newly added __arg_ctx,
      __arg_nonnull, __arg_nullable, __arg_trusted, and __arg_arena
      annotations
    * add bpf_core_cast() macro, improving ergonomics of
      bpf_rdonly_cast() BPF helper
    * __long() macro added for specifying 64-bit values when declaring
      BTF-defined maps
    * better GCC-BPF support in BPF CO-RE macros in bpf_core_read.h header
    * show specific error messages when attempting to
      use struct bpf_program/bpf_map instances there were not loaded or
      created
    * fix inner map's max_entries setting logic
    * btf_ext__raw_data() and btf__new_split() APIs are added back
    * ignore DWARF sections in BPF linker sanity checks, improving
      handling of some corner cases
    * fix potential NULL dereference when handling corrupted ELF files.
* Sat Nov 25 2023 Dirk Müller <dmueller@suse.com>
  - update to 1.3.0:
    * support for `netfilter` programs is added
      `SEC("netfilter")` is now available
    * API function `bpf_program__attach_netfilter()` is now
      available
    * support for `tcx` BPF programs is added:
    * the following new SEC definitions are now available:
      SEC("tc/egress"), SEC("tc/ingress"), SEC("tcx/egress"),
      SEC("tcx/ingress")
    * the following SEC definitions are now considered legacy:
      SEC("tc"), SEC("action"), SEC("classifier")
    * functions `bpf_prog_attach_opts()` and
      `bpf_prog_query_opts()` are extended to work with `tcx`
      programs, plus two new API functions are added:
    * the following new SEC definitions are now available:
      SEC("uprobe.multi"), SEC("uprobe.multi.s"),
      SEC("uretprobe.multi"), SEC("uretprobe.multi.s")
    * support for section `SEC("usdt.s")` is added for sleepable
      `usdt` programs;
    * support for Unix domain socket cgroup BPF programs is added
      the following new SEC definitions are now available:
      SEC("cgroup/connect_unix"),SEC("cgroup/sendmsg_unix"),
      SEC("cgroup/recvmsg_unix"), SEC("cgroup/getpeername_unix"),
      SEC("cgroup/getsockname_unix")
    * new `LIBBPF_OPTS_RESET()` utility macro;
    * new `bpf_object__unpin()` function to complement existing
      `bpf_object__pin()`;
    * new API functions for work with ring buffers
    * uprobe SEC matcher extended to allow golang symbols;
    * uprobe support for symbols versioning;
    * `bpf_map__set_value_size()` can now be used to resize memory
      mapped region for memory mapped maps;
    * `struct bpf_xdp_query_opts` extended with `xdp_zc_max_segs`
      output field;
    * basic BTF sanity check pass added to reject bogus BTF.
    * fix for btf_dump__dump_type_data() when type contains
      bitfields;
    * fix for correct work of offsetof() and container_of() macro
      with CO-RE;
    * no longer attempt to load modules BTF when resolving CO-RE
      relocations if CAP_SYS_ADMIN are absent;
    * regex based function search for "kprobe.multi/" programs no
      longer attempts to trace functions that cannot be traced;
    * bpf_program__set_type() no longer resets sec_def if it is set
      to a custom fallback SEC handler;
    * fix for memory leak possible after
      bpf_program__set_attach_target() call;
* Fri Jul 14 2023 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - update to v1.2.2:
    * fix a regression in perf tool caused by libbpf resetting its custom
      catch-all SEC() handler on explicit bpf_program__set_type() call
    * fix possible double-free in USDT-related libbpf code, which happens when
      libbpf runs out of space in __bpf_usdt_specs map due to having too many
      unique USDT specs
* Tue May 02 2023 Dirk Müller <dmueller@suse.com>
  - update to 1.2.0:
    * completely overhauled "Libbpf overview" landing documentation
      page;
    * support for BPF link-based `struct_ops` programs:
    * `SEC(".struct_ops.link")` annotations;
    * `bpf_map__attach_struct_ops()` attach API;
    * `bpf_link__update_map()` link update API;
    * support sleepable `SEC("struct_ops.s")` programs
    * improved thread-safety of libbpf print callbacks and
      `libbpf_set_print()`
    * improve handling and reporting of missing BPF kfuncs
    * `bpf_{btf,link,map,prog}_get_info_by_fd()` APIs
    * `bpf_xdp_query_opts()` supports fetching XDP/XSK supported
      features;
    * `perf_buffer__new()` allows customizing notification/sampling
      period now;
    * BPF verifier logging improvements:
    * pass-through BPF verifier log level and flags to kernel as
      is
    * support `log_true_size` for getting required log buffer size
      to fit BPF verifier log completely;
    * allow precise control over kprobe/uprobe attach mode: legacy,
      perf-based, link-based.
    * fix legacy kprobe events names sanitization;
    * fix clobbering errno in some cases;
    * fix BPF map's `BPF_F_MMAPABLE` flag sanitization;
    * fix BPF-side USDT support code on s390x architecture;
    * fix `BPF_PROBE_READ{_STR}_INTO()` on s390x architecture;
    * fix kernel version setting for Debian kernels;
    * fix netlink protocol handling in some cases;
    * improve robustness of attaching to legacy kprobes and
      uprobes;
    * fix double-free during static linking empty ELF sections;
    * a bunch of other small fixes here and there.
* Thu Jan 05 2023 Shung-Hsi Yu <shung-hsi.yu@suse.com>
  - Remove requirement of linux-glibc-devel >= 5.16 for devel package

Files

/usr/lib64/libbpf.so.1
/usr/lib64/libbpf.so.1.7.0
/usr/share/licenses/libbpf1
/usr/share/licenses/libbpf1/LICENSE
/usr/share/licenses/libbpf1/LICENSE.BSD-2-Clause
/usr/share/licenses/libbpf1/LICENSE.LGPL-2.1


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 21 22:32:08 2026