9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dave Eckhardt <davide+p9@cs.cmu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] https/factotum question
Date: Wed, 22 Feb 2006 18:31:15 -0500	[thread overview]
Message-ID: <6197.1140651075@piper.nectar.cs.cmu.edu> (raw)
In-Reply-To: <110ac39c99871b98c5739a23de17b6e2@swtch.com>

> your only option is to open the fd for mounting the secret
> factotum, then call becomenone(), then mount the fd, which
> is still open but otherwise inaccessible to you.

That is sort of what I meant.  So I'd need a command line
flag which would open a service file descriptor (e.g.,
/srv/factotum but maybe something else) and then mount it
in the address space afterward.

I wonder how much of it I could do with a shell script
and a custom namespace file, i.e., open the service
descriptor as /fd/NN and then in the namespace file
mount /fd/NN as /mnt/factotum?

> the web server isn't signing pages, just that the connection
> is to the right machine.

One of the things I like about Plan 9 is that in theory sealed
name spaces should enable genuine "least privilege" protection
domains in a way that Unix can't do, and I'd kind of like to push
that envelope a bit.

Dave Eckhardt


      reply	other threads:[~2006-02-22 23:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-21 22:54 Dave Eckhardt
2006-02-21 23:00 ` Russ Cox
2006-02-22 23:31   ` Dave Eckhardt [this message]

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=6197.1140651075@piper.nectar.cs.cmu.edu \
    --to=davide+p9@cs.cmu.edu \
    --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).