From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] Copying pushtls(2) Message-ID: <20030808153957.E1666@cackle.proxima.alt.za> References: <20030808143514.C1666@cackle.proxima.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from David Presotto on Fri, Aug 08, 2003 at 09:29:25AM -0400 Date: Fri, 8 Aug 2003 15:39:58 +0200 Topicbox-Message-UUID: 16c82612-eacc-11e9-9e20-41e7f4b1d025 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