about summary refs log tree commit diff
path: root/hurd/ports-get.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-08-10 08:56:00 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-11-30 13:37:04 -0300
commit4e16d89866e660426438238a47c2345bdc47dd97 (patch)
treea5549e72fcba4d943e8a8dd98835dbb32b444c30 /hurd/ports-get.c
parent807849965bbdeaa9b0a8f675d098efc520eeaaa8 (diff)
downloadglibc-4e16d89866e660426438238a47c2345bdc47dd97.tar.gz
glibc-4e16d89866e660426438238a47c2345bdc47dd97.tar.xz
glibc-4e16d89866e660426438238a47c2345bdc47dd97.zip
linux: Make fdopendir fail with O_PATH (BZ 30373)
It is not strictly required by the POSIX, since O_PATH is a Linux
extension, but it is QoI to fail early instead of at readdir.  Also
the check is free, since fdopendir already checks if the file
descriptor is opened for read.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'hurd/ports-get.c')
0 files changed, 0 insertions, 0 deletions