Skip to content

Releases: dynup/kpatch

kpatch 0.9.1

23 Mar 19:30
v0.9.1

Choose a tag to compare

A patch release to bump the release number in the tree which also includes recent fixes:

  • Handle ppc64le toc with only constants
  • Don't strip callback section symbols
  • Integration tests update
  • Fix -Wconversion warnings
  • Process debug sections last
  • Use annotation tags as part of the release process

kpatch 0.9.0

14 Feb 17:11
fd8209a

Choose a tag to compare

Increment version to v0.9.0 due to the fact that the core module is now deprecated.

  • The core module (kpatch.ko) is deprecated and is no longer compiled by default. CONFIG_LIVEPATCH is recommended instead. For more details, see #1042.
  • Many bug fixes
  • Many integration test improvements and fixes
  • Documentation cleanups

kpatch 0.8.0

21 Aug 14:12
2a29bc7

Choose a tag to compare

Increment version to v0.8.0 due to manual signaling logic being removed from kpatch util. Full list of changes:

  • kpatch.ko atomic replace fixes
  • Fixes for potential problems found by covscan
  • Remove manual signaling logic from kpatch utility
  • Don't strip callback symbols
  • Allow dynamic debug static keys

kpatch 0.7.1

24 Jul 16:47
d7c5810

Choose a tag to compare

  • Fix several powerpc-specific bugs, including two which can result in kernel panics
  • Use rpmbuild --nodeps for installing srpm on Fedora/RHEL
  • Fix inconsistent unit test failures for FAIL tests

kpatch 0.7.0

18 Jul 14:37
535e917

Choose a tag to compare

Increment version to v0.7.0 due to changed behavior of kpatch.service and
kpatch load subcommand. Full list of changes:

  • Multiple memory leak fixes in kpatch-build
  • livepatch-patch-hook compatability fixes for kernels 5.1+
  • Making kpatch-build compatible with custom gcc names
  • Added rhel-rebased integration tests
  • kpatch.service will no longer unload modules on stop
  • kpatch load will no longer fail if a module is already loaded and enabled
  • kpatch-build will now check for *_fixup section changes on ppc64le and will fail on such changes
  • Add support for R_X86_64_PLT32
  • don't allow jump labels
  • ppc64le-specific kpatch-build fixes

v0.6.3

12 Apr 17:34
f4ed9ff

Choose a tag to compare

v0.6.3 includes:

  • Lots of integration test work
  • Better support for building out-of-tree modules
  • Updated manpage options, drop deprecated distro specific mentions
  • README.md updates for shadow variables, out-of-tree modules
  • Fix core module compilation with CONFIG_HAVE_ARCH_PREL32_RELOCATIONS
  • kpatch-build detects and abort on unsupported options
    GCC_PLUGIN_LATENT_ENTROPY, GCC_PLUGIN_RANDSTRUCT
  • Fix patch linking with 4.20+
  • Other minor shellcheck and kpatch-build fixups

kpatch 0.6.2

02 Oct 14:37
7305d6c

Choose a tag to compare

Patch release that includes fixes for:

  • ppc64le: relax .text section addralign value check
  • gcc8: unit-tests
  • gcc8: support parent/child symbol relations
  • gcc8: handle functions changing subsection
  • gcc8: consider ".text.hot" sections bundleable
  • kpatch-build: bugfix for less aggressive clean build-cache
  • ubuntu: remove "-signed" substring from the kernel source package name
  • ubuntu: explicitly note elfutils dependency
  • upstream 4.18: unit-tests
  • upstream 4.18: KCFLAGS -mcount-record support support
  • RHEL-8: don't care who provides yumdownloader
  • RHEL-8: account for quirky SRPM / release name conventions

kpatch 0.6.1

21 Jun 15:04
7f550f0

Choose a tag to compare

Patch release that includes fixes for:

  • increase the transition timeout, helpful for large CPU count systems
  • ppc64le WARN macro detection
  • .parainstructions-related panic fix
  • many, many unit/integration test cleanups and improvements
  • properly align .parainstructions sections in patch module
  • remove 'immediate' flag support from RHEL-7.6 onward
  • initial GCC 8 support bugfixes
  • support for RHEL kernel-alt release
  • misc kpatch-build fixes and optimizations

kpatch 0.6.0

22 Apr 20:09

Choose a tag to compare

  • Increment version to 0.6.0 due to 926e4e0 ("kmod: add support for
    in-kernel livepatch hooks"), which removed the kpatch (un)load hook API
    support and converted to livepatch-style hooks.
  • Lots of misc bugfixes and cleanups
  • Manpage, README.md fixups
  • More PPC64 work
  • "Undefined reference" build failure rework
  • Livepatch disable retries
  • New unit testing framework

kpatch 0.5.0

21 Dec 05:19
258ac3f

Choose a tag to compare

In addition to many bug fixes, this release has the following new features:

  • Basic ppc64le support
  • kpatch utility support for the livepatch consistency model:
    • kpatch load automatically signals stalled processes after a timeout
    • kpatch list shows stalled processes
    • kpatch signal signals stalled processes
  • kpatch-build has some new options:
    • multiple source patches can be combined into a single binary patch module
    • -n|--name option for giving a custom name to the patch module
    • additional -d options for more verbose debug modes
  • The module prefix is now either livepatch- or kpatch- depending on the underlying patching technology