this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add dummy unmount system call

+21
+1
src/kernel/emulation/linux/CMakeLists.txt
··· 38 38 unistd/readv.c 39 39 unistd/writev.c 40 40 unistd/flock.c 41 + mount/unmount.c 41 42 mman/mman.c 42 43 mman/madvise.c 43 44 mman/msync.c
+11
src/kernel/emulation/linux/mount/unmount.c
··· 1 + #include "unmount.h" 2 + #include "../base.h" 3 + #include "../errno.h" 4 + #include <linux-syscalls/linux.h> 5 + #include <sys/errno.h> 6 + 7 + long sys_unmount(const char* path, int flags) 8 + { 9 + return -EBUSY; 10 + } 11 +
+7
src/kernel/emulation/linux/mount/unmount.h
··· 1 + #ifndef LINUX_UMOUNT_H 2 + #define LINUX_UMOUNT_H 3 + 4 + long sys_unmount(const char* path, int flags); 5 + 6 + #endif 7 +
+2
src/kernel/emulation/linux/syscalls.c
··· 6 6 #include "kqueue/kevent_qos.h" 7 7 #include "unistd/write.h" 8 8 #include "unistd/read.h" 9 + #include "mount/unmount.h" 9 10 #include "guarded/guarded_open_np.h" 10 11 #include "guarded/guarded_close_np.h" 11 12 #include "guarded/guarded_kqueue_np.h" ··· 275 276 [154] = sys_pwrite, 276 277 [157] = sys_statfs, 277 278 [158] = sys_fstatfs, 279 + [159] = sys_unmount, 278 280 [173] = sys_waitid, 279 281 [181] = sys_setgid, 280 282 [182] = sys_setegid,