[PATCH] fs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass
Christoph Hellwig
hch at infradead.org
Mon Jun 23 14:01:08 UTC 2025
On Mon, Jun 23, 2025 at 07:00:39AM -0700, Christoph Hellwig wrote:
> On Mon, Jun 23, 2025 at 12:16:27PM +0200, Christian Brauner wrote:
> > I'm more than happy to switch a bunch of our exports so that we only
> > allow them for specific modules. But for that we also need
> > EXPOR_SYMBOL_FOR_MODULES() so we can switch our non-gpl versions.
>
> Huh? Any export for a specific in-tree module (or set thereof) is
> by definition internals and an _GPL export if perfectly fine and
> expected.
.. the only thing we should do is to drop the pointless _GPL in the
name entirely.
More information about the Linux-security-module-archive
mailing list