summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2026-08-31 18:05:01 +0200
committerThomas Weißschuh <linux@weissschuh.net>2026-08-31 22:51:17 +0200
commit6ef847683e7d294a4187a7253924b8f0d8911416 (patch)
treeb5ba220338dacc531c0ac4fb3e96bbda719748df /scripts/Makefile.thinlto
parent6a6c14d2664e441f016b3b5f0d0b77d4aca2f54c (diff)
downloadlinux-next-6ef847683e7d294a4187a7253924b8f0d8911416.tar.gz
linux-next-6ef847683e7d294a4187a7253924b8f0d8911416.zip
tools/nolibc: validate directory with O_DIRECTORY in opendir()
fdopendir() requires a call to fstat() to determine if the opened file is a directory. Currently opendir() inherits this extra syscall. Switch to O_DIRECTORY and remove the call to fdopendir() in opendir() to make the directory type check cheaper. 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