summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorKaimakan71 <undefined.foss@gmail.com>2024-04-27 09:21:31 -0400
committerIan Moffett <ian@osmora.org>2024-04-27 20:27:42 -0400
commit5b6085504086f72939306337dfec01698b1a92cb (patch)
treed26c1bd0907109b2673a169b705628cfebb8f0a4 /sys/include
parenta65592778b5cb6adde3ab53ebe758c4d875a0d79 (diff)
kernel: vfs: Implement sys_mount()
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/syscall.h1
-rw-r--r--sys/include/sys/vfs.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h
index a2ca992..6a102aa 100644
--- a/sys/include/sys/syscall.h
+++ b/sys/include/sys/syscall.h
@@ -47,6 +47,7 @@ enum {
SYS_munmap,
SYS_ioctl,
SYS_execv,
+ SYS_mount,
__MAX_SYSCALLS
};
diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h
index a55af12..98c784f 100644
--- a/sys/include/sys/vfs.h
+++ b/sys/include/sys/vfs.h
@@ -55,6 +55,8 @@ ssize_t vfs_read(struct vnode *vp, struct sio_txn *sio);
ssize_t vfs_write(struct vnode *vp, struct sio_txn *sio);
int vfs_getattr(struct vnode *vp, struct vattr *vattr);
+uint64_t sys_mount(struct syscall_args *args);
+
#endif /* defined(_KERNEL) */
#endif /* !_SYS_VFS_H_ */