On Fri, Oct 18, 2002 at 06:20:34PM -0400, Roland McGrath wrote: > The /dev/fd cases use magic with libc support old because that is the only > sensical way to implement them. For other features you can just use normal > translators that do the work themselves. i.e., to return a connected > socket from open, they can get an io_restrict'd port to /servers/socket/N > and call socket_create, socket_connect, etc., and return the port.
Yeah, sorry. I was worrying about privileges, but io_restrict solves that of course. I frequently forget about its existence. Its limitation is that you might not get access to resources that way if the filesystem runs with less privileges than you, but usually this is fixed by running the filesystem with broad enough privileges of course. Thanks for clearing that up. Marcus -- `Rhubarb is no Egyptian god.' GNU http://www.gnu.org [EMAIL PROTECTED] Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/ [EMAIL PROTECTED] http://www.marcus-brinkmann.de/ _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd