|
|
@@ -1,2 +1,129 @@
|
|
|
# sandbox
|
|
|
|
|
|
+# Syscall list
|
|
|
+
|
|
|
+
|
|
|
+| Syscall | Involve fs | Involve time | Involve network |
|
|
|
+| --- | :---: | :---: | :---: |
|
|
|
+| io_setup | ? | ? | ? |
|
|
|
+| io_destroy | ? | ? | ? |
|
|
|
+| io_submit | ? | ? | ? |
|
|
|
+| io_cancel | ? | ? | ? |
|
|
|
+| io_getevents | ? | ? | ? |
|
|
|
+| fs/xattr.c |
|
|
|
+| setxattr | ? | ? | ? |
|
|
|
+| lsetxattr | ? | ? | ? |
|
|
|
+| fsetxattr | ? | ? | ? |
|
|
|
+| getxattr | ? | ? | ? |
|
|
|
+| lgetxattr | ? | ? | ? |
|
|
|
+| fgetxattr | ? | ? | ? |
|
|
|
+| listxattr | ? | ? | ? |
|
|
|
+| llistxattr | ? | ? | ? |
|
|
|
+| flistxattr | ? | ? | ? |
|
|
|
+| removexattr | ? | ? | ? |
|
|
|
+| lremoveattr | ? | ? | ? |
|
|
|
+| fremoveattr | ? | ? | ? |
|
|
|
+| fs/dcache.c |
|
|
|
+| getcwd | * | ✗ | ✗ |
|
|
|
+| fs/cookies.c |
|
|
|
+| lookup_dcookie | ? | ? | ? |
|
|
|
+| fs/eventfd.c |
|
|
|
+| eventfd2 | ? | ? | ? |
|
|
|
+| fs/eventpoll.c |
|
|
|
+| epoll_create1 | ? | ? | ? |
|
|
|
+| epoll_ctl | ? | ? | ? |
|
|
|
+| epoll_pwait | ? | ? | ? |
|
|
|
+| fs/fcntl.c |
|
|
|
+| dup | ? | ? | ? |
|
|
|
+| dup3 | ? | ? | ? |
|
|
|
+| fcntl (?) | ? | ? | ? |
|
|
|
+| fs/inotify_user.c |
|
|
|
+| inotify_init1 | ? | ? | ? |
|
|
|
+| inotify_add_watch | ? | ? | ? |
|
|
|
+| inotify_rm_watch | ? | ? | ? |
|
|
|
+| fs/ioctl.c |
|
|
|
+| ioctl | ? | ? | ? |
|
|
|
+| fs/ioprio.c |
|
|
|
+| ioprio_set | ? | ? | ? |
|
|
|
+| ioprio_get | ? | ? | ? |
|
|
|
+| fs/locks.c |
|
|
|
+| flock | ? | ? | ? |
|
|
|
+| fs/namei.c |
|
|
|
+| mknodat | ? | ? | ? |
|
|
|
+| mkdirat | ? | ? | ? |
|
|
|
+| unlinkat | ? | ? | ? |
|
|
|
+| symlinkat | ? | ? | ? |
|
|
|
+| linkat | ? | ? | ? |
|
|
|
+| renameat | ? | ? | ? |
|
|
|
+| fs/namespace.c |
|
|
|
+| umount2 | ? | ? | ? |
|
|
|
+| mount | ? | ? | ? |
|
|
|
+| pivot_root | ? | ? | ? |
|
|
|
+| fs/nfsctl.c |
|
|
|
+| nfsservctl | ? | ? | ? |
|
|
|
+| fs/open.c |
|
|
|
+| statfs (?) | ? | ? | ? |
|
|
|
+| fstatfs (?) | ? | ? | ? |
|
|
|
+| truncate (?) | ? | ? | ? |
|
|
|
+| ftruncate (?) | ? | ? | ? |
|
|
|
+| fallocate | ? | ? | ? |
|
|
|
+| faccessat | ? | ? | ? |
|
|
|
+| chdir | * | ✗ | ✗ |
|
|
|
+| fchdir | * | ✗ | ✗ |
|
|
|
+| chroot | ? | ? | ? |
|
|
|
+| fchmod | ? | ? | ? |
|
|
|
+| fchmodat | ? | ? | ? |
|
|
|
+| fchownat | ? | ? | ? |
|
|
|
+| fchown | ? | ? | ? |
|
|
|
+| openat | ? | ? | ? |
|
|
|
+| close | ✔ | ✗ | ✗ |
|
|
|
+| vhangup | ? | ? | ? |
|
|
|
+| fs/pipe.c |
|
|
|
+| pipe | □ | ✗ | ✗ |
|
|
|
+| fs/quota.c |
|
|
|
+| quotactl | ? | ? | ? |
|
|
|
+| fs/readdir.c |
|
|
|
+| getdents64 | ? | ? | ? |
|
|
|
+| lseek (?) | ? | ? | ? |
|
|
|
+| read | □ | ✗ | □ |
|
|
|
+| write | □ | ✗ | □ |
|
|
|
+| readv | □ | ✗ | □ |
|
|
|
+| writev | □ | ✗ | □ |
|
|
|
+| pread64 | □ | ✗ | □ |
|
|
|
+| pwrite64 | □ | ✗ | □ |
|
|
|
+| preadv | □ | ✗ | □ |
|
|
|
+| pwritev | □ | ✗ | □ |
|
|
|
+| fs/sendfile.c |
|
|
|
+| sendfile (?) | ? | ? | ? |
|
|
|
+| fs/select.c |
|
|
|
+| pselect6 | ? | ? | ? |
|
|
|
+| ppoll | ? | ? | ? |
|
|
|
+| fs/signalfd.c |
|
|
|
+| signalfd4 | ? | ? | ? |
|
|
|
+| fs/splice.c |
|
|
|
+| vmsplice | ? | ? | ? |
|
|
|
+| splice | ? | ? | ? |
|
|
|
+| tee | ? | ? | ? |
|
|
|
+| fs/stat.c |
|
|
|
+| readlinkat | ? | ? | ? |
|
|
|
+| fstatat (?) | ? | ? | ? |
|
|
|
+| fstat (?) | ? | ? | ? |
|
|
|
+| fs/sync.c |
|
|
|
+| sync | ? | ? | ? |
|
|
|
+| fsync | ? | ? | ? |
|
|
|
+| fdatasync | ? | ? | ? |
|
|
|
+| sync_file_range2 ?| ? | ? | ? |
|
|
|
+| sync_file_range ?| ? | ? | ? |
|
|
|
+| fs/timerfd.c |
|
|
|
+| timerfd_create | ? | ? | ? |
|
|
|
+| timerfd_settime | ? | ? | ? |
|
|
|
+| timerfd_gettime | ? | ? | ? |
|
|
|
+| fs/utime.c |
|
|
|
+| utimensat | ? | ? | ? |
|
|
|
+| kernel/acct.c |
|
|
|
+
|
|
|
+✗: Syscall do not involve capacity
|
|
|
+□: Syscall do involve capacity, TODO
|
|
|
+✔: Syscall do involve capacity, override done
|
|
|
+*: Syscall do involve capacity, but no override needed
|
|
|
+
|