9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ronald G Minnich <rminnich@lanl.gov>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] Virtual memory & paging
Date: Sat, 16 Feb 2002 14:56:06 -0700	[thread overview]
Message-ID: <Pine.LNX.4.33.0202161434010.26139-100000@xed.acl.lanl.gov> (raw)
In-Reply-To: <E16bjQ2-0001wo-00@po>

On Fri, 15 Feb 2002, Richard Uhtenwoldt wrote:

> I didn't know about your work on private namespaces for Linux until
> about 3-6 months ago.  Can't recall exactly when.  I think I saw an
> announce on Slashdot and short afterward you mentioned it here.

Well I tried once or twice to get papers on it published ca. 1996. It
finally got accepted at a conference in France in 1999, where I learned
just how bad my French has gotten as I tried to follow the talks. But I
got to speak in English, so nobody understood me either. Interesting. I
wonder what if anything I communicated :-) [[ Although in general French
CS researcher's English beats my French]]

The attitude in the US (and Usenix and DARPA) community until not long ago
was "what a stupid idea private name spaces are, you can hack that into
Unix with chroot/jail/whatever" (some reviewer's comments from various
Usenix conferences were just AMAZING). So I got to feel in miniature the
frustration the plan9 guys must have felt for the last decade+ trying to
get these ideas across ...

Not long ago it has started to move to "... we're doing that already" (as
recently stated by one of the Linux core guys, forwarded to me by
somebody). ah well. At least it's happening. (but all the other Unix
problems remain intact).

I actually started this work in the early 90s because while Unix is the
wrong way to build big distributed computing systems, I saw no way out of
the Unix box, and it seemed Plan 9 would never get unlocked. Of course,
now Grids are all the rage, and they're being built with Unix and NT
(s/Unix/Linux/ if you wish). And of course they're horribly insecure. And
nobody seems to want to talk about it -- it might interrupt funding, and
switching OSes is hard.

Just one example: in Globus, all remote users (according to a recent talk
I saw) run as the "GLOBUS user" (same integer UID -- think about it, it's
hard to do it many other ways on Unix). Imagine the following scenario: I
get on to a machine as a GLOBUS user, I fork, parent exits. I wait for
some other globus user, then I hijack them via ptrace. Then I do terrible
things to them -- including go after their files, etc. Easy, easy, easy
on Unix. Chroot has no power over the PID space.

So one proposed fix? Use DYNINST to rewrite the binary to dynamically
change all my system calls (system calls get forwarded, I guess, as in
Condor) so that the hijacker can't guess what you're doing. Sort of
encrypting system calls. It is claimed this is a good idea.

YUCK.

I pointed out to the speaker that if he built his system on Plan 9, this
type of thing is not an issue: no global integer UID space, no common
GLOBUS user, no global PID space, no hijack potential. Response: "Nobody
uses Plan 9, it's been shut down, nobody is working on it". My response,
in short: "bullshit". His response, "Yes but nobody is using it, we all
use Linux, so it doesn't matter if it is better". Gosh, I remember when
people said all this stuff about Unix.

"Meet the new boss, same as the old boss".

ron



  reply	other threads:[~2002-02-16 21:56 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-15 14:32 Richard Uhtenwoldt
2002-02-16 21:56 ` Ronald G Minnich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-05 10:57 geoff
2002-02-05 11:37 ` Boyd Roberts
2002-02-05 14:01 ` david presotto
2002-02-04 11:03 Fco.J.Ballesteros
2002-02-04 10:59 forsyth
2002-02-04 10:38 geoff
2002-02-04 11:16 ` Boyd Roberts
2002-02-04 11:45 ` Boyd Roberts
2002-02-04 17:10   ` Andrew Simmons
2002-02-05 11:17     ` Boyd Roberts
2002-03-30  4:26   ` Richard Maxwell Underwood
2002-02-05  9:53 ` Thomas Bushnell, BSG
2002-02-05 16:06   ` Ronald G Minnich
2002-02-04 10:30 forsyth
2002-02-03 23:08 geoff
2002-02-03 20:26 ` Andrew Simmons
2002-02-04 16:15   ` Ronald G Minnich
2002-02-04  6:21 ` Richard Uhtenwoldt
2002-02-03 21:53 presotto
2002-02-03 22:36 ` Andrew Simmons
2002-02-03 21:21 rob pike
2002-02-04 21:46 ` skipt
2002-02-04 22:11   ` Ronald G Minnich
     [not found]   ` <Pine.LNX.4.33.0202041510540.4327-100000@snaresland.acl.lan l.gov>
2002-02-05  1:30     ` skipt
2002-02-05 15:32       ` Ronald G Minnich
2002-02-03 21:12 andrey mirtchovski
2002-02-03 21:01 Andrew Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0202161434010.26139-100000@xed.acl.lanl.gov \
    --to=rminnich@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).