From 0dbb3eaec90a922efb79ba9796bea488716ef72bef30f47997f2642bbf036207 Mon Sep 17 00:00:00 2001 From: Shung-Hsi Yu Date: Thu, 4 Apr 2024 01:43:36 +0000 Subject: [PATCH] Accepting request 1164452 from home:shunghsiyu:branches:bpf Update to 1.4.0 OBS-URL: https://build.opensuse.org/request/show/1164452 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=37 --- libbpf-1.3.0.tar.gz | 3 --- libbpf-1.4.0.tar.gz | 3 +++ libbpf.changes | 32 ++++++++++++++++++++++++++++++++ libbpf.spec | 4 ++-- 4 files changed, 37 insertions(+), 5 deletions(-) delete mode 100644 libbpf-1.3.0.tar.gz create mode 100644 libbpf-1.4.0.tar.gz diff --git a/libbpf-1.3.0.tar.gz b/libbpf-1.3.0.tar.gz deleted file mode 100644 index 96dbbc9..0000000 --- a/libbpf-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11db86acd627e468bc48b7258c1130aba41a12c4d364f78e184fd2f5a913d861 -size 999282 diff --git a/libbpf-1.4.0.tar.gz b/libbpf-1.4.0.tar.gz new file mode 100644 index 0000000..8e2bcff --- /dev/null +++ b/libbpf-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4271dfd51f59d23c03d9ae62d8a92622af0f5216a620a7a666c4975c3c7cda6e +size 1015490 diff --git a/libbpf.changes b/libbpf.changes index 5245083..c7e2e1d 100644 --- a/libbpf.changes +++ b/libbpf.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Wed Apr 3 10:50:11 UTC 2024 - Shung-Hsi Yu + +- 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 09:45:41 UTC 2023 - Dirk Müller diff --git a/libbpf.spec b/libbpf.spec index 1251305..15fe29b 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -1,7 +1,7 @@ # # spec file for package libbpf # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 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.3.0 +Version: 1.4.0 Release: 0 Summary: C library for managing eBPF programs and maps License: LGPL-2.1-only