Thread (13 messages) 13 messages, 4 authors, 2024-09-25

Re: [PATCH v4 0/4] Rust KASAN Support

From: Miguel Ojeda <hidden>
Date: 2024-09-16 16:47:08
Also in: linux-mm, llvm

On Mon, Sep 16, 2024 at 6:15 PM Miguel Ojeda
[off-list ref] wrote:
Applied to `rust-next` -- thanks everyone!
Also, for KASAN + RETHUNK builds, I noticed objtool detects this:

    samples/rust/rust_print.o: warning: objtool:
asan.module_ctor+0x17: 'naked' return found in MITIGATION_RETHUNK
build
    samples/rust/rust_print.o: warning: objtool:
asan.module_dtor+0x17: 'naked' return found in MITIGATION_RETHUNK
build

And indeed from a quick look the `ret` is there.

Since KASAN support is important, I decided to take it nevertheless,
but please let's make sure this is fixed during the cycle (or add a
"depends on").

Thanks!

Cheers,
Miguel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help