diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 19:39:29 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 19:42:17 +0100 |
commit | 489999cc9cb1fab40c308b2e5ede3207e0f7a5be (patch) | |
tree | 1b8f11c303fe6b7dbcb1de6241054b2b65563e4e /hurd/Depend | |
parent | 55325314bf29d6f2430a2ce83368da8281b12f85 (diff) | |
download | glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.zip glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.tar.gz glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.tar.bz2 |
hurd: Fix O_NOFOLLOW
The error code documented by POSIX for opening a symlink with O_NOFOLLOW
is ELOOP.
Also, if the translator does not expose symlink as a symlink translator but
as a S_IFLNK file, O_NOFOLLOW needs to return ELOOP too.
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
when opening a symlink with O_NOFOLLOW.
Diffstat (limited to 'hurd/Depend')
0 files changed, 0 insertions, 0 deletions