Re: [PATCH v5 next 5/5] net: modules: use request_module_cap() to load 'netdev-%s' modules
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2017-11-27 18:44:25
Also in:
linux-security-module, lkml
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2017-11-27 18:44:25
Also in:
linux-security-module, lkml
On Mon, Nov 27, 2017 at 9:18 AM, Djalal Harouni [off-list ref] wrote:
This uses the new request_module_cap() facility to directly propagate CAP_NET_ADMIN capability and the 'netdev' module prefix to the capability subsystem as it was suggested.
This is the kind of complexity that I wonder if it's worth it at all.
Nobody sane actually uses those stupid capability bits. Have you ever
actually seen it used in real life?
They were a mistake, and we should never have done them - another case
of security people who think that complexity == security, when in
reality nobody actually wants the complexity or is willing to set it
up and manage it.
Linus