about summary refs log tree commit diff
path: root/sysdeps/i386/setfpucw.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 19:39:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 19:42:17 +0100
commit489999cc9cb1fab40c308b2e5ede3207e0f7a5be (patch)
tree1b8f11c303fe6b7dbcb1de6241054b2b65563e4e /sysdeps/i386/setfpucw.c
parent55325314bf29d6f2430a2ce83368da8281b12f85 (diff)
downloadglibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.tar.gz
glibc-489999cc9cb1fab40c308b2e5ede3207e0f7a5be.tar.xz
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 'sysdeps/i386/setfpucw.c')
0 files changed, 0 insertions, 0 deletions