From e15065fe45f8004adcc8b69bbbe680ced0d530a1 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 26 Jun 2024 21:34:40 +0200 Subject: Kernel: Move all syscalls into one file --- kernel/syscalls/fstat.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 kernel/syscalls/fstat.c (limited to 'kernel/syscalls/fstat.c') diff --git a/kernel/syscalls/fstat.c b/kernel/syscalls/fstat.c deleted file mode 100644 index 38346e3..0000000 --- a/kernel/syscalls/fstat.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include - -int syscall_fstat(int fd, struct stat *buf) { - if (!mmu_is_valid_userpointer(buf, sizeof(struct stat))) { - return -EPERM; // TODO: Is this correct? The spec says nothing about - // this case. - } - return vfs_fstat(fd, buf); -} -- cgit v1.2.3