[EMAIL PROTECTED] (Thomas Bushnell, BSG) writes:

> Instead, you fetch the actual node, and then tell the user to reauth
> *that* node.

Are you sure the needed functionality is implemented?

I tried that, it does not work (with a retry name of ""); the user
keeps the underlying node, he doesn't get the target of a symbolic
link, nor does he get the port to a translator running on that node.

In libdiskfs/dir-lookup.c the case where path is "" is handled
specially; the user simply gets the same node again, to which he sent
the dir_lookup RPC.  Neither the part of resolving symbolic links, nor
the part of fetching translator root ports is used in that case:

  if (path[0] == '\0')
    {
      /* Set things up in the state expected by the code from gotit: on. */
      dnp = 0;
      np = dircred->po->np;
      mutex_lock (&np->lock);
      diskfs_nref (np);
      goto gotit;
    }

I also wonder how to resolve relative, symbolic links when dir_lookup
has no reference to the directory containing the node, for which the
user did a ""-lookup.

                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

Reply via email to