From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] Copying pushtls(2) In-Reply-To: <20030808143514.C1666@cackle.proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 8 Aug 2003 09:29:25 -0400 Topicbox-Message-UUID: 16b397ce-eacc-11e9-9e20-41e7f4b1d025 On Fri Aug 8 08:50:32 EDT 2003, lucio@proxima.alt.za wrote: > Can the technique used in pushtls(2) of passing an open file > descriptor to a filter device work with a user-space file server? 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. > If that technique is not viable, is there perhaps another mechanism > that can be used analogously? An existing example would be a nice > pointer. 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.