Skip to content

Releases: dynup/kpatch

kpatch 0.9.9

28 Jul 16:14
Compare
Choose a tag to compare
  • Support for gcc-13
  • Support for Linux 6.2
  • Support for UBSAN kernels
  • Fix handling of PowerPC cpu features
  • Added RHEL-8.8 and 9.2 integration tests

kpatch 0.9.8

10 Mar 17:28
3f5845c
Compare
Choose a tag to compare
  • Clang fix ups from Pete Swain
  • Support for gcc-12
  • Support for Linux 5.19
  • Added RHEL-8.7 and 9.1 integration tests
  • Fixed __UNIQUE_ID() variable correlation
  • Improved handling of unsupported static calls

kpatch 0.9.7

26 Sep 19:26
v0.9.7
4a59a54
Compare
Choose a tag to compare
  • S390x kpatch support
  • Add support for openEuler + documentation (kpatch-build)
  • Use err.h instead of error.h for musl support (kpatch-build)
  • Add support for .return_sites section (kpatch-build x86)
  • Create missing section symbol (kpatch-build)
  • Fix symtab parsing lookup (kpatch-build)
  • Many fixes and improvements in create-diff-object (kpatch-build)
  • Unload already disabled modules (kpatch util)
  • Add integration tests for: rhel-{8.6,9.0},5.18.0 (test)
  • Add tests for patching a syscall (test)
  • Combine and improve Fedora, CentOS with RHEL kpatch-build dependencies (test)
  • Major revamp of README.md and documentation
  • Add syscall patching macros (kmod)

kpatch 0.9.6

12 Apr 19:23
e4c0bb9
Compare
Choose a tag to compare
  • Allow OOT modules to be built with non-distro kernels
  • Add cross-arch unit testing support
  • Support ELF extended symbol section indexes
  • Allow setting kernel version if --sourcedir and --vmlinux are used
  • Cleanup and enhance LINE macro detection for all arches
  • Fix segfault on .LCx string literal symbols
  • Include __dyndbg section when referenced by jump table
  • Honor user provided KBUILD_EXTRA_SYMBOLS
  • Support .retpoline_sites section
  • Add native compiler selection via CROSS_COMPILE

kpatch 0.9.5

13 Oct 13:29
61fc3f1
Compare
Choose a tag to compare

Changes since v0.9.4:

openEuler support
kpatch-build: Do not check KLP_REPLACE for kpatch.ko-based patches
create-diff-object: fix use after free in kpatch-check-relocations()
kpatch-build: Handle error in create-klp-module
create-diff-object: support ppc64le relative jump labels
kmod/patch: clean only rebuildable objs
kpatch-build: save environment varibles to file

kpatch 0.9.4

26 Aug 19:44
v0.9.4
6de60e7
Compare
Choose a tag to compare

Interesting changes since v0.9.3:

  • Support for multiple source files
  • Makefile tweaks for handling non-replace kpatch building
  • Support CONFIG_PRINTK_INDEX
  • kpatch-build: set EXTRAVERSION and not localversion for RH kernels
  • Make sure section symbols exist
  • create-diff-object: Check that the section has a secsym
  • kpatch: rmmod module of the same name before loading a module
  • kpatch-build: enable option -R|--replace to build replace klp
  • kpatch: use /sys/kernel/kpatch/ to check whether core module is loaded
  • kpatch: Sync signal subcmd usage output with manpage
  • fixes for the out-of-range relocation check

kpatch 0.9.3

20 Apr 18:54
v0.9.3
e499f09
Compare
Choose a tag to compare

Interesting changes since v0.9.2:

  • Initial support for clang compiler
  • Add support for rhel-8.4
  • rhel-8.4: workaround pahole and extended ELF sections
  • rhel-8.4: drop klp.arch support
  • Kpatch command waits for module to fully unload
  • Kpatch command informs user when signal subcommand is unnecessary
  • kpatch-build skips ppc64le vdso files

kpatch 0.9.2

15 Sep 16:53
Compare
Choose a tag to compare

Interesting changes since v0.9.1:

  • Integration test support for rhel-{7.8,7.9,8.1,8.2}, centos-8
  • Better support for gcc child functions
  • Batch jump label errors to report all instances
  • Dynrela code cleanup
  • Remove .klp.arch and add support for jump labels in v5.8+ kernels
  • Mark ignored sections earlier to support functions missing ftrace hook
  • Minor README.md improvements
  • Add ppc64le mcount support to patched functions
  • Show additional stalled process information in kpatch script
  • Increased shellcheck coverage and fixes
  • ppc64le plugin fixes for gcc v10
  • Ignore _UNIQUE_ID symbol from tristate config objects
  • Don't clear dmesg during integration tests
  • Detect and report MODVERSIONS symbol version CRC changes

kpatch 0.9.1

23 Mar 19:30
v0.9.1
Compare
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
Compare
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