]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/nolibc: split implicit open flags into a macro
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 14 May 2026 12:05:11 +0000 (14:05 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 14 May 2026 15:41:02 +0000 (17:41 +0200)
commitced7994fc87d2d1c162d41ff32be876b09c8ad2b
tree579c47d67dcd101e2cce426696594380879bad34
parentbb2d82d41894cb30d836e9796ff67d2f9a71eccf
tools/nolibc: split implicit open flags into a macro

This logic is duplicated and its current form will be in the way of some
upcoming simplificiations.

Move it into a macro to avoid the duplication and enable some cleanups.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260514-nolibc-open-tmpfile-v2-1-b4c6c5efa266@weissschuh.net
tools/include/nolibc/fcntl.h