Thread (44 messages) 44 messages, 13 authors, 2011-03-26

Re: [PATCH v2] net: don't allow CAP_NET_ADMIN to load non-netdev kernel modules

From: Serge E. Hallyn <hidden>
Date: 2011-03-24 21:58:51
Also in: lkml

Quoting David Miller (davem@davemloft.net):
From: Stephen Hemminger <redacted>
Date: Thu, 24 Mar 2011 14:39:44 -0700
quoted
This breaks for many of the tunneling protocols, that rely on
autoload for names like "sit0"
Frankly I'm very disappointed in the fallout this has been causing.

Everyone supporting this change, get real, and admit it doing in fact
cause a serious regression.
Sorry, I thought this was causing some extra audit messages but no
actual breakage?
If you can't get past that simple fact, you cannot discuss this issue
intelligently.

You can't say "userland will fix things up"

Because we're never supposed to break userland in the first place.

There is simply no excuse for this and I want this change reverted
both in Linus's tree and in -stable.
Eric, in this particular case, since we've already done a
'capable(CAP_NET_ADMIN)', I woudl argue that doing the check
for CAP_SYS_ADMIN without auditing failure (even if it requires
a new helper in capability.c) isn't horrible.  Thoughts?

-serge
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help