diff options
| author | 2026-08-31 18:05:01 +0200 | |
|---|---|---|
| committer | 2026-09-14 00:18:54 +0200 | |
| commit | f19ae28f1f050b7d6551412a04281955cc4103e5 (patch) | |
| tree | 565866b681b917b1fb20583f3dc9c29d1cdc733a /scripts/Makefile.thinlto | |
| parent | selftests/nolibc: Add basic test for sendfile() (diff) | |
tools/nolibc: validate directory with O_DIRECTORY in opendir()
Switch to O_DIRECTORY to validate that the opened file is a directory.
ALso remove the call to fdopendir() in opendir() to avoid a double check
of 'fd'. This will also make it easier to add a similar check for
fdopendir().
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260831-nolibc-fdopendir-enotdir-v1-3-8cf0e79c4e6f@weissschuh.net
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
