new file mode 100644
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2026 Richard Purdie
+ *
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * static int
+ * wrap___open64_2(const char *path, int flags) {
+ * int rc = -1;
+ */
+
+ rc = wrap_open64(path, flags, 0);
+
+/* return rc;
+ * }
+ */
@@ -1,5 +1,6 @@
int open(const char *path, int flags, ...{mode_t mode}); /* flags=((flags&O_NOFOLLOW)||((flags&(O_CREAT|O_EXCL))==(O_CREAT|O_EXCL))), noignore_path=1 */
int __open_2(const char *path, int flags); /* flags=((flags&O_NOFOLLOW)||((flags&(O_CREAT|O_EXCL))==(O_CREAT|O_EXCL))), noignore_path=1 */
+int __open64_2(const char *path, int flags); /* flags=((flags&O_NOFOLLOW)||((flags&(O_CREAT|O_EXCL))==(O_CREAT|O_EXCL))), noignore_path=1 */
char *get_current_dir_name(void);
int __xstat(int ver, const char *path, struct stat *buf);
int __lxstat(int ver, const char *path, struct stat *buf); /* flags=AT_SYMLINK_NOFOLLOW */
The wrapper for open64 when using fortified source was missing, add it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- ports/linux/guts/__open64_2.c | 15 +++++++++++++++ ports/linux/wrapfuncs.in | 1 + 2 files changed, 16 insertions(+) create mode 100644 ports/linux/guts/__open64_2.c