Re: [PATCH v2 20/53] objtool/klp: Don't correlate .rodata.cst* constant pool objects

Miroslav Benes <[email protected]>
Newsgroups org.kernel.vger.live-patching,org.kernel.vger.linux-kernel
Message-ID <177797425477.9921.14939812739764742317.b4-review@b4>
On Thu, 30 Apr 2026 21:08:08 -0700, Josh Poimboeuf <[email protected]> wrote:
> Clang aggregates UBSAN type descriptors into shared anonymous
> .data..L__unnamed_* sections.  This data is used by UBSAN trap handlers.
> 
> When a changed function has an UBSAN bounds check, klp-diff clones the
> entire UBSAN data section associated with the TU.  Relocations within
> the cloned section that reference named rodata objects in .rodata.cst*
> (like 'exponent', 'pirq_ali_set.irqmap') become KLP relocations because
> those objects now get correlated.
> 
> [...]

Reviewed-by: Miroslav Benes <[email protected]>

-- 
Miroslav
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.