[kernel-hardening] Re: [PATCH v5 next 5/5] net: modules: use request_module_cap() to load 'netdev-%s' modules
Linus Torvalds
torvalds at linux-foundation.org
Tue Nov 28 20:12:21 UTC 2017
On Tue, Nov 28, 2017 at 12:08 PM, Kees Cook <keescook at chromium.org> wrote:
>
> Linus, are you okay with this series if the global sysctl gets dropped?
So really, it's not the "global sysctl" as much as the "global
request_module()" that annoys me.
I'll happily take the request_module_cap() part and the thing that
makes networking use that.
But the flag that we have to default to off because it breaks every
single box otherwise? No. It doesn't matter if it's one single global
or just a "global behavior for request_module() for this process" at
that point, it's still a pointless security flag that is opt-in.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list