Re: [PATCH v3 next 03/17] selftests/nolibc: Fix build with host headers and libc
From: Thomas Weißschuh
Date: Wed Feb 25 2026 - 16:24:38 EST
On 2026-02-23 10:17:21+0000, david.laight.linux@xxxxxxxxx wrote:
> From: David Laight <david.laight.linux@xxxxxxxxx>
>
> Many systems don't have strlcpy() or strlcat() and readdir_r() is deprecated.
> This makes the tests fail to build with the host headers.
> Disable the 'directories' test and define strlcpy(), strlcat() and
> readdir_r() using #defines so that the code compiles.
>
> Fixes: 6fe8360b16acb ("selftests/nolibc: also test libc-test through regular selftest framework")
> Signed-off-by: David Laight <david.laight.linux@xxxxxxxxx>
Applied, thanks.
(...)