Hi there,
there are (or will be) at least two Hurd servers, which hand out
"forein" ports to the user - ports, not managed by themselves.
* socketio gives out ports managed by the socket server,
* unionfs gives out ports to the underlying filesystems.
Instead of letting these servers implement their own
netfs_S_dir_lookup, we could extend netfs_attempt_lookup. What is
basically needed is something like:
error_t netfs_attempt_lookup (struct iouser *user, struct node *dir,
char *name, struct node **np,
mach_port_t *port,
mach_msg_type_name_t *port_type);
This would allow servers to simply return:
* forein ports
xor:
* netfs nodes in the usual way.
Some code in netfs_S_dir_lookup dealing with checks on that `struct
node **np' would have to be restricted to the case, in which
netfs_attempt_lookup returned really a node instead of a port.
Comments?
moritz
--
[EMAIL PROTECTED] - http://duesseldorf.ccc.de/~moritz/
GPG fingerprint = 3A14 3923 15BE FD57 FC06 B501 0841 2D7B 6F98 4199
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd