[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.
- Re: "" as target of symlink kills translator, (continued)
- Re: "" as target of symlink kills translator, Roland McGrath, 2001/06/21
- Re: "" as target of symlink kills translator, Neal H Walfield, 2001/06/21
- Re: "" as target of symlink kills translator, Roland McGrath, 2001/06/21
- Re: "" as target of symlink kills translator, Neal H Walfield, 2001/06/21
- Re: "" as target of symlink kills translator, Roland McGrath, 2001/06/21
- Re: "" as target of symlink kills translator, Neal H Walfield, 2001/06/21
- Re: "" as target of symlink kills translator,
Roland McGrath <=