Re: [PATCH v3 0/5] module: Strict per-modname namespaces
From: Greg KH
Date: Fri May 02 2025 - 10:39:20 EST
On Fri, May 02, 2025 at 04:12:04PM +0200, Peter Zijlstra wrote:
> Hi!
>
> Implement means for exports to be available to an explicit list of named
> modules. By explicitly limiting the usage of certain exports, the abuse
> potential/risk is greatly reduced.
>
> Changes since v2:
>
> - switch to "module:" prefix (Masahiro)
> - removed some patch noise (Masahiro)
> - strstarts() and strlen() usage for prefixes (Masahiro)
> - simpler ___EXPORT_SYMBOL() changes (Masahiro)
>
> Not making using of glob_match() / fnmatch(); this would result in more
> complicated code for very little gain.
>
Nice work!
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>