From 29bae6bda1b344ea28b7ee6494ec746ba0d7ad39 Mon Sep 17 00:00:00 2001 From: Matheus Date: Wed, 17 Jun 2026 23:11:13 -0300 Subject: [PATCH] fcntl: stub F_GETLK64 --- kernel-src/sys/syscalls/fcntl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel-src/sys/syscalls/fcntl.c b/kernel-src/sys/syscalls/fcntl.c index 40164cd3..ecdd3204 100644 --- a/kernel-src/sys/syscalls/fcntl.c +++ b/kernel-src/sys/syscalls/fcntl.c @@ -9,6 +9,7 @@ #define F_SETFD 2 #define F_GETFL 3 #define F_SETFL 4 +#define F_GETLK64 5 #define F_SETLK64 6 #define F_SETLKW64 7 #define F_DUPFD_CLOEXEC 1030 @@ -59,6 +60,7 @@ syscallret_t syscall_fcntl(context_t *, int fd, int cmd, uint64_t arg) { if (ret.errno == 0) ret.ret = flg ? FD_CLOEXEC : 0; break; + case F_GETLK64: case F_SETLK64: case F_SETLKW64: ret.errno = 0;