All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tools/nolibc: add support for directory access
@ 2025-02-09 13:25 Thomas Weißschuh
  2025-02-09 13:25 ` [PATCH v2 1/2] tools/nolibc: add support for sys_llseek() Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Weißschuh @ 2025-02-09 13:25 UTC (permalink / raw)
  To: Willy Tarreau, Shuah Khan
  Cc: linux-kernel, linux-kselftest, Thomas Weißschuh,
	Thomas Weißschuh

Add support opendir(), readdir_r(), closedir() and friends.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Move definitions to dirent.h
- Reserve space for the trailing NULL byte of d_name
- Implement readdir_r() instead of readdir()
- Expand commit message
- Link to v1: https://lore.kernel.org/r/20250130-nolibc-dir-v1-0-ea9950b52e29@weissschuh.net

---
Thomas Weißschuh (2):
      tools/nolibc: add support for sys_llseek()
      tools/nolibc: add support for directory access

 tools/include/nolibc/Makefile                |  1 +
 tools/include/nolibc/dirent.h                | 98 ++++++++++++++++++++++++++++
 tools/include/nolibc/nolibc.h                |  1 +
 tools/include/nolibc/sys.h                   | 29 +++++++-
 tools/testing/selftests/nolibc/nolibc-test.c | 39 +++++++++++
 5 files changed, 167 insertions(+), 1 deletion(-)
---
base-commit: c1f4a7a84037249d086a4114c0c4332a260e9091
change-id: 20250130-nolibc-dir-980c2e2b661a

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-09 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-09 13:25 [PATCH v2 0/2] tools/nolibc: add support for directory access Thomas Weißschuh
2025-02-09 13:25 ` [PATCH v2 1/2] tools/nolibc: add support for sys_llseek() Thomas Weißschuh
2025-02-09 13:25 ` [PATCH v2 2/2] tools/nolibc: add support for directory access Thomas Weißschuh
2025-02-09 15:43 ` [PATCH v2 0/2] " Willy Tarreau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.