[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNATpQrHX_8x4WvhDN7cODCCLr8kihydtfM-6wxhY17xtQw@mail.gmail.com>
Date: Tue, 8 Jul 2025 21:41:06 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Vlastimil Babka <vbabka@...e.cz>
Cc: Matthias Maennich <maennich@...gle.com>, Jonathan Corbet <corbet@....net>,
Luis Chamberlain <mcgrof@...nel.org>, Petr Pavlu <petr.pavlu@...e.com>,
Sami Tolvanen <samitolvanen@...gle.com>, Daniel Gomez <da.gomez@...sung.com>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nicolas.schier@...ux.dev>,
Alexander Viro <viro@...iv.linux.org.uk>, Christian Brauner <brauner@...nel.org>, Jan Kara <jack@...e.cz>,
Christoph Hellwig <hch@...radead.org>, Peter Zijlstra <peterz@...radead.org>,
David Hildenbrand <david@...hat.com>, Shivank Garg <shivankg@....com>,
"Jiri Slaby (SUSE)" <jirislaby@...nel.org>, Stephen Rothwell <sfr@...b.auug.org.au>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-modules@...r.kernel.org,
linux-kbuild@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 1/2] module: Restrict module namespace access to in-tree modules
On Tue, Jul 8, 2025 at 4:29 PM Vlastimil Babka <vbabka@...e.cz> wrote:
>
> The module namespace support has been introduced to allow restricting
> exports to specific modules only, and intended for in-tree modules such
> as kvm. Make this intention explicit by disallowing out of tree modules
> both for the module loader and modpost.
>
> Signed-off-by: Vlastimil Babka <vbabka@...e.cz>
In my understanding, an external module with the same name
can override the internal one.
This change disallows such a use-case.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists