From 68907313f002aada473b4403a9355b03069491ca Mon Sep 17 00:00:00 2001 From: jewelcodes Date: Fri, 29 Nov 2024 19:19:31 -0500 Subject: [PATCH] vfs: updated dispatch table with mmap() and msync() --- fs/vfs/src/dispatch.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fs/vfs/src/dispatch.c b/fs/vfs/src/dispatch.c index 072d86a..5c8a4dd 100644 --- a/fs/vfs/src/dispatch.c +++ b/fs/vfs/src/dispatch.c @@ -124,4 +124,14 @@ void (*vfsDispatchTable[])(SyscallHeader *) = { vfsDispatchIoctl, // 7 - ioctl() vfsDispatchOpendir, // 8 - opendir() vfsDispatchReaddir, // 9 - readdir_r() + NULL, // 10 - chmod() + NULL, // 11 - chown() + NULL, // 12 - link() + NULL, // 13 - mkdir() + NULL, // 14 - rmdir() + + NULL, NULL, NULL, // 15, 16, 17 - irrelevant to vfs + + NULL, // 18 - mmap() + NULL, // 19 - msync() }; \ No newline at end of file