9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] First-timer help
Date: Tue, 19 Jul 2005 16:38:40 +0100	[thread overview]
Message-ID: <451fd5c15dde48affa20a0c323f68847@terzarima.net> (raw)
In-Reply-To: <20050719113153.6a05a689@localhost.localdomain>

using VM/386 to multiplex window sessions is rather like virtualising the
Unix system call layer to allow several IP stacks.  it seems just
a little heavy-handed.  there is actually little difference between
multi-user cpu servers and single-user terminals as far as the plan 9 kernel is concerned:
mainly configuration and a few small policy differences.

if each user is given a rio session, much as martin suggested,
and it has its own name space (as with newns)
it will use its own attach to the file server, and
thus run with the desired file permissions.

/dev/user can be set using cap(3).

the host owner (/dev/hostowner) owns all devices, including cap(3),
which works well in existing use `as intended', but for non-overlapping shared
use of a single-user terminal would probably require something
to set hostowner when it switches to a given user's session.

the draw devices would all change ownership too, but if that makes
things too open (because the current user can see all window contents),
then it probably isn't hard to record ownership on draw directories
(as for /net/tcp directories and a few other devices). 

the more serious problem is that there isn't a good paint program.



  parent reply	other threads:[~2005-07-19 15:38 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-17 18:27 John Floren
2005-07-17 18:26 ` Gorka guardiola
2005-07-17 19:18   ` John Floren
2005-07-17 19:20     ` Russ Cox
2005-07-17 23:12       ` Charles Forsyth
2005-07-18  9:23         ` Martin C. Atkins
2005-07-18 10:45           ` lucio
2005-07-18 18:24             ` Jack Johnson
2005-07-19  6:01             ` Martin C. Atkins
2005-07-19 13:29               ` Axel Belinfante
2005-07-19 13:57               ` Ronald G. Minnich
2005-07-19 16:11                 ` Martin C. Atkins
2005-07-19 15:38               ` Charles Forsyth [this message]
2005-07-19 16:12                 ` Skip Tavakkolian
2005-07-19 16:39                 ` Martin C. Atkins
2005-07-21  2:30                 ` Tim Newsham
2005-07-20  1:43               ` Brian L. Stuart
2005-07-18 13:08           ` Steve Simon
2005-07-21  2:17             ` Tim Newsham
2005-07-21  4:34               ` arisawa
2005-07-21  2:11         ` Tim Newsham
2005-07-21  2:57           ` Ronald G. Minnich
2005-07-22  9:44             ` Richard Miller
2005-07-22  9:49               ` Charles Forsyth
2005-07-22 15:09                 ` Gorka guardiola
2005-07-22 14:14               ` Wes Kussmaul
2005-07-22 15:36               ` David Leimbach
2005-07-22 18:13                 ` jmk
2005-07-23  3:30                 ` LiteStar numnums
2005-07-23 16:19                   ` Ronald G. Minnich
2005-07-21 16:12           ` Dave Eckhardt
2005-07-21 16:23             ` Russ Cox
2005-07-21 17:33             ` Wes Kussmaul
2005-07-21 18:13             ` Tim Newsham
2005-07-22  6:16               ` Dave Eckhardt
2005-07-22  6:20                 ` Charles Forsyth
2005-07-21 23:00             ` Ronald G. Minnich
2005-07-22  1:28               ` David Leimbach
2005-07-22  1:48               ` Russ Cox
2005-07-22  3:54                 ` Ronald G. Minnich
2005-07-22  5:57                   ` lucio
2005-07-17 19:20     ` andrey mirtchovski
2005-07-17 19:47       ` John Floren
2005-07-17 19:44         ` andrey mirtchovski
2005-07-17 20:17           ` John Floren
2005-07-17 20:20             ` andrey mirtchovski
2005-07-17 20:58               ` Russ Cox
2005-07-17 19:45         ` Christopher Nielsen
2005-07-17 23:17         ` Charles Forsyth
2005-07-18  0:33           ` Dave Lukes
2005-07-18  7:31             ` lucio
2005-07-18 15:24             ` Jack Johnson
2005-07-18 15:33               ` David Leimbach
2005-07-18 13:51         ` Ronald G. Minnich
2005-07-18 15:54           ` arisawa
2005-07-18 16:46             ` Jack Johnson
2005-07-17 19:29     ` Tim Wiess
2005-07-19  0:33     ` arisawa
2005-07-19  1:04       ` arisawa
2005-07-17 18:26 ` andrey mirtchovski
2005-07-17 18:30   ` andrey mirtchovski
2005-07-17 22:13 ` [9fans] " Dave Eckhardt
2005-07-18 20:42 [9fans] " Ben Huntsman
2005-07-19 15:48 Ben Huntsman
2005-07-19 16:01 ` Ronald G. Minnich
2005-07-19 16:07   ` Jack Johnson
2005-07-19 16:10   ` Russ Cox
2005-07-19 16:23     ` Ronald G. Minnich
2005-07-19 16:46       ` Martin C. Atkins
2005-07-19 16:40     ` Bakul Shah
2005-07-19 16:51     ` andrey mirtchovski
2005-07-19 17:14     ` Devon H. O'Dell
2005-07-19 20:08       ` David Leimbach
2005-07-19 20:29         ` Devon H. O'Dell
2005-07-20  6:39     ` William K. Josephson
2005-07-19 20:05   ` David Leimbach
2005-07-20  4:40     ` Ronald G. Minnich
2005-07-20  5:02       ` andrey mirtchovski
2005-07-20  8:46       ` Charles Forsyth
2005-07-20 13:44         ` David Leimbach
2005-07-20  0:57   ` Brian L. Stuart
2005-07-20  4:47     ` Ronald G. Minnich
2005-07-21  2:33       ` Brian L. Stuart
2005-07-21  3:02         ` Ronald G. Minnich
2005-07-21  3:46           ` Brian L. Stuart
2005-07-21  2:32 ` Tim Newsham
2005-07-19 16:33 Ben Huntsman
2005-07-20  4:09 ` Ronald G. Minnich
2005-07-20 16:38 Dave Eckhardt
2005-07-21 23:25 Francisco J. Ballesteros
2005-07-21 23:36 ` Devon H. O'Dell

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=451fd5c15dde48affa20a0c323f68847@terzarima.net \
    --to=forsyth@terzarima.net \
    --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).