mirror of
https://github.com/dynup/kpatch
synced 2024-12-18 19:34:30 +00:00
54268bfb3e
The gcc-static-local-var-4.patch and test check that unmodified functions that contain dynamic debugging printk's aren't incorrectly included in the resulting livepatch .ko. Note that on RHEL-7.7 ppc64le, the gcc-static-local-var-4.ko livepatch module may include klp-relocation references to free_ioctx(), a function that would match the above criteria. These klp-relocation symbols are OK as they are only used for referencing said functions, they are not copies that the check should FAIL on. Modify gcc-static-local-var-4.test in a few ways: - Use eu-readelf instead of readelf, which some versions have problems handling klp-relocations. - Set pipefail to catch any errors in the symbol table dump (missing elfutils, etc.) - Instead of a grep regex, use awk to string compare exact function and module names. This avoids matching on .klp.sym prefixed klp-relocation symbols. Fixes #1069. Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> |
||
---|---|---|
.. | ||
bug-table-section.patch | ||
cmdline-string-LOADED.test | ||
cmdline-string.patch | ||
data-new-LOADED.test | ||
data-new.patch | ||
data-read-mostly.patch | ||
fixup-section.patch | ||
gcc-constprop.patch | ||
gcc-isra.patch | ||
gcc-mangled-3.patch.disabled | ||
gcc-static-local-var-2.patch | ||
gcc-static-local-var-3.patch | ||
gcc-static-local-var-4.patch | ||
gcc-static-local-var-4.test | ||
gcc-static-local-var-5.patch | ||
gcc-static-local-var-6.patch | ||
gcc-static-local-var.patch | ||
macro-callbacks.patch | ||
macro-printk.patch | ||
meminfo-cmdline-rebuild-SLOW-LOADED.test.disabled | ||
meminfo-cmdline-rebuild-SLOW.patch.disabled | ||
meminfo-init2-FAIL.patch | ||
meminfo-init-FAIL.patch | ||
meminfo-string-LOADED.test | ||
meminfo-string.patch | ||
module-call-external.patch.disable | ||
module-kvm-fixup.patch | ||
multiple.test | ||
new-function.patch | ||
new-globals.patch | ||
parainstructions-section.patch | ||
README | ||
replace-section-references.patch | ||
smp-locks-section.patch | ||
special-static-2.patch | ||
special-static.patch | ||
tracepoints-section.patch | ||
warn-detect-FAIL.patch |
4.4.0-53-generic