[PATCH] linux: Make fdopendir fail with O_PATH (BZ 30373)

Andreas Schwab schwab@suse.de
Thu Aug 10 12:12:32 GMT 2023


On Aug 10 2023, Adhemerval Zanella via Libc-alpha wrote:

> 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 if free, since fdopendir already check if the file

s/if/is/;s/check/checks/

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list