Thread (5 messages) 5 messages, 3 authors, 2025-07-10

Re: [PATCH v2 08/14] powerpc: Handle KCOV __init vs inline mismatches

From: Kees Cook <kees@kernel.org>
Date: 2025-05-23 15:15:54
Also in: kvmarm, linux-arm-kernel, linux-doc, linux-efi, linux-hardening, linux-kbuild, linux-kselftest, linux-riscv, linux-s390, linux-security-module, lkml, llvm, sparclinux


On May 22, 2025 10:24:30 PM PDT, Andrew Donnellan [off-list ref] wrote:
On Thu, 2025-05-22 at 21:39 -0700, Kees Cook wrote:
quoted
When KCOV is enabled all functions get instrumented, unless
the __no_sanitize_coverage attribute is used. To prepare for
__no_sanitize_coverage being applied to __init functions, we have to
handle differences in how GCC's inline optimizations get resolved.
For
s390 this requires forcing a couple functions to be inline with
I assume you mean powerpc here, though I'm sure my employer is happy
that you're at least confusing us with IBM's other architecture :)
Whoops! Yes. Paste-o on my part. The rest of the sentence was updated correctly though. :)

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help