bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "" as target of symlink kills translator


From: Roland McGrath
Subject: Re: "" as target of symlink kills translator
Date: Fri, 22 Jun 2001 23:25:34 -0400 (EDT)

What about `ls -L ""'?  I believe that ought to do `stat("",&buf)',
which does the same file_name_lookup as your example program (but
with 0 instead of O_READ).  The `ls ""' you tried ought to do `lstat("",...)',
which does that with O_NOLINK.

You'll have to debug this.  You could try rpctrace to see what lookup RPCs
are happening, or just gdb /bin/ls.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]