附表:目前 WSL 支援的 Linux SysCall 列表
不同 Windows 10 Redstone Wave 1 版本對 WSL 功能所能提供的 Linux 系統呼叫 (System Call) 有所不同,請參照下列的顏色了解在不同版本 Windows 10 內的 WSL 功能支援能力,若有重複出現情形者表示該 System Call 自該版本起又有強化或補充。
- 黑色字體-Build 14328 起支援。
- 桃色字體-Build 14332 起支援。
- 橘色字體-Build 14342 起支援。
- 藍色字體-Build 14352 起支援。
- 綠色字體-Build 14361 起支援。
- 紅色字體-Build 14366 起支援。
ACCEPT | ACCEPT4 | ACCESS | ALARM | ARCH_PRCTL |
BIND | BRK | CAPGET | CAPSET | CLOCK_GETRES |
CHMOD | CHOWN | CHDIR | CLOCK_GETTIME | CLOCK_NANOSLEEP |
CLONE | CLOSE | CONNECT | CREAT | DUP |
DUP2 | DUP3 | EPOLL_CTL | EPOLL_CREATE | EPOLL_CREATE1 |
EXECVE | EVENTFD | EVENTFD2 | EPOLL_WAIT | EXIT_GROUP |
EXIT | FACCESSAT | FADVISE64 | FCHDIR | FCHMOD |
FCHOWN | FCHMODAT | FCHOWNAT | FCNTL64 | FDATASYNC |
FLOCK | FORK | FSETXATTR | FSTAT64 | FSTATAT64 |
FSYNC | FSTATFS64 | FTRUNCATE | FTRUNCATE64 | FUTEX |
GETCPU | GETCWD | GETDENTS | GETDENTS64 | GETEGID |
GETPGID | GETEUID | GETEUID16 | GETPRIORITY | GETGID16 |
GETUID16 | GETPGRP | GETEGID16 | GETPEERNAME | GET_THREAD_AREA |
GETPPID | GETRESUID | GETRESGID | GETRESGID16 | GETRESUID16 |
GETGID | GETRLIMIT | GETRUSAGE | GETSOCKOPT | GETSOCKNAME |
GETSID | GETTID | GETUID | GETTIMEOFDAY | INOTIFY_ADD_WATCH |
GETXATTR | KEYCTL | GETPID | GETGROUPS | INOTIFY_INIT |
LISTEN | IOCTL | LINKAT | IOPRIO_SET | GET_ROBUST_LIST |
KILL | LCHOWN | LINK | IOPRIO_GET | PROCESS_VM_WRITEV |
LLSEEK | LSEEK | LSTAT64 | MADVISE | MKDIR |
MKDIRAT | MKNOD | MLOCK | MMAP | MMAP2 |
MOUNT | MPROTECT | MREMAP | MSYNC | MUNLOCK |
MUNMAP | NANOSLEEP | NEWUNAME | OPEN | PROCESS_VM_WRITEV |
PAUSE | PIPE2 | PIPE | PERSONALITY | PERF_EVENT_OPEN |
POLL | PPOLL | PRCTL | PREAD64 | PROCESS_VM_READV |
OPENAT | PSELECT6 | PTRACE | PWRITE64 | SCHED_GET_PRIORITY_MIN |
READLINK | READV | REBOOT | SETPRIORITY | RT_SIGTIMEDWAIT |
RECVMSG | RENAME | RMDIR | RT_SIGACTION | SCHED_SETSCHEDULER |
RECV | SELECT | RECVFROM | RT_SIGSUSPEND | SCHED_GETAFFINITY |
SEND | SETGID | SIGSUSPEND | RT_SIGPENDING | SCHED_SETAFFINITY |
READ | SIGACTION | SETGROUPS | RT_SIGRETURN | SCHED_GET_PRIORITY_MAX |
SETPGID | SENDMSG | SENDTO | SCHED_YIELD | SCHED_GETSCHEDULER |
STAT64 | SPLICE | SETITIMER | SENDMMSG | RT_SIGPROCMASK |
SETREGID | SETRESGID | SETRESUID | SETTIMEOFDAY | SET_TID_ADDRESS |
SETSID | SETREUID | SETSOCKOPT | SIGALTSTACK | SET_THREAD_AREA |
SYSINFO | SETXATTR | SIGPENDING | SHUTDOWN | SCHED_SETPARAM |
SETUID | SETRLIMIT | SOCKETCALL | SIGRETURN | SCHED_GETPARAM |
SOCKET | SYNC | SOCKETPAIR | SETHOSTNAME | SETDOMAINNAME |
STATFS64 | SYMLINK | SYMLINKAT | SIGPROCMASK | SET_ROBUST_LIST |
TEE | TGKILL | TIME | UNLINKAT | TIMERFD_GETTIME |
VFORK | TIMES | TKILL | TRUNCATE | TRUNCATE64 |
UMASK | UMOUNT | UMOUNT2 | UNLINK | TIMERFD_CREATE |
UNSHARE | UTIME | UTIMENSAT | UTIMES | TIMERFD_SETTIME |
WAIT4 | WAITPID | WRITE | WRITEV | READLINKAT |
SETGID | GETEUID | GETGID | GETRESUID | GETXATTR |
PTRACE | FCHOWNAT | SETGROUPS | SETHOSTNAME | SETXATTR |
EXECVE | FALLOCATE | LGETXATTR | FGETXATTR | GETTIMER |
MKNODAT | RENAMEAT | SENDFILE | SENDFILE64 | SYNC_FILE_RANGE |
LISTXATTR |
Page 5 of 5