diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-02-23 10:17:21 +0000 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-03-20 17:45:45 +0100 |
| commit | 27532c645e61da541173d43fbe03d234f68232f9 (patch) | |
| tree | 2758d8284365eece794bc67415b1032e42209557 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8ba600aa577f73cc551747fdf121afc7d04afcea (diff) | |
selftests/nolibc: Fix build with host headers and libc
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@gmail.com>
Link: https://patch.msgid.link/20260223101735.2922-4-david.laight.linux@gmail.com
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
