[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fab6d382-fad4-4d91-90e0-2d0e9dfae216@redhat.com>
Date: Mon, 28 Jul 2025 18:16:13 -0400
From: Joe Lawrence <joe.lawrence@...hat.com>
To: Li kunyu <likunyu10@....com>, jpoimboe@...nel.org, jikos@...nel.org,
mbenes@...e.cz, pmladek@...e.com
Cc: live-patching@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernel/livepatch/core: Fixed the issue of parsing failure
caused by symbols carrying '-' generated by the kpatch software
On 7/20/25 4:50 PM, Li kunyu wrote:
> A possible issue with the kpatch software was discovered during testing
> in the 6.6 and above kernel:
> livepatch: symbol .klp.sym.vmlinux-bringup_idt_table,5438511 has an
> incorrectly formatted name.
>
Hmm, how did the dash get in the symbol name? If I build a defconfig
x86_64 kernel from today, I see the "bringup_idt_table" symbol in
vmlinux, but as per Documentation/livepatch/module-elf-format.rst
shouldn't it be:
.klp.sym.vmlinux.bringup_idt_table,<sympos>
(which btw, sympos of 5438511 seems a little bit large?)
Can you reference which kpatch-build project you are using (there are
several forks floating around, plus downstream versions) and then how to
reproduce this.
Thanks!
--
Joe
Powered by blists - more mailing lists