about summary refs log tree commit diff
path: root/io/tst-stat-lfs.c
Commit message (Collapse)AuthorAgeFilesLines
* io: Return EBAFD for negative file descriptor on fstat (BZ #27559)Adhemerval Zanella2021-03-111-0/+2
Now that fstat is implemented on top fstatat we need to handle negative inputs. The implementation now rejects AT_FDCWD, which would otherwise be accepted by the kernel. Checked on x86_64-linux-gnu and on i686-linux-gnu.