2019-12-30 15:59:18 +08:00
|
|
|
Name: kpatch
|
2020-05-11 14:59:12 +08:00
|
|
|
Epoch: 1
|
2024-03-02 00:18:20 +08:00
|
|
|
Version: 0.9.9
|
2024-04-30 19:01:07 +08:00
|
|
|
Release: 4
|
2019-12-30 15:59:18 +08:00
|
|
|
Summary: A Linux dynamic kernel patching infrastructure
|
|
|
|
|
|
|
|
|
|
License: GPLv2
|
|
|
|
|
URL: https://github.com/dynup/kpatch
|
2020-09-25 05:08:22 -04:00
|
|
|
Source0: https://github.com/dynup/kpatch/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2019-12-30 15:59:18 +08:00
|
|
|
|
|
|
|
|
Source1: os_hotpatch
|
|
|
|
|
Source2: livepatch
|
|
|
|
|
Source3: make_hotpatch
|
|
|
|
|
|
2021-11-16 12:10:06 +08:00
|
|
|
#custom patch
|
|
|
|
|
Patch0001:0001-kpatch-add-aarch64-support.patch
|
|
|
|
|
Patch0002:0002-create-diff-object-fix-symbol-changed-sections-error.patch
|
|
|
|
|
Patch0003:0003-create-diff-object-support-kpatch_line_macro_change_.patch
|
|
|
|
|
Patch0004:0004-create-diff-object-support-skip-check-func-profiling.patch
|
|
|
|
|
Patch0005:0005-create-diff-object-new-static-var-should-be-included.patch
|
|
|
|
|
Patch0006:0006-create-diff-object-fix-correlate-static-local-variab.patch
|
2023-01-30 16:10:43 +08:00
|
|
|
Patch0007:0007-livepatch-patch-hook-support-no-active-after-load.patch
|
|
|
|
|
Patch0008:0008-kpatch-build-enhance-for-out-of-tree-module.patch
|
|
|
|
|
Patch0009:0009-support-c-kernel-module.patch
|
|
|
|
|
Patch0010:0010-symbol-lookup-enhancement.patch
|
|
|
|
|
Patch0011:0011-Add-running-kernel-symbol-table-to-help-symbol-looku.patch
|
|
|
|
|
Patch0012:0012-livepatch-patch-hook-support-force-enable-disable.patch
|
|
|
|
|
Patch0013:0013-kpatch-build-ignore-debuginfo-in-patch.patch
|
|
|
|
|
Patch0014:0014-add-object-in-kpatch.patch
|
|
|
|
|
Patch0015:0015-create-diff-object-fix-.orc_unwind_ip-error.patch
|
|
|
|
|
Patch0016:0016-create-diff-object-add-jump-label-support.patch
|
|
|
|
|
Patch0017:0017-kpatch-build-add-compile-flag-fno-reorder-functions.patch
|
|
|
|
|
Patch0018:0018-Fix-relocation-not-resolved-when-new-functions-expor.patch
|
|
|
|
|
Patch0019:0019-support-remove-static-variables-using-KPATCH_IGNORE_.patch
|
|
|
|
|
Patch0020:0020-use-original-reloc-for-symbols-exported-from-modules.patch
|
|
|
|
|
Patch0021:0021-create-diff-object-create-dynamic-relocs-for-changed.patch
|
|
|
|
|
Patch0022:0022-kpatch-build-support-CROSS_COMPILE.patch
|
|
|
|
|
Patch0023:0023-livepatch-patch-hook-disable-HAVE_SIMPLE_ENABLE-to-k.patch
|
|
|
|
|
Patch0024:0024-kpatch-build-add-KBUILD_MODPOST_WARN-1-to-avoid-modp.patch
|
2024-03-02 00:18:20 +08:00
|
|
|
Patch0025:0025-create-diff-object-fix-segment-fault-when-using-KPAT.patch
|
|
|
|
|
Patch0026:0026-kpatch-macros-replace-__section-with-__kpatch_sectio.patch
|
|
|
|
|
Patch0027:0027-create-diff-object-ignore-changed-of-section-__patch.patch
|
|
|
|
|
Patch0028:0028-create-diff-object-fix-null-pointer-dereference-in-k.patch
|
|
|
|
|
Patch0029:0029-create-diff-object-ignore-.note.gnu.property-section.patch
|
|
|
|
|
Patch0030:0030-create-diff-object-skip-creating-.kpatch.arch-sectio.patch
|
|
|
|
|
Patch0031:0031-kpatch-build-do-not-copy-linux-scripts-when-building.patch
|
|
|
|
|
Patch0032:0032-create-diff-object-ignore-change-of-certain-special-.patch
|
|
|
|
|
Patch0033:0033-create-diff-object-allow-__jump_table-section-change.patch
|
|
|
|
|
Patch0034:0034-livepatch-patch-hook-fix-kpatch-build-error-which-do.patch
|
|
|
|
|
Patch0035:0035-lookup-skip-finding-local-symbols-for-object-with-no.patch
|
|
|
|
|
Patch0036:0036-create-diff-object-ignore-entsize-change-of-.return_.patch
|
|
|
|
|
Patch0037:0037-add-initial-riscv64-support.patch
|
|
|
|
|
Patch0038:0038-Fix-undefined-behavior-problem-when-using-list_forea.patch
|
2024-03-19 14:20:03 +08:00
|
|
|
Patch0039:0039-build-support-for-building-with-clang.patch
|
2019-12-30 15:59:18 +08:00
|
|
|
|
2024-04-30 19:01:07 +08:00
|
|
|
Patch9001:huawei-fix-function-ptr-relocation.patch
|
|
|
|
|
Patch9002:huawei-lookup.c-ignore-BTF-ID-when-matching-locals.patch
|
|
|
|
|
Patch9003:huawei-adapt-kpatch-to-6.6-kernel-and-fix-bundle-symbols-ch.patch
|
|
|
|
|
|
2021-09-28 11:02:09 +08:00
|
|
|
BuildRequires: gcc elfutils-libelf-devel kernel-devel git
|
2024-03-13 15:25:09 +08:00
|
|
|
%ifarch ppc64le
|
|
|
|
|
BuildRequires: gcc-plugin-devel
|
|
|
|
|
%endif
|
2021-01-11 07:33:22 -05:00
|
|
|
Requires: bc make gcc patch bison flex openssl-devel
|
2020-11-12 04:30:12 -05:00
|
|
|
Recommends: %{name}-help = %{version}-%{release}
|
2019-12-30 15:59:18 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
kpatch is a Linux dynamic kernel patching infrastructure which allows you to patch
|
|
|
|
|
a running kernel without rebooting or restarting any processes. It enables sysadmins
|
|
|
|
|
to apply critical security patches to the kernel immediately, without having to wait
|
|
|
|
|
for long-running tasks to complete, for users to log off, or for scheduled reboot
|
|
|
|
|
windows. It gives more control over uptime without sacrificing security or stability.
|
|
|
|
|
|
2020-02-17 14:53:17 +08:00
|
|
|
%package runtime
|
|
|
|
|
Summary: Dynamic kernel patching
|
|
|
|
|
Requires: tar bash kmod
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%description runtime
|
|
|
|
|
Dynamic kernel patching
|
|
|
|
|
|
2019-12-30 15:59:18 +08:00
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-09-25 05:08:22 -04:00
|
|
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
2019-12-30 15:59:18 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install PREFIX=%{_prefix}
|
|
|
|
|
|
2020-03-22 06:56:43 -04:00
|
|
|
install -Dm 0500 -t %{buildroot}/%{_bindir} %{SOURCE1} %{SOURCE2}
|
2021-05-29 08:21:56 +08:00
|
|
|
mkdir -p %{buildroot}/opt/patch_workspace
|
2019-12-30 15:59:18 +08:00
|
|
|
install -Dm 0500 -t %{buildroot}/opt/patch_workspace/ %{SOURCE3}
|
|
|
|
|
pushd %{buildroot}/opt/patch_workspace
|
|
|
|
|
mkdir hotpatch package
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc COPYING README.md
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_prefix}/lib/systemd/system/*
|
|
|
|
|
%{_libexecdir}/kpatch
|
|
|
|
|
%{_prefix}/sbin/kpatch
|
|
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
|
%{_sysconfdir}/init/*
|
|
|
|
|
/opt/patch_workspace/*
|
2020-03-22 06:56:43 -04:00
|
|
|
%exclude %{_bindir}/livepatch
|
|
|
|
|
%exclude %{_bindir}/os_hotpatch
|
2019-12-30 15:59:18 +08:00
|
|
|
|
2020-02-17 14:53:17 +08:00
|
|
|
%files runtime
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/livepatch
|
|
|
|
|
%{_bindir}/os_hotpatch
|
|
|
|
|
|
2019-12-30 15:59:18 +08:00
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-04-30 19:01:07 +08:00
|
|
|
* Tue Apr 30 2024 caixiaomeng <caixiaomeng2@huawei.com> - 1:0.9.9-4
|
|
|
|
|
- Type: bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:adapt kpatch to 6.6 kernel and fix bundle symbols change
|
|
|
|
|
|
2024-03-19 14:20:03 +08:00
|
|
|
* Wed Mar 13 2024 luofng <luofeng13@huawei.com> - 1:0.9.9-3
|
|
|
|
|
- Type: enhencement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:support for building with clang
|
|
|
|
|
|
2024-03-13 15:25:09 +08:00
|
|
|
* Wed Mar 13 2024 peng.zou <peng.zou@shingroup.cn> - 1:0.9.9-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add gcc-plugin-devel to BuildRequires for ppc64le
|
|
|
|
|
|
2024-03-02 00:18:20 +08:00
|
|
|
* Fri Mar 1 2024 Bin Hu <hubin73@huawei.com> -1:0.9.9-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:upgrade to 0.9.9
|
|
|
|
|
|
2023-10-20 21:13:08 +08:00
|
|
|
* Fri Dec 1 2023 laokz <zhangkai@iscas.ac.cn> -1:0.9.7-7
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add initial riscv64 support
|
|
|
|
|
|
2023-11-30 21:13:23 +08:00
|
|
|
* Thu Nov 30 2023 Zhipeng Xie <xiezhipeng1@huawei.com> -1:0.9.7-6
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upsteam patches
|
|
|
|
|
|
2023-09-28 10:53:48 +08:00
|
|
|
* Thu Sep 28 2023 Zhipeng Xie <xiezhipeng1@huawei.com> -1:0.9.7-5
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upsteam patches
|
|
|
|
|
|
2023-08-01 07:20:16 +00:00
|
|
|
* Tue Aug 1 2023 Bin Hu <hubin73@huawei.com> -1:0.9.7-4
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update README doc
|
|
|
|
|
|
2023-07-29 14:57:18 +08:00
|
|
|
* Sat Jul 29 2023 Zhipeng Xie <xiezhipeng1@huawei.com> -1:0.9.7-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upsteam patches
|
|
|
|
|
|
2023-05-29 21:29:30 +08:00
|
|
|
* Mon May 29 2023 Zhipeng Xie <xiezhipeng1@huawei.com> -1:0.9.7-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upsteam patches
|
|
|
|
|
|
2023-01-30 16:10:43 +08:00
|
|
|
* Mon Jan 30 2023 Bin Hu <hubin73@huawei.com> -1:0.9.7-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:upgrade kpatch to version 0.9.7
|
|
|
|
|
|
2022-10-17 16:36:39 +08:00
|
|
|
* Mon Oct 17 2022 lvgenggeng <lvgenggeng@uniontech.com> - 1:0.9.5-16
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:make_hotpatch: add CUSTOM_BUILD_DIR env
|
|
|
|
|
|
2022-10-09 17:34:29 +08:00
|
|
|
* Sun Oct 9 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-15
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:create-diff-object: add support for .return_sites section
|
|
|
|
|
|
2022-10-09 10:50:14 +08:00
|
|
|
* Sun Oct 9 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-14
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:lookup: skip finding local symbols for object with no local symbols
|
|
|
|
|
|
2022-09-06 12:47:29 -04:00
|
|
|
* Tue Sep 6 2022 Tang Bin <tangbin_yewu@cmss.chinamobile.com> -1:0.9.5-13
|
|
|
|
|
- Type:clean code
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:kpatch-build: Remove duplicate functions
|
|
|
|
|
|
2022-09-06 12:07:43 -04:00
|
|
|
* Tue Sep 6 2022 Tang Bin <tangbin_yewu@cmss.chinamobile.com> -1:0.9.5-12
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:kpatch-build: fix loading error in aarch64
|
|
|
|
|
|
2022-09-05 12:19:40 -04:00
|
|
|
* Mon Sep 5 2022 Tang Bin <tangbin_yewu@cmss.chinamobile.com> -1:0.9.5-11
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:livepatch-patch-hook: fix kpatch-build error which do not support ftrace
|
|
|
|
|
|
2022-05-30 19:48:05 +08:00
|
|
|
* Mon May 30 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-10
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:make_hotpatch: fix some grammar error
|
|
|
|
|
|
2022-05-23 19:06:18 +08:00
|
|
|
* Mon May 23 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-9
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:create-diff-object: fix some hotpatch compilation problems
|
|
|
|
|
|
2022-05-12 13:06:47 +08:00
|
|
|
* Thu May 12 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:livepatch-patch-hook: fix HAVE_SIMPLE_ENABLE
|
|
|
|
|
|
2022-05-10 16:16:19 +08:00
|
|
|
* Tue May 10 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:kpatch-build: do not copy linux scripts when building OOT module hotpatch
|
|
|
|
|
|
2022-05-10 15:37:18 +08:00
|
|
|
* Tue May 10 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-6
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix segment fault and hotpatch compilation problem when using openEuler 22.03 LTS kernel
|
|
|
|
|
|
2022-03-30 16:22:36 +08:00
|
|
|
* Wed Mar 30 2022 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.5-5
|
|
|
|
|
- Type:clean code
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete useless code
|
|
|
|
|
|
2022-02-06 17:24:22 +08:00
|
|
|
* Sun Feb 6 2022 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.5-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix "ERROR: util.o: find_local_syms: 185: found duplicate matches for util.c"
|
|
|
|
|
|
2022-01-26 15:25:39 +08:00
|
|
|
* Wed Jan 26 2022 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.5-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upstream patch
|
|
|
|
|
|
2021-12-22 11:47:12 +08:00
|
|
|
* Wed Dec 22 2021 Wentao Fan<fanwentao@huawei.com> -1:0.9.5-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upstream patch
|
|
|
|
|
|
2021-11-16 12:10:06 +08:00
|
|
|
* Sat Nov 13 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.5-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:upgrade to upstream v0.9.5
|
|
|
|
|
|
2021-10-30 15:39:08 +08:00
|
|
|
* Sat Oct 30 2021 Bin Hu<hubin57@huawei.com> -1:0.9.1-21
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upstream patch
|
|
|
|
|
|
2021-10-26 19:32:05 +08:00
|
|
|
* Tue Oct 26 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-20
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport upstream patches
|
|
|
|
|
|
2021-10-26 16:10:30 -06:00
|
|
|
* Tue Oct 26 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-19
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:support make compile environment
|
|
|
|
|
|
2021-09-28 16:54:29 +08:00
|
|
|
* Tue Sep 28 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-18
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:kpatch: update sympos for duplicate symbols in vmlinux
|
|
|
|
|
create-diff-object: fix segment fault when sec2->rela is NULL
|
|
|
|
|
|
2021-09-28 11:02:09 +08:00
|
|
|
* Tue Sep 28 2021 Bin Hu<hubin57@huawei.com> -1:0.9.1-17
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove uname-build-check from build dependency
|
|
|
|
|
|
2021-08-21 04:16:57 -04:00
|
|
|
* Sat Aug 21 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-16
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:create-diff-object: error on detect new/changed ALTINSTR_ENTRY_CB
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-15
|
2021-07-23 00:08:12 -04:00
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: lookup: Add __UNIQUE_ID_ to maybe_discarded_sym list
|
|
|
|
|
|
2021-05-29 08:21:56 +08:00
|
|
|
* Mon May 31 2021 Xinpeng Liu<liuxp11@chinatelecom.cn> -1:0.9.1-14
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify the code stype in make_hotpatch and fix compile bug
|
|
|
|
|
|
2021-05-29 05:47:11 -04:00
|
|
|
* Sat May 29 2021 Wentao Fan<fanwentao@huawei.com> -1:0.9.1-13
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:support for .cold functions with no id suffix
|
|
|
|
|
|
2021-02-10 02:16:14 -05:00
|
|
|
* Wed Feb 10 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-12
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify hotpatch id length limit from 20 to 32
|
|
|
|
|
|
2021-01-11 07:33:22 -05:00
|
|
|
* Mon Jan 11 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-11
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add kpatch requires
|
|
|
|
|
|
2021-01-05 06:25:47 -05:00
|
|
|
* Tue Jan 5 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-10
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:only skip gcc check in cross compile environment
|
|
|
|
|
|
|
|
|
|
* Thu Dec 31 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-9
|
|
|
|
|
- Type:enhancement
|
2020-12-30 21:16:01 -05:00
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:support remove static variables using KPATCH_IGNORE_STATIC
|
|
|
|
|
|
2020-11-22 21:53:59 +08:00
|
|
|
* Sun Nov 22 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix relocation not resolved when new functions exported only
|
|
|
|
|
|
2020-11-13 04:00:24 -05:00
|
|
|
* Tue Nov 17 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-7
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:optimize for out of tree module
|
|
|
|
|
|
|
|
|
|
* Thu Nov 12 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-6
|
2020-11-12 04:30:12 -05:00
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add help package Recommends
|
|
|
|
|
|
2020-09-25 05:08:22 -04:00
|
|
|
* Fri Sep 25 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-5
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update Source0
|
|
|
|
|
|
2020-09-12 05:45:06 -04:00
|
|
|
* Sat Sep 12 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-4
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:code optimization
|
|
|
|
|
|
2020-08-29 17:26:14 +08:00
|
|
|
* Sat Aug 29 2020 Yeqing Peng<pengyeqing@huawei.com> -1:0.9.1-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:adapt kernel source path and name
|
|
|
|
|
|
2020-05-11 14:59:12 +08:00
|
|
|
* Wed Apr 22 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix duplicate symbols in vmlinux
|
|
|
|
|
|
|
|
|
|
* Wed Apr 15 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rebase from upstream version v0.9.1
|
|
|
|
|
Use Epoch to make the version number consistent with the upstream
|
|
|
|
|
|
2020-03-22 06:56:43 -04:00
|
|
|
* Thu Mar 12 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -2.0-3.1.26
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:use orignal reloc for export symbols in all modules
|
|
|
|
|
|
|
|
|
|
* Thu Mar 12 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -2.0-3.1.25
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change livepatch and os_hotpatch to permission and exclude in main package
|
|
|
|
|
|
|
|
|
|
* Wed Feb 26 2020 Zhipeng Xie<xiezhipeng1@huawei.com> -2.0-3.1.24
|
2020-02-27 17:15:29 -05:00
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rebase from upstream version v0.9.0
|
|
|
|
|
|
2020-02-17 14:53:17 +08:00
|
|
|
* Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> -2.0-3.1.23
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add subpackage kpatch-runtime
|
|
|
|
|
|
2019-12-30 15:59:18 +08:00
|
|
|
* Mon Dec 30 2019 openEuler Buildteam <buildteam@openeuler.org> -2.0-3.1.22
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change some patch name and delete useless code
|
|
|
|
|
|
|
|
|
|
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> -2.0-3.1.21
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify email adress
|
|
|
|
|
|
|
|
|
|
* Thu Dec 19 2019 chengquan<chengquan3@huawei.com> -2.0-3.1.20
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove useless description
|
|
|
|
|
|
|
|
|
|
* Thu Nov 28 2019 Yufa Fang<fangyufa1@huawei.com> - 2.0-3.1.19
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:fix compilation with CONFIG_HAVE_ARCH_PREL32_RELOCATIONS
|
|
|
|
|
|
|
|
|
|
* Thu Oct 10 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.18
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:add security compile flags
|
|
|
|
|
|
2021-01-05 06:25:47 -05:00
|
|
|
* Fri Sep 27 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.17
|
2019-12-30 15:59:18 +08:00
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:create-diff-object: allow changing subsections
|
|
|
|
|
|
|
|
|
|
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> -2.0-3.1.16
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:revise help package and subpackage
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2019 openEuler Buildteam<buildteam@openeuler.org> -2.0-3.1.15
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:changelog some patch commit message
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 openEuler Builteam <buildteam@openeuler.org> -2.0-3.1.14
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rewrite spec
|
|
|
|
|
|
2021-01-05 06:25:47 -05:00
|
|
|
* Tue Jul 16 2019 yangbin<robin.yb@huawei.com> - 2.0-3.1.13
|
2019-12-30 15:59:18 +08:00
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:add object in kpatch
|
|
|
|
|
|
|
|
|
|
* Fri Jul 5 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.12
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:fix ref static local symbol for longname symbol
|
|
|
|
|
|
|
|
|
|
* Mon Jul 1 2019 Enbo Kang<kangenbo@huawei.com> - 2.0-3.1.11
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:fix security problem
|
|
|
|
|
|
|
|
|
|
* Tue May 7 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.10
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:change some patch to backport prefix
|
|
|
|
|
|
|
|
|
|
* Sat Apr 13 2019 hezhanyu<hezhanyu@huawei.com> - 2.0-3.1.9
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:modify private key in sign-modules
|
|
|
|
|
|
|
|
|
|
* Thu Apr 4 2019 Enbo Kang<kangenbo@huawei.com> - 2.0-3.1.8
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:delete sensitive information
|
|
|
|
|
|
|
|
|
|
* Thu Mar 28 2019 Enbo Kang<kangenbo@huawei.com> - 2.0-3.1.7
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:add RELRO and PIE for create-kpatch-module, create-diff-object, create-klp-module
|
|
|
|
|
|
|
|
|
|
* Sat Mar 23 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.6
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:upgrade to upstream version 0.6.1
|
|
|
|
|
|
|
|
|
|
* Thu Mar 7 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:add find_special_section_data_arm64 for arm64
|
|
|
|
|
|
|
|
|
|
* Tue Feb 26 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.4
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:add packages required by kpatch and kpatch-runtime
|
|
|
|
|
|
|
|
|
|
* Mon Feb 25 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:adapt for native compile_env
|
|
|
|
|
|
|
|
|
|
* Mon Feb 11 2019 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:support kernel-4.19
|
|
|
|
|
|
|
|
|
|
* Thu Dec 20 2018 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:support c++ kernel module
|
|
|
|
|
|
|
|
|
|
* Wed Dec 19 2018 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-3.1.0
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:support compile kpatch on aarch64
|
|
|
|
|
|
|
|
|
|
* Fri Nov 23 2018 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-2.7.2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:fix some kpatch-build fail cases
|
|
|
|
|
|
|
|
|
|
* Sat Nov 3 2018 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.0-2.7.1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:rebase kpatch
|
|
|
|
|
|
|
|
|
|
* Thu Nov 16 2017 openEuler Builteam <buildteam@openeuler.org> 0.4.0-3
|
|
|
|
|
- Package init
|