The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/4] tools/nolibc: pass mode to open syscall if O_TMPFILE is set
@ 2026-05-14 12:05 Thomas Weißschuh
  2026-05-14 12:05 ` [PATCH v2 1/4] tools/nolibc: split implicit open flags into a macro Thomas Weißschuh
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Weißschuh @ 2026-05-14 12:05 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: linux-kernel, Thomas Weißschuh

When O_TMPFILE is set, the open mode needs to be passed to the kernel as
per the documentation.

---
Changes in v2:
- Always pass the mode to the kernel
- Rebase on latest nolibc/for-next
- Link to v1: https://patch.msgid.link/20260429-nolibc-open-tmpfile-v1-0-63d19c95c0a5@weissschuh.net

To: Willy Tarreau <w@1wt.eu>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

---
Thomas Weißschuh (4):
      tools/nolibc: split implicit open flags into a macro
      tools/nolibc: split open mode handling into a macro
      tools/nolibc: always pass mode to open syscall
      selftests/nolibc: test open mode handling

 tools/include/nolibc/fcntl.h                 | 43 +++++++++++-----------------
 tools/testing/selftests/nolibc/nolibc-test.c | 23 +++++++++++++++
 2 files changed, 40 insertions(+), 26 deletions(-)
---
base-commit: bb2d82d41894cb30d836e9796ff67d2f9a71eccf
change-id: 20260429-nolibc-open-tmpfile-19e677e33c8f

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


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

end of thread, other threads:[~2026-05-14 15:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 12:05 [PATCH v2 0/4] tools/nolibc: pass mode to open syscall if O_TMPFILE is set Thomas Weißschuh
2026-05-14 12:05 ` [PATCH v2 1/4] tools/nolibc: split implicit open flags into a macro Thomas Weißschuh
2026-05-14 12:05 ` [PATCH v2 2/4] tools/nolibc: split open mode handling " Thomas Weißschuh
2026-05-14 12:05 ` [PATCH v2 3/4] tools/nolibc: always pass mode to open syscall Thomas Weißschuh
2026-05-14 15:32   ` Willy Tarreau
2026-05-14 12:05 ` [PATCH v2 4/4] selftests/nolibc: test open mode handling Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox