9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Copying pushtls(2)
Date: Fri,  8 Aug 2003 15:39:58 +0200	[thread overview]
Message-ID: <20030808153957.E1666@cackle.proxima.alt.za> (raw)
In-Reply-To: <a08bdd87a020beee0466405c5a6c8dd1@plan9.bell-labs.com>; from David Presotto on Fri, Aug 08, 2003 at 09:29:25AM -0400

On Fri, Aug 08, 2003 at 09:29:25AM -0400, David Presotto wrote:
>
> Not really.  It only works in tls/ssl/srv because the driver is
> really running in the context of the process, i.e., its not really
> fd passing, just using your own fd's.  9P doesn't have a concept
> of fd passing.  I've often wondered if it should but get scared
> of the mechanism's complexity when used across machines.
>
That's the point that forsyth raises as well.  It seems to me that one
ought to pass around more than just a numeric file descriptor and that
the right choice of representation would eliminate ambiguities and
potential failures.  But it's just a gut feel.

> You can post the fd into /srv and pass a pointer to that.  Currently,
> one can't change the owner of /srv files, but it should.

Sounds excellent.  Then I would effectively:

	echo svc /srv/svc > /dev/filter/0/ctl

to achieve the desired result?  I can certainly try that.  Thank you.

++L


  reply	other threads:[~2003-08-08 13:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-08 12:35 Lucio De Re
2003-08-08 13:29 ` David Presotto
2003-08-08 13:39   ` Lucio De Re [this message]
2003-08-08 13:42 ` C H Forsyth
2003-08-08 13:51   ` David Presotto
2003-08-08 13:51     ` Lucio De Re
2003-08-08 14:19       ` David Presotto
2003-08-08 14:32         ` Lucio De Re

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=20030808153957.E1666@cackle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --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).