diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-15 21:53:57 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-15 21:53:57 +0200 |
commit | 5652e12cce80825297c3e0666991deb10310343c (patch) | |
tree | 86e4806213b3cde8654f19bd44e9da7465547e3c /rt/tst-aio6.c | |
parent | 9e5c991106cb04b489272de0ef6a7a6bcef50477 (diff) | |
download | glibc-5652e12cce80825297c3e0666991deb10310343c.tar.gz glibc-5652e12cce80825297c3e0666991deb10310343c.tar.xz glibc-5652e12cce80825297c3e0666991deb10310343c.zip |
hurd: Make readlink* just reopen the file used for stat
9e5c991106cb ("hurd: Fix readlink() hanging on fifo") separated opening the file for the stat call from opening the file for the read call. That however opened a small window for the file to change. Better make this atomic by reopening the file with O_READ.
Diffstat (limited to 'rt/tst-aio6.c')
0 files changed, 0 insertions, 0 deletions