umber-kernel/tools/include
Benjamin Berg aa857ba3ef tools/nolibc/dirent: avoid errno in readdir_r
[ Upstream commit 4ada5679f18dbbe92d87c37a842c3368e6ab5e4a ]

Using errno is not possible when NOLIBC_IGNORE_ERRNO is set. Use
sys_lseek instead of lseek as that avoids using errno.

Fixes: 665fa8dea9 ("tools/nolibc: add support for directory access")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 14:02:43 +01:00
..
asm tools headers: Import x86 MMIO helper overrides 2025-08-27 12:14:06 -06:00
asm-generic tools headers asm: Sync fls headers header with the kernel sources 2025-11-03 13:35:06 -03:00
generated
io_uring
linux - Remove a bunch of asm implementing condition flags testing in KVM's 2025-10-11 11:19:16 -07:00
nolibc tools/nolibc/dirent: avoid errno in readdir_r 2025-12-18 14:02:43 +01:00
perf
tools
trace/events
uapi tools headers UAPI: Sync linux/kvm.h with the kernel sources 2025-11-03 13:10:19 -03:00
vdso