public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] tools/nolibc: pass mode to open syscall if O_TMPFILE is set
@ 2026-04-29 14:45 Thomas Weißschuh
  2026-04-29 14:45 ` [PATCH 1/4] tools/nolibc: split implicit open flags into a macro Thomas Weißschuh
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Thomas Weißschuh @ 2026-04-29 14:45 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.

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: pass mode to open syscall if O_TMPFILE is set
      selftests/nolibc: test open mode handling

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

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


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

end of thread, other threads:[~2026-05-03 16:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29 14:45 [PATCH 0/4] tools/nolibc: pass mode to open syscall if O_TMPFILE is set Thomas Weißschuh
2026-04-29 14:45 ` [PATCH 1/4] tools/nolibc: split implicit open flags into a macro Thomas Weißschuh
2026-04-29 14:45 ` [PATCH 2/4] tools/nolibc: split open mode handling " Thomas Weißschuh
2026-04-29 14:45 ` [PATCH 3/4] tools/nolibc: pass mode to open syscall if O_TMPFILE is set Thomas Weißschuh
2026-04-29 14:45 ` [PATCH 4/4] selftests/nolibc: test open mode handling Thomas Weißschuh
2026-05-01  8:08 ` [PATCH 0/4] tools/nolibc: pass mode to open syscall if O_TMPFILE is set Willy Tarreau
2026-05-03 16:18   ` 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