[PATCH 0/3] tools/nolibc: add support for fcntl()
From: Thomas Weißschuh
Date: Wed Nov 25 2026 - 04:44:30 EST
---
To: Willy Tarreau <w@xxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Cc: Danish Khateeb <danishkhateeb03@xxxxxxxxx>
---
Thomas Weißschuh (3):
selftests/nolibc: split out the structure member compatibility checks
tools/nolibc: add support for fcntl()
tools/nolibc: remove the open-coded fcntl() in dup2()
tools/include/nolibc/fcntl.h | 35 ++++++++++++++
tools/include/nolibc/sys.h | 11 ++---
tools/include/nolibc/types.h | 15 ++++++
tools/testing/selftests/nolibc/nolibc-test.c | 69 +++++++++++++++++++++++-----
4 files changed, 110 insertions(+), 20 deletions(-)
---
base-commit: 70c0be5b80661b6ba4348872850e6a0ae6ae2a9a
change-id: 20261023-nolibc-fcntl-0eea08b0f897
Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>