Thread (14 messages) flat view 14 messages, 6 authors, 8d ago

Re: [PATCH v10 0/2] module: Extend module_blacklist parameter to built-in modules

From: Alice Ryhl <aliceryhl@google.com>
Date: 2026-09-09 13:22:52
Also in: linux-modules, lkml, rust-for-linux

On Sun, Sep 06, 2026 at 10:08:57AM -0400, Aaron Tomlin wrote:
    2.  Mangled Names in Rust

        For drivers written in Rust, initcall symbols are compiler-mangled,
        which makes initcall_blacklist= virtually impossible for a user to
        specify at a boot prompt.
Are you sure?

As far as I can tell, the Rust module! macro applies #[no_mangle] to the
initcall, so no mangling should apply to it. Its name is the name of the
module followed by an underscore.

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