From: erik quanstrom <quanstro@quanstro.net>
To: pietro10@mac.com, 9fans@9fans.net
Subject: Re: [9fans] several things
Date: Mon, 13 Oct 2008 23:07:59 -0400 [thread overview]
Message-ID: <1e80b687744f60ca2986701f933ca496@quanstro.net> (raw)
* This comment might belong somewhere else.
> > in the namespace (see the result of the 'ns' command; there you can
> > also spot that after issueing the 'mntgen' command a line
> > 'bind /usr/ruda/a /usr/ruda/a/' appears; that relates to my 4th
> > question; this bind is the one removed by the 'unmount' command).
> > How can I get rid of that then?
>
> Delete the namespace by closing the window.
i believe the answer to the original question is, you can't.
closing a window can delete a namespace, but there's more to the
story. namespaces aren't tied to rio windows. they're tied to processes.
(see rfork(2).)
namespaces are garbage collected. when the last process / chan with a
reference to a namespace exits, the namespace is reclaimed.
deleting a rio window *can* be a special case of this. (cf. the non-closing
rio window discussion.)
> You just found a bug; congratulations.
this is not a bug. inaccessable bits are not pruned from
the namespace. maybe that is counter to your
expectations, but that doesn't make it a bug.
it would be a serious security problem if you could unbind
inaccessable bits from your namespace. this would imply
you could access them.
- erik
next reply other threads:[~2008-10-14 3:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-14 3:07 erik quanstrom [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-14 13:03 erik quanstrom
2008-10-14 14:07 ` Kernel Panic
2008-10-13 21:35 Rudolf Sykora
2008-10-13 22:35 ` erik quanstrom
2008-10-14 8:10 ` Rudolf Sykora
2008-10-14 9:30 ` Steve Simon
2008-10-14 12:22 ` Yaroslav
2008-10-14 13:15 ` Charles Forsyth
2008-10-14 21:44 ` Derek Fawcus
2008-10-14 22:28 ` Charles Forsyth
2008-10-15 9:42 ` Roman V. Shaposhnik
2008-10-15 12:17 ` erik quanstrom
2008-10-18 7:26 ` Roman V. Shaposhnik
2008-10-20 14:09 ` Yaroslav
2008-10-20 17:21 ` Roman V. Shaposhnik
2008-10-13 22:51 ` Pietro Gagliardi
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=1e80b687744f60ca2986701f933ca496@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
--cc=pietro10@mac.com \
/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).