File: fix-find-locals_syms.patch

package info (click to toggle)
kpatch 0.9.10-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,716 kB
  • sloc: ansic: 9,716; sh: 2,592; makefile: 260; asm: 35
file content (17 lines) | stat: -rw-r--r-- 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: __pfx_ to match local symbol in vmlinux symbol table
 This patch add the __pfx_ symbol as possible discarded symbol.
Author: Bryan B.H. <im.bin.hu@gmail.com>_
Forwarded: no
Last-Update: 2024-12-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/kpatch-build/lookup.c
+++ b/kpatch-build/lookup.c
@@ -83,6 +83,7 @@
 	    !strncmp(name, "__brk_reservation_fn_", 21) ||
 	    !strncmp(name, "__func_stack_frame_non_standard_", 32) ||
 	    strstr(name, "__addressable_") ||
+	    strstr(name, "__pfx_") ||
 	    strstr(name, "__UNIQUE_ID_") ||
 	    !strncmp(name, ".L.str", 6) ||
 	    is_ubsan_sec(name))