O_DIRECTORY is not part of any Hurd RPC protocol. The implementation
in __hurd_file_name_lookup is the only place that's intended to grok
it. The problem seems to be in the server dir_lookup code that is
skipping leading slashes. I really don't know why that is there at
all. If it serves some v
Hi,
I was investigating why fdopendir() would succeed returning a non-null
DIR* for a valid fd of an open file (while it should fail with ENOTDIR).
So far I traced the steps that happen:
- in glibc, __fdopendir calls __file_name_lookup_under with the fd port,
"/" as file name and O_DIRECTORY a