openat2: create a weak syscall wrapper for it

openat2 allows closing more TOCTOU holes, but we can only use it when
the kernel supports it.

This should disappear seamlessly when libc implements the function.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell committed 2025-01-09 01:36:39 -05:00
1 Ursprung 613ddc3c71
Commit a9b07d7684
3 Dateien geändert
+31

Keine Dateien entsprechen Ihrer Suche

+1
Datei anzeigen
@@ -14,6 +14,7 @@ CRUCIBLE_OBJS = \
fs.o \
multilock.o \
ntoa.o \
openat2.o \
path.o \
process.o \
string.o \