SHA256
1
0
forked from pool/libbpf

11 Commits

Author SHA256 Message Date
2238141547 Accepting request 1294661 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1294661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbpf?expand=0&rev=29
2025-07-22 10:53:59 +00:00
Shung-Hsi Yu
8a95084b54 Update libbpf to v1.6.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=58
2025-07-21 05:40:49 +00:00
9370442474 Accepting request 1283405 from devel:libraries:c_c++
Workaround kernel module size increase due to BTF deduplication issue since the introduction of TYPEOF_UNQUAL (poo#183503)

OBS-URL: https://build.opensuse.org/request/show/1283405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbpf?expand=0&rev=28
2025-06-10 06:57:44 +00:00
Shung-Hsi Yu
2b4f0f2395 Add report reference
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=56
2025-06-05 14:47:39 +00:00
Shung-Hsi Yu
4fc55ab17f - Workaround kernel module size increase due to BTF deduplication
issue since the introduction of TYPEOF_UNQUAL
  * add 0001-libbpf-Add-identical-pointer-detection-to-btf_dedup_.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=55
2025-06-05 14:38:07 +00:00
54d6377069 Accepting request 1279755 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1279755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbpf?expand=0&rev=27
2025-05-27 16:49:16 +00:00
66726896d8 Update to 1.5.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=53
2025-05-24 10:04:34 +00:00
11478b6761 Accepting request 1235805 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1235805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbpf?expand=0&rev=26
2025-01-09 14:05:26 +00:00
Shung-Hsi Yu
65065dce7c Incorporate change log entries from SLES
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=51
2025-01-08 07:54:50 +00:00
440a6d99a7 Accepting request 1225185 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1225185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbpf?expand=0&rev=25
2024-11-21 14:13:02 +00:00
Shung-Hsi Yu
4542be3c8c Update to 1.5.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=49
2024-11-20 02:37:09 +00:00
4 changed files with 115 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4cf3ee697d9bd959ad3c0f5c6757370a2559e54448761271e15a23c31c1082e
size 1016372

BIN
libbpf-1.6.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,106 @@
-------------------------------------------------------------------
Mon Jul 21 03:31:14 UTC 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.0:
* 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 5 14:34:05 UTC 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 11:29:45 UTC 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 09:55:26 UTC 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 15:59:44 UTC 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 15:29:42 UTC 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 4 08:44:47 UTC 2024 - Fredrik Lönnegren <fredrik.lonnegren@suse.com>
@@ -22,6 +125,13 @@ Tue Jun 4 06:10:48 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
* Fix libbpf unintentionally dropping FD_CLOEXEC flag when (internally)
duping FDs
-------------------------------------------------------------------
Tue May 21 07:07:12 UTC 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 07:03:51 UTC 2024 - Fredrik Lönnegren <fredrik.lonnegren@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libbpf
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define sover_major 1
%define libname libbpf%{sover_major}
Name: libbpf
Version: 1.4.6
Version: 1.6.1
Release: 0
Summary: C library for managing eBPF programs and maps
License: LGPL-2.1-only