From 08352c2c4e1450f85f02013fcb95bfc3ce0fe5ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E7=BA=A2=E6=B3=A2?= Date: Tue, 18 Jun 2024 14:28:32 +0800 Subject: [PATCH] fix: CVE-2024-2314 --- README.md | 11 - ...the-kheaders-ownership-is-wrong-4928.patch | 76 +++ v0.30.0.tar.gz => bcc-0.30.0.tar.gz | Bin bcc.spec | 467 +++++++++++++++--- 4 files changed, 473 insertions(+), 81 deletions(-) delete mode 100644 README.md create mode 100644 bcc-0.30.0-clang-fail-when-the-kheaders-ownership-is-wrong-4928.patch rename v0.30.0.tar.gz => bcc-0.30.0.tar.gz (100%) diff --git a/README.md b/README.md deleted file mode 100644 index 7342728..0000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Anolis OS -======================================= -# 代码仓库说明 -## 分支说明 ->进行代码开发工作时,请注意选择当前版本对应的分支 -* aX分支为对应大版本的主分支,如a8分支对应当前最新版本 -* aX.Y分支为对应小版本的维护分支,如a8.2分支对应8.2版本 -## 开发流程 -1. 首先fork目标分支到自己的namespace -2. 在自己的fork分支上做出修改 -3. 向对应的仓库中提交merge request,源分支为fork分支 diff --git a/bcc-0.30.0-clang-fail-when-the-kheaders-ownership-is-wrong-4928.patch b/bcc-0.30.0-clang-fail-when-the-kheaders-ownership-is-wrong-4928.patch new file mode 100644 index 0000000..34edd41 --- /dev/null +++ b/bcc-0.30.0-clang-fail-when-the-kheaders-ownership-is-wrong-4928.patch @@ -0,0 +1,76 @@ +From 32a47d9002269b391c0c7ff76aeb2c015deb4b59 Mon Sep 17 00:00:00 2001 +From: Jerome Marchand +Date: Fri, 17 May 2024 15:36:07 +0200 +Subject: [PATCH] clang: fail when the kheaders ownership is wrong (#4928) + (#4985) + +file_exists_and_ownedby() returns -1 when the file exists but its +ownership is unexpected, which is very misleading since anything non +zero is interpreted as true and a function with such a name is +expected to return a boolean. So currently all this does, is write a +warning message, and continues as if nothing is wrong. + +Make file_exists_and_ownedby() returns false when the ownership is +wrong and have get_proc_kheaders() fails when this happen. Also have +all the *exists* functions return bool to avoid such issues in the +future. + +Signed-off-by: Jerome Marchand +--- + src/cc/frontends/clang/kbuild_helper.cc | 22 +++++++++++++++++----- + 1 file changed, 17 insertions(+), 5 deletions(-) + +diff --git a/src/cc/frontends/clang/kbuild_helper.cc b/src/cc/frontends/clang/kbuild_helper.cc +index 9409e4cc..5d3ad9c2 100644 +--- a/src/cc/frontends/clang/kbuild_helper.cc ++++ b/src/cc/frontends/clang/kbuild_helper.cc +@@ -140,20 +140,26 @@ int KBuildHelper::get_flags(const char *uname_machine, vector *cflags) { + return 0; + } + +-static inline int file_exists_and_ownedby(const char *f, uid_t uid) ++static inline bool file_exists(const char *f) ++{ ++ struct stat buffer; ++ return (stat(f, &buffer) == 0); ++} ++ ++static inline bool file_exists_and_ownedby(const char *f, uid_t uid) + { + struct stat buffer; + int ret = stat(f, &buffer) == 0; + if (ret) { + if (buffer.st_uid != uid) { + std::cout << "ERROR: header file ownership unexpected: " << std::string(f) << "\n"; +- return -1; ++ return false; + } + } + return ret; + } + +-static inline int proc_kheaders_exists(void) ++static inline bool proc_kheaders_exists(void) + { + return file_exists_and_ownedby(PROC_KHEADERS_PATH, 0); + } +@@ -231,8 +237,14 @@ int get_proc_kheaders(std::string &dirpath) + uname_data.release); + dirpath = std::string(dirpath_tmp); + +- if (file_exists_and_ownedby(dirpath_tmp, 0)) +- return 0; ++ if (file_exists(dirpath_tmp)) { ++ if (file_exists_and_ownedby(dirpath_tmp, 0)) ++ return 0; ++ else ++ // The path exists, but is owned by a non-root user ++ // Something fishy is going on ++ return -EEXIST; ++ } + + // First time so extract it + return extract_kheaders(dirpath, uname_data); +-- +2.44.0 + diff --git a/v0.30.0.tar.gz b/bcc-0.30.0.tar.gz similarity index 100% rename from v0.30.0.tar.gz rename to bcc-0.30.0.tar.gz diff --git a/bcc.spec b/bcc.spec index 46eb78e..145fabd 100644 --- a/bcc.spec +++ b/bcc.spec @@ -1,96 +1,129 @@ -%define anolis_release 1 -%ifarch loongarch64 -%bcond_without ignore_lua -%bcond_with libbpf_tools +# We don't want to bring luajit in RHEL +%if 0%{?rhel} > 0 +%bcond_with lua +%else +# luajit is not available for some architectures +%ifarch ppc64 ppc64le s390x riscv64 +%bcond_with lua %else -%bcond_with ignore_lua +%bcond_without lua +%endif +%endif + +%ifarch x86_64 ppc64 ppc64le aarch64 s390x riscv64 %bcond_without libbpf_tools +%else +%bcond_with libbpf_tools +%endif + +%bcond_with llvm_static + +%if %{without llvm_static} +%global with_llvm_shared 1 %endif Name: bcc Version: 0.30.0 -Release: %{anolis_release}%{?dist} +Release: 1%{?dist} Summary: BPF Compiler Collection (BCC) -License: ASL 2.0 +License: Apache-2.0 URL: https://github.com/iovisor/bcc -Source0: %{url}/archive/refs/tags/v%{version}.tar.gz - -#Patch1000: 1000-bcc-anolis-ali-enhanced-tools-for-fs-schedule-sys.patch -#Patch1001: 1001-Skiping-cases-in-libbpf-tools.patch -#Patch1003: 1003-add-u64-define.patch -#Patch1004: 1004-fix-man-pages-installation.patch - -BuildRequires: cmake >= 2.8.12 llvm-devel clang-devel llvm-googletest -BuildRequires: flex bison python3-setuptools -BuildRequires: elfutils-libelf-devel elfutils-debuginfod-client-devel -BuildRequires: ncurses-devel python3-devel libxml2-devel -BuildRequires: libbpf-devel >= 1.0.0 libbpf-static >= 1.0.0 - -%if %{without ignore_lua} +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: %%{name}-%%{version}-clang-fail-when-the-kheaders-ownership-is-wrong-4928.patch + +# Arches will be included as upstream support is added and dependencies are +# satisfied in the respective arches +ExclusiveArch: x86_64 %{power64} aarch64 s390x armv7hl riscv64 + +BuildRequires: bison +BuildRequires: cmake >= 2.8.7 +BuildRequires: flex +BuildRequires: libxml2-devel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: elfutils-libelf-devel +BuildRequires: elfutils-debuginfod-client-devel +BuildRequires: llvm-devel +BuildRequires: clang-devel +%if %{with llvm_static} +BuildRequires: llvm-static +%endif +BuildRequires: ncurses-devel +%if %{with lua} BuildRequires: pkgconfig(luajit) %endif +BuildRequires: libbpf-devel >= 2:0.8.0-1, libbpf-static >= 2:0.8.0-1 -Requires: libbpf >= 1.0.0 tar +Requires: libbpf >= 2:0.8.0-1 +Requires: tar Recommends: kernel-devel -Recommends: %{name}-tools = %{EVR} -ExclusiveArch: x86_64 aarch64 loongarch64 +Recommends: %{name}-tools = %{version}-%{release} %description BCC is a toolkit for creating efficient kernel tracing and manipulation programs, and includes several useful tools and examples. It makes use of extended BPF (Berkeley Packet Filters), formally known as eBPF, a new feature -that was first added to Linux 3.15. Much of what BCC uses requires Linux 4.1 -and above. +that was first added to Linux 3.15. BCC makes BPF programs easier to write, +with kernel instrumentation in C (and includes a C wrapper around LLVM), and +front-ends in Python and lua. It is suited for many tasks, including +performance analysis and network traffic control. + %package devel Summary: Shared library for BPF Compiler Collection (BCC) -Requires: %{name} = %{EVR} +Requires: %{name}%{?_isa} = %{version}-%{release} Suggests: elfutils-debuginfod-client %description devel The %{name}-devel package contains libraries and header files for developing application that use BPF Compiler Collection (BCC). + %package doc Summary: Examples for BPF Compiler Collection (BCC) -Recommends: python3-%{name} = %{EVR} -Recommends: %{name}-lua = %{EVR} +Recommends: python3-%{name} = %{version}-%{release} +Recommends: %{name}-lua = %{version}-%{release} BuildArch: noarch %description doc Examples for BPF Compiler Collection (BCC) + %package -n python3-%{name} Summary: Python3 bindings for BPF Compiler Collection (BCC) -Requires: %{name} = %{EVR} +Requires: %{name} = %{version}-%{release} BuildArch: noarch %description -n python3-%{name} Python3 bindings for BPF Compiler Collection (BCC) -%if %{without ignore_lua} + +%if %{with lua} %package lua Summary: Standalone tool to run BCC tracers written in Lua -Requires: %{name} = %{EVR} +Requires: %{name}%{?_isa} = %{version}-%{release} %description lua Standalone tool to run BCC tracers written in Lua %endif + %package tools Summary: Command line tools for BPF Compiler Collection (BCC) -Requires: bcc = %{EVR} -Requires: python3-%{name} = %{EVR} +Requires: bcc = %{version}-%{release} +Requires: python3-%{name} = %{version}-%{release} Requires: python3-netaddr +Requires: python3-pyelftools %description tools Command line tools for BPF Compiler Collection (BCC) + %if %{with libbpf_tools} %package -n libbpf-tools Summary: Command line libbpf tools for BPF Compiler Collection (BCC) -BuildRequires: libbpf-devel >= 0.0.5, libbpf-static >= 0.0.5 +BuildRequires: libbpf-devel >= 2:0.8.0-1, libbpf-static >= 2:0.8.0-1 BuildRequires: bpftool %description -n libbpf-tools @@ -100,14 +133,21 @@ Command line libbpf tools for BPF Compiler Collection (BCC) %prep %autosetup -p1 + %build %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DREVISION_LAST=%{version} -DREVISION=%{version} -DPYTHON_CMD=python3 \ - -DCMAKE_USE_LIBBPF_PACKAGE:BOOL=TRUE \ - -DENABLE_LLVM_SHARED=1 + -DCMAKE_USE_LIBBPF_PACKAGE:BOOL=TRUE -DENABLE_NO_PIE=OFF \ + %{?with_llvm_shared:-DENABLE_LLVM_SHARED=1} %cmake_build + +# It was discussed and agreed to package libbpf-tools with +# 'bpf-' prefix (https://github.com/iovisor/bcc/pull/3263) +# Installing libbpf-tools binaries in temp directory and +# renaming them in there and the install code will just +# take them. %if %{with libbpf_tools} -pushd libbpf-tools +pushd libbpf-tools; make BPFTOOL=bpftool LIBBPF_OBJ=%{_libdir}/libbpf.a CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" make DESTDIR=./tmp-install prefix= install ( @@ -115,6 +155,7 @@ make DESTDIR=./tmp-install prefix= install for file in *; do mv $file bpf-$file done + # now fix the broken symlinks for file in `find . -type l`; do dest=$(readlink "$file") ln -s -f bpf-$dest $file @@ -126,50 +167,59 @@ popd %install %cmake_install +# Fix python shebangs find %{buildroot}%{_datadir}/%{name}/{tools,examples} -type f -exec \ sed -i -e '1s=^#!/usr/bin/python\([0-9.]\+\)\?$=#!%{__python3}=' \ -e '1s=^#!/usr/bin/env python\([0-9.]\+\)\?$=#!%{__python3}=' \ -e '1s=^#!/usr/bin/env bcc-lua$=#!/usr/bin/bcc-lua=' {} \; +# Move man pages to the right location mkdir -p %{buildroot}%{_mandir} mv %{buildroot}%{_datadir}/%{name}/man/* %{buildroot}%{_mandir}/ +# Avoid conflict with other manpages +# https://bugzilla.redhat.com/show_bug.cgi?id=1517408 for i in `find %{buildroot}%{_mandir} -name "*.gz"`; do tname=$(basename $i) rename $tname %{name}-$tname $i done - mkdir -p %{buildroot}%{_docdir}/%{name} mv %{buildroot}%{_datadir}/%{name}/examples %{buildroot}%{_docdir}/%{name}/ +# Delete old tools we don't want to ship rm -rf %{buildroot}%{_datadir}/%{name}/tools/old/ + +# We cannot run the test suit since it requires root and it makes changes to +# the machine (e.g, IP address) +# %%check + %if %{with libbpf_tools} mkdir -p %{buildroot}/%{_sbindir} -install -p libbpf-tools/tmp-install/bin/* %{buildroot}/%{_sbindir}/ +# We cannot use `install` because some of the tools are symlinks and `install` +# follows those. Since all the tools already have the correct permissions set, +# we just need to copy them to the right place while preserving those +cp -a libbpf-tools/tmp-install/bin/* %{buildroot}/%{_sbindir}/ %endif -%generate_compatibility_deps +%ldconfig_scriptlets %files +%doc README.md +%license LICENSE.txt %{_libdir}/lib%{name}.so.* %{_libdir}/libbcc_bpf.so.* -%dir %{abidir} -%{abidir}/lib%{name}*.dump -%license LICENSE.txt - %files devel %exclude %{_libdir}/lib%{name}*.a +%exclude %{_libdir}/lib%{name}*.la %{_libdir}/lib%{name}.so %{_libdir}/libbcc_bpf.so %{_libdir}/pkgconfig/lib%{name}.pc %{_includedir}/%{name}/ -%{abidir}/lib%{name}*.dump %files -n python3-%{name} %{python3_sitelib}/%{name}* %files doc -%doc README.md %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/examples/ @@ -177,46 +227,323 @@ install -p libbpf-tools/tmp-install/bin/* %{buildroot}/%{_sbindir}/ %dir %{_datadir}/%{name} %{_datadir}/%{name}/tools/ %{_datadir}/%{name}/introspection/ +%if 0%{?rhel} > 0 +# inject relies on BPF_KPROBE_OVERRIDE which is not set on RHEL +%exclude %{_datadir}/%{name}/tools/inject +%exclude %{_datadir}/%{name}/tools/doc/inject_example.txt +%exclude %{_mandir}/man8/bcc-inject.8.gz +# btrfs f2fs and zfs are not available on RHEL +%exclude %{_datadir}/%{name}/tools/btrfs* +%exclude %{_datadir}/%{name}/tools/doc/btrfs* +%exclude %{_mandir}/man8/bcc-btrfs* +%exclude %{_datadir}/%{name}/tools/zfs* +%exclude %{_datadir}/%{name}/tools/doc/zfs* +%exclude %{_mandir}/man8/bcc-zfs* +%exclude %{_datadir}/%{name}/tools/f2fs* +%exclude %{_datadir}/%{name}/tools/doc/f2fs* +%exclude %{_mandir}/man8/bcc-f2fs* +%endif %{_mandir}/man8/* -%if %{without ignore_lua} +%if %{with lua} %files lua %{_bindir}/bcc-lua %endif %if %{with libbpf_tools} %files -n libbpf-tools +%ifarch s390x +%exclude %{_sbindir}/bpf-numamove +%endif +# RHEL doesn't provide btrfs or f2fs +%exclude %{_sbindir}/bpf-btrfs* +%exclude %{_sbindir}/bpf-f2fs* %{_sbindir}/bpf-* -%{abidir}/bpf-*-option.list %endif %changelog -* Wed May 08 2024 mgb01105731 - 0.30.0-1 -- update to 0.30.0 +* Thu Jun 13 2024 Jerome Marchand - 0.30.1-1 +- Rebase to the latest version (RHEL-32379) +- Really prevent the loading of compromised headers (CVE-2024-2314) +- Add python3-pyelftools dependency +- Exclude unsupported tools + +* Tue Feb 13 2024 Jerome Marchand - 0.29.1-2 +- Don't use -no-pie flags. + +* Mon Feb 05 2024 Jerome Marchand - 0.29.1-1 +- Rebase to the latest release version (#2253688) +- Enable libbpf-tools on s390x (#2249458) +- Misc 0.29.1 fixes + +* Tue Jan 23 2024 Fedora Release Engineering - 0.28.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 0.28.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Aug 10 2023 Jerome Marchand - 0.28.0-1 +- Rebase to the latest release version (#2218440) +- Fix bio tools (#2184370) +- Fix slabratetop + +* Wed Jul 19 2023 Fedora Release Engineering - 0.27.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.27.0-3 +- Rebuilt for Python 3.12 + +* Tue Jun 06 2023 Jerome Marchand - 0.27.0-2 +- migrated to SPDX license + +* Fri Apr 21 2023 Jerome Marchand - 0.27.0-1 +- Rebase to the latest release version (#2117708) + +* Mon Apr 03 2023 Jerome Marchand - 0.26.0-2 +- Remove the dependency on distutils (RHBZ#2155029) +- Fix macro-in-comment (fedpkg lint warning) +- Fix bogus changelog date (use commit date) + +* Fri Mar 10 2023 Jerome Marchand - 0.26.0-1 +- Rebase to the latest release version + +* Wed Jan 18 2023 Fedora Release Engineering - 0.25.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 0.24.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.24.0-2 +- Rebuilt for Python 3.11 + +* Tue Apr 19 2022 Jerome Marchand - 0.24.0-1 +- Rebase to the latest release version +- Fix cmake build +- Add explicit Requires: bcc for bcc-tools +- Remove deprecated python_provide macro + +* Wed Jan 19 2022 Fedora Release Engineering - 0.22.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Oct 24 2021 Rafael dos Santos - 0.22.0-2 +- Rebuilt for LLVM 13 + +* Thu Sep 16 2021 Rafael dos Santos - 0.22.0-1 +- Rebase to latest release version + +* Mon Aug 02 2021 Rafael dos Santos - 0.21.0-1 +- Rebase to latest release version +- Add support to libdebuginfod + +* Wed Jul 21 2021 Fedora Release Engineering - 0.20.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.20.0-4 +- Rebuilt for Python 3.10 + +* Wed Jun 02 2021 Rafael dos Santos - 0.20.0-3 +- Don't require bcc-tools by default (#1966953) + +* Tue May 18 2021 Jerome Marchand - 0.20.0-2 +- Build bcc from standard sources + +* Mon May 17 2021 Rafael dos Santos - 0.20.0-1 +- Rebase to latest upstream (#1957727) + +* Tue May 11 2021 Jeff Law - 0.19.0-6 +- Re-enable LTO + +* Tue May 04 2021 Jiri Olsa - 0.19.0-5 +- Keeping kernel-devel as weak dependency, resolves #1955154 + +* Fri Apr 30 2021 Jiri Olsa - 0.19.0-4 +- Removing kernel-devel dependency, resolves #1955154 + +* Tue Apr 27 2021 Rafael dos Santos - 0.19.0-3 +- Resolves #1869006 + +* Mon Mar 22 2021 Jiri Olsa - 0.19.0-2 +- add libbpf-tools package + +* Mon Mar 22 2021 Jiri Olsa - 0.19.0-1 +- Rebase to latest upstream + +* Thu Feb 18 2021 Jerome Marchand - 0.18.0-4 +- Disable lua for RHEL + +* Tue Jan 26 2021 Fedora Release Engineering - 0.18.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 22 2021 Tom Stellard - 0.18.0-2 +- Rebuild for clang-11.1.0 + +* Tue Jan 5 15:08:26 CET 2021 Rafael dos Santos - 0.18.0-1 +- Rebase to latest upstream (#1912875) + +* Fri Oct 30 11:25:46 CET 2020 Rafael dos Santos - 0.17.0-1 +- Rebase to latest upstream (#1871417) + +* Mon Oct 12 2020 Jerome Marchand - 0.16.0.3 +- Rebuild for LLVM 11.0.0-rc6 + +* Fri Aug 28 2020 Rafael dos Santos - 0.16.0-2 +- Enable build for armv7hl + +* Sun Aug 23 2020 Rafael dos Santos - 0.16.0-1 +- Rebase to latest upstream (#1871417) + +* Tue Aug 04 2020 Rafael dos Santos - 0.15.0-6 +- Fix build with cmake (#1863243) + +* Sat Aug 01 2020 Fedora Release Engineering - 0.15.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.15.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 09 2020 Tom Stellard - 0.15.0-3 +- Drop llvm-static dependency +- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_statically_linking_executables + +* Thu Jul 02 2020 Rafael dos Santos - 0.15.0-2 +- Reinstate a function needed by bpftrace + +* Tue Jun 23 2020 Rafael dos Santos - 0.15.0-1 +- Rebase to latest upstream version (#1849239) + +* Tue May 26 2020 Miro Hrončok - 0.14.0-2 +- Rebuilt for Python 3.9 + +* Tue Apr 21 2020 Rafael dos Santos - 0.14.0-1 +- Rebase to latest upstream version (#1826281) + +* Wed Feb 26 2020 Rafael dos Santos - 0.13.0-1 +- Rebase to latest upstream version (#1805072) + +* Tue Jan 28 2020 Fedora Release Engineering - 0.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 06 2020 Tom Stellard - 0.12.0-2 +- Link against libclang-cpp.so +- https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package + +* Tue Dec 17 2019 Rafael dos Santos - 0.12.0-1 +- Rebase to latest upstream version (#1758417) + +* Thu Dec 05 2019 Jiri Olsa - 0.11.0-2 +- Add libbpf support + +* Fri Oct 04 2019 Rafael dos Santos - 0.11.0-1 +- Rebase to latest upstream version (#1758417) + +* Thu Oct 03 2019 Miro Hrončok - 0.10.0-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.10.0-3 +- Rebuilt for Python 3.8 + +* Wed Jul 24 2019 Fedora Release Engineering - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed May 29 2019 Rafael dos Santos - 0.10.0-1 +- Rebase to latest upstream version (#1714902) + +* Thu Apr 25 2019 Rafael dos Santos - 0.9.0-1 +- Rebase to latest upstream version (#1686626) +- Rename libbpf header to libbcc_bpf + +* Mon Apr 22 2019 Neal Gompa - 0.8.0-5 +- Make the Python 3 bindings package noarch +- Small cleanups to the spec + +* Tue Mar 19 2019 Rafael dos Santos - 0.8.0-4 +- Add s390x support (#1679310) + +* Wed Feb 20 2019 Rafael dos Santos - 0.8.0-3 +- Add aarch64 support (#1679310) + +* Thu Jan 31 2019 Fedora Release Engineering - 0.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jan 17 2019 Rafael dos Santos - 0.8.0-1 +- Rebase to new released version + +* Thu Nov 01 2018 Rafael dos Santos - 0.7.0-4 +- Fix attaching to usdt probes (#1634684) + +* Mon Oct 22 2018 Rafael dos Santos - 0.7.0-3 +- Fix encoding of non-utf8 characters (#1516678) +- Fix str-bytes conversion in killsnoop (#1637515) + +* Sat Oct 06 2018 Rafael dos Santos - 0.7.0-2 +- Fix str/bytes conversion in uflow (#1636293) + +* Tue Sep 25 2018 Rafael Fonseca - 0.7.0-1 +- Rebase to new released version + +* Wed Aug 22 2018 Rafael Fonseca - 0.6.1-2 +- Fix typo when mangling shebangs. + +* Thu Aug 16 2018 Rafael Fonseca - 0.6.1-1 +- Rebase to new released version (#1609485) + +* Thu Jul 12 2018 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.6.0-2 +- Rebuilt for Python 3.7 + +* Mon Jun 18 2018 Rafael dos Santos - 0.6.0-1 +- Rebase to new released version (#1591989) + +* Thu Apr 05 2018 Rafael Santos - 0.5.0-4 +- Resolves #1555627 - fix compilation error with latest llvm/clang + +* Wed Feb 07 2018 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Feb 02 2018 Igor Gnatenko - 0.5.0-2 +- Switch to %%ldconfig_scriptlets + +* Wed Jan 03 2018 Rafael Santos - 0.5.0-1 +- Rebase to new released version + +* Thu Nov 16 2017 Rafael Santos - 0.4.0-4 +- Resolves #1517408 - avoid conflict with other manpages + +* Thu Nov 02 2017 Rafael Santos - 0.4.0-3 +- Use weak deps to not require lua subpkg on ppc64(le) + +* Wed Nov 01 2017 Igor Gnatenko - 0.4.0-2 +- Rebuild for LLVM5 -* Thu Mar 28 2024 Zhao Hang - 0.27.0-5 -- Rebuild with python3.11 +* Wed Nov 01 2017 Rafael Fonseca - 0.4.0-1 +- Resolves #1460482 - rebase to new release +- Resolves #1505506 - add support for LLVM 5.0 +- Resolves #1460482 - BPF module compilation issue +- Partially address #1479990 - location of man pages +- Enable ppc64(le) support without lua +- Soname versioning for libbpf by ignatenkobrain -* Thu Mar 21 2024 mgb01105731 - 0.27.0-4 -- Rebuild with new llvm +* Wed Aug 02 2017 Fedora Release Engineering - 0.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild -* Mon Mar 11 2024 Bo Ren - 0.27.0-3 -- Rebuild with python3.11 +* Wed Jul 26 2017 Fedora Release Engineering - 0.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild -* Tue Nov 14 2023 Wenlong Zhang - 0.27.0-2 -- disable luajit and bpftool for loongarch64 +* Thu Mar 30 2017 Igor Gnatenko - 0.3.0-2 +- Rebuild for LLVM4 +- Trivial fixes in spec -* Mon Apr 17 2023 Funda Wang - 0.27.0-1 -- New version 0.27.0 +* Fri Mar 10 2017 Rafael Fonseca - 0.3.0-1 +- Rebase to new release. -* Thu Apr 13 2023 Yuanhong Peng - 0.26.0-1 -- Update to 0.26.0 -- Fix man page conflict +* Fri Feb 10 2017 Fedora Release Engineering - 0.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -* Wed Feb 15 2023 Chunmei Xu - 0.25.0-1 -- update to 0.25.0 -- add ali enhenced tools for fs, schedule and sys -- fix man pages installation dir (Funda Wang) +* Tue Jan 10 2017 Rafael Fonseca - 0.2.0-2 +- Fix typo -* Thu May 5 2022 mgb01105731 - 0.24.0-1 -- Init from upstream version 0.24.0 +* Tue Nov 29 2016 Rafael Fonseca - 0.2.0-1 +- Initial import -- Gitee