diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-30 01:08:09 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-30 01:08:09 +0200 |
commit | 90f0f97ccba34efa6ac8d7d4d77db5d473e8da32 (patch) | |
tree | 1256d63a05a2fc228c4762f8ea443c3237095ee1 /hurd/hurdlookup.c | |
parent | f0e84494b1c8b7262ebe925f224dfeef7fb5dcef (diff) | |
download | glibc-90f0f97ccba34efa6ac8d7d4d77db5d473e8da32.tar glibc-90f0f97ccba34efa6ac8d7d4d77db5d473e8da32.tar.gz glibc-90f0f97ccba34efa6ac8d7d4d77db5d473e8da32.tar.bz2 glibc-90f0f97ccba34efa6ac8d7d4d77db5d473e8da32.zip |
hurd getcwd: Allow unknown root directory
To be efficient, the remap translator simply returns ports from the underlying
filesystem, and thus the root directory found through browsing '..' is the
underlying root, not the remap root. This should not be a reason for getcwd to
fail.
* sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_internal): Do
not remove the heading slash if we got an unknown root directory.
(__getcwd): Do not fail with EGRATUITOUS if we got an unknown root directory.
Diffstat (limited to 'hurd/hurdlookup.c')
0 files changed, 0 insertions, 0 deletions