From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 5 Jan 2009 11:00:24 +0000 From: "roger peppe" To: lucio@proxima.alt.za, "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [9fans] Why do we need syspipe() ? Topicbox-Message-UUID: 79c4396a-ead4-11e9-9d60-3106f5b1d025 i've sometimes thought that the trick used by #d etc could be made more transparent by providing a genuine capability service for fds, in the form of a system call, for instance getfdcap(int fd, char *buf, int len) then instead of just writing the fd itself, you'd write the capability - thus the write can bridge several namespaces, as long as it ends up in the same kernel, which can then utilise the capability. the fact that this also provides the possibility of implementing sendfd might or might not be an advantage.