Re: [PATCH 01/18] liveupdate: Export symbols needed by modules
From: Pratyush Yadav
Date: Thu Dec 03 2026 - 05:58:51 EST
On Wed, Dec 02 2026, Christoph Hellwig wrote:
> On Wed, Dec 02, 2026 at 09:22:05AM -0800, David Matlack wrote:
>> On Tue Dec 1, 2026 at 11:18 PM PST, Christoph Hellwig wrote:
>> > On Wed, Dec 02, 2026 at 12:39:38AM +0000, David Matlack wrote:
[...]
>> Can you say more about what your concern is?
>
> The concern is to add dangerous exports without in-tree actual users.
>
>> Is it mainly about which
>> modules can call these functions, or about drivers registering Live
>> Update file handlers at all? If it's the latter, I'd like to understand
>> it, since that's how drivers like vfio-pci are expected to preserve
>
> The main concert is adding it without a real user, which is a complete
> no-go. But even with a user like vfio-pci (which should have been part
> of the series) this looks dangerous enough to not be exported globally.
Why do you say it is dangerous? What's so bad with modules being able to
register with live update?
--
Regards,
Pratyush Yadav