[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m14pkx8r3l.fsf@ebiederm.dsl.xmission.com>
Date: Sun, 24 Jun 2007 06:38:38 -0600
From: ebiederm@...ssion.com (Eric W. Biederman)
To: David Miller <davem@...emloft.net>
Cc: jeff@...zik.org, kaber@...sh.net, netdev@...r.kernel.org,
hadi@...erus.ca, shemminger@...ux-foundation.org,
greearb@...delatech.com, yoshfuji@...ux-ipv6.org,
containers@...ts.osdl.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org
Subject: Re: [RFD] L2 Network namespace infrastructure
David Miller <davem@...emloft.net> writes:
> From: ebiederm@...ssion.com (Eric W. Biederman)
> Date: Sat, 23 Jun 2007 16:56:49 -0600
>
>> If the only use was strong isolation which Dave complains about I would
>> concur that the namespace approach is inappropriate. However there are
>> a lot other uses.
>
> By your very admission the only appropriate use case is when users
> are not "hostile" and can be trusted to some extent.
Yes. Like all of Linux. Totally hostile antagonistic users that
have millions or billions of dollars to spend better figuring
out how to mess each other up and do bad things to each other should
not be running code on the same machine.
> And that by definition makes it not appropriate for a general purpose
> operating system like Linux.
Not at all. The security should be at least as good as between different
users today, and most likely better.
> Containers are I believe a step backwards, and we're better than that.
I heartily disagree.
I do agree that if someone can write a minimal hypervisor it is possible
to provide stronger guarantees of separation on the same hardware then
it is with linux. But that is because a hypervisor should be such a small
code base one man should be able to prove and audit the thing. Which allows
several independent people to reproduce that effort.
So my real admission is that hypervisor should be able to do much
stronger isolation.
Namespaces come in when you want to do silly little things like share the
sysadmin responsibility, or not modify applications that make silly assumptions
or don't want to take the huge resource consumption hit hypervisors require.
Eric
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists