Skip to content

Releases: dynup/kpatch

kpatch 0.8.0

21 Aug 14:12
2a29bc7
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

kpatch 0.4.0

13 Mar 19:11
Compare
Choose a tag to compare

This release has many fixes and improvements since 0.3.4. The '0.3' was
bumped to '0.4' because of commit 0bb5c10 ("kmod: restructure
kpatch sysfs tree"), which broke the ABI between the kpatch core module
and the kpatch script, as it changed the sysfs layout.

Other notable changes since 0.3.4:

  • The tools underlying kpatch-build have been made more modular, in
    preparation for making create-diff-object more generally useful to
    other use cases (kernel livepatch, Xen live patching, user space
    patching).
  • Support for all new upstream kernels up to 4.10.
  • KASLR support.
  • Many other bug fixes and improvements.

kpatch 0.3.4

11 Oct 18:33
Compare
Choose a tag to compare
Merge pull request #611 from flaming-toast/v0.3.4

bump version to 0.3.4