Re: [PATCH v3 0/5] module: Strict per-modname namespaces

From
Petr Pavlu <petr.pavlu@suse.com>
Date
2025-05-14 08:48:09
Also in
linux-kbuild, lkml
Reply to
Peter Zijlstra, 2025-05-02
On 5/2/25 16:12, 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.
@Masahiro, please let me know if you're still reviewing the modpost or
other changes, or the series now looks good to you. I'd like to take it
for v6.16-rc1.

-- 
Thanks,
Petr
Thread (21 messages) 21 messages, 4 authors, last reply 2025-05-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help