EXPORT_SYMBOL_GPL_FOR_MODULES() heads up
Pay attention to a new commit 707f853d7fa3 ("module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper"). This one is what we mostly need in IIO.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Jonathan Cameron
maintainerQuoted 4 lines · On Mon, 23 Jun 2025 13:45:07 +0300 Andy Shevchenko…
Pay attention to a new commit
707f853d7fa3("module: ProvideEXPORT_SYMBOL_GPL_FOR_MODULES()helper"). This one is what we mostly need in IIO.
Thanks Andy - I'd not registered that merged.
I was following the discussion that lead to that patch and it was targeted at a different use case to our typical one in IIO. I was to prevent anyone else getting access to a particular call that was needed for modular KVM. It's about abuse prevention rather than what we typically care about which is reducing namespace polution.
Now that's not to say it isn't also helpful for us, but I'd like to not rush to using it until we see if it is getting general adoption outside of that specific KVM case and similar.
So let's wait a cycle or so and look again,
Jonathan
Mon, Jun 23, 2025 at 06:41:58PM +0100, Jonathan Cameron kirjoitti:
Quoted 17 lines
Quoted 4 lines · On Mon, 23 Jun 2025 13:45:07 +0300 Andy Shevchenko…
Pay attention to a new commit
707f853d7fa3("module: ProvideEXPORT_SYMBOL_GPL_FOR_MODULES()helper"). This one is what we mostly need in IIO.Thanks Andy - I'd not registered that merged.
I was following the discussion that lead to that patch and it was targeted at a different use case to our typical one in IIO. I was to prevent anyone else getting access to a particular call that was needed for modular KVM. It's about abuse prevention rather than what we typically care about which is reducing namespace polution.
Quoted 3 lines
Now that's not to say it isn't also helpful for us, but I'd like to not rush to using it until we see if it is getting general adoption outside of that specific KVM case and similar.
FWIW, I have noticed this due to the commit
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?h=tty-next&id=b20d6576cdb3530d4a2d81611a8b8eb99780ce3e
Quoted 1 line
So let's wait a cycle or so and look again,
Sure.
Signature · 2 lines
With Best Regards, Andy Shevchenko