diff options
Diffstat (limited to 'kernel/syscalls/fstat.c')
-rw-r--r-- | kernel/syscalls/fstat.c | 11 |
1 files changed, 0 insertions, 11 deletions
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 <errno.h> -#include <fs/vfs.h> -#include <syscalls.h> - -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); -} |