Revisions of libbpf

buildservice-autocommit accepted request 1171295 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 40)
baserev update by copy to link target
buildservice-autocommit accepted request 1164453 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 38)
baserev update by copy to link target
buildservice-autocommit accepted request 1128704 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 36)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 35)
- 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;
buildservice-autocommit accepted request 1098588 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 34)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 1098587 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 33)
- 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
buildservice-autocommit accepted request 1084196 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 32)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 1083953 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 31)
- 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;
buildservice-autocommit accepted request 1056130 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 30)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 1056129 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 29)
Remove requirement of linux-glibc-devel >= 5.16 for devel package

They're no longer needed since libbpf v0.7, which includes commit 8404d1396c "libbpf: Define BTF_KIND_* constants in btf.h to avoid compilation errors" that defines the constants that used to be missing.
buildservice-autocommit accepted request 1045707 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 28)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 1044164 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 27)
- update to v1.1.0:
  User space-side features and APIs:
  * user-space ring buffer (BPF_MAP_TYPE_USER_RINGBUF) support;
  * new documentation page listing all recognized SEC() definitions;
  * BTF dedup improvements:
  * unambiguous fwd declaration resolution for structs and unions;
  * better handling of some corner cases with identical structs and arrays;
  * mixed enum and enum64 forward declaration resolution logic;
  * bpf_{link,btf,pro,mapg}_get_fd_by_id_opts() and bpf_get_fd_by_id_opts()
    APIs;
  * libbpf supports loading raw BTF for BPF CO-RE from known search paths;
  * support for new cgroup local storage (BPF_MAP_TYPE_CGRP_STORAGE);
  * libbpf will only add BPF_F_MMAPABLE flag for data maps with global
    (i.e., non-static) vars;
  * latest Linux UAPI headers with lots of changes synced into
    include/uapi/linux.
  BPF-side features and APIs;
  * BPF_PROG2() macro added that supports struct-by-value arguments;
  * new BPF helpers:
  * bpf_user_ringbuf_drain();
  * cgrp_storage_get() and cgrp_storage_delete().
  Bug fixes
  * better handling of padding corner cases;
  * btf__align_of() determines packed structs better now;
  * improved handling of enums of non-standard sizes;
  * USDT spec parsing improvements;
  * overflow handling fixes for ringbufs;
  * Makefile fixes to support cross-compilation for 32-bit targets;
  * fix crash if SEC("freplace") programs don't have attach_prog_fd set;
  * better handling of file existence checks when running as non-root with
buildservice-autocommit accepted request 1034423 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 26)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 1034422 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 25)
- Fix out-of-bound heap write (boo#1194248 boo#1194249 CVE-2021-45940 CVE-2021-45941)
  + libbpf-Use-elf_getshdrnum-instead-of-e_shnum.patch
- Fix use-after-free in btf_dump_name_dups (boo#1204391 CVE-2022-3534)
  + libbpf-Fix-use-after-free-in-btf_dump_name_dups.patch
- Fix memory leak in parse_usdt_arg() (boo#1204393 CVE-2022-3533)
  + libbpf-Fix-memory-leak-in-parse_usdt_arg.patch
- Fix null pointer dereference in find_prog_by_sec_insn() (boo#1204502 CVE-2022-3606)
  + libbpf-Fix-null-pointer-dereference-in-find_prog_by_.patch
buildservice-autocommit accepted request 1010116 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 24)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 1007954 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 23)
- update to 1.0.1:
  * fix inadvertently changed struct bpf_object_open_opts memory layout;
  * fix btf.h header relying on struct enum64 type defined in kernel UAPI headers;
  * fix NULL pointer exception in API btf_dump__dump_type_data;
  * remove struct btf_map_def accidentally left in bpf_helpers.h header.
  * All deprecated APIs and features removed!
  * support for syscall-specific kprobe/kretprobe
    (SEC("ksyscall/<syscall_name>") and SEC("kretsyscall/<syscall_name>"));
  * support for sleepable uprobe BPF programs (SEC("uprobe.s"));
  * support for per-cgroup LSM BPF programs (SEC("lsm_cgroup"));
  * support for new BPF CO-RE relocation TYPE_MATCHES;
  * bpf_prog_load() and bpf_map_create() are now smarter about handling program
    and map name on old kernels (it will be ignored if kernel doesn't support
    names);
  * BTF_KIND_ENUM64 support;
  * increase tracing attachment (kprobe/uprobe/tracepoint) robustness by using
    tracefs or debugfs, whichever is mounted;
  * new APIs for converting BPF enums to their string representation:
  * libbpf_bpf_prog_type_str();
  * libbpf_bpf_map_type_str();
  * libbpf_bpf_link_type_str();
  * libbpf_bpf_attach_type_str();
  * bpf_program__set_autoattach() and bpf_program__autoattach() to allow opting
    out from auto-attaching of BPF program by BPF skeleton;
  * perf_buffer__buffer() API to give access to underlying per-CPU buffer for BPF ringbuf;
  * bpf_obj_get_opts() API for more flexible fetching of BPF kernel objects' information.
- see https://github.com/libbpf/libbpf/releases/tag/v1.0.0 for detailed changelog
buildservice-autocommit accepted request 992723 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 22)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 992588 from Callum Farmer's avatar Callum Farmer (gmbr3) (revision 21)
- Update to release 0.8.1:
  * make shared xsk creation network namespace aware
Displaying revisions 1 - 20 of 40
openSUSE Build Service is sponsored by