Re: [PATCH] module: ban '.', '..' as module names, ban '/' in module names
From: Matthew Wilcox
Date: Sun Apr 14 2024 - 20:35:30 EST
On Sun, Apr 14, 2024 at 10:05:05PM +0300, Alexey Dobriyan wrote:
> Any other subsystem should use nice helper function aptly named
>
> string_is_vfs_ready()
>
> and apply additional restrictions if necessary.
>
> /proc/modules hints that newlines should be banned too,
> and \x1f, and whitespace, and similar looking characters
> from different languages and emojis (except 🐧obviously).
I don't see the purpose of allowing any character in 0x01-0x1f.
How annoying to have BEL in there. And, really, what's the value in
allowing characters after 0x7e?