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 /ChangeLog | |
parent | 55325314bf29d6f2430a2ce83368da8281b12f85 (diff) | |
download | glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.tar glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.tar.gz glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.tar.bz2 glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.zip |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -62,6 +62,8 @@ 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>. + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP + when opening a symlink with O_NOFOLLOW. 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org> |