1*4acfc190Spooka $NetBSD: syscalls.master,v 1.2 2013/05/15 21:39:30 pooka Exp $ 2c5ab2014Spooka 3c5ab2014Spooka; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 4c5ab2014Spooka 5c5ab2014Spooka; NetBSD system call name/number "master" file. 6c5ab2014Spooka; (See syscalls.conf to see what it is processed into.) 7c5ab2014Spooka; 8c5ab2014Spooka; Fields: number type [type-dependent ...] 9c5ab2014Spooka; number system call number, must be in order 10c5ab2014Spooka; type one of NODEF, UNIMPL, or NOARGS 11c5ab2014Spooka; 12c5ab2014Spooka; types: 13c5ab2014Spooka; NODEF always included 14c5ab2014Spooka; UNIMPL unimplemented, not included in system 15c5ab2014Spooka; NODEF included, but don't define the syscall number 16c5ab2014Spooka; NOARGS included, but don't define the syscall args structure 17c5ab2014Spooka; 18c5ab2014Spooka; arguments: 19c5ab2014Spooka; PAD argument not part of the C interface, used only for padding 20c5ab2014Spooka; 21c5ab2014Spooka; 22c5ab2014Spooka; Support just enough syscalls to make fs-utils run (plus a few other 23c5ab2014Spooka; low-hanging fruit) 24c5ab2014Spooka; 25c5ab2014Spooka 26c5ab2014Spooka#include <sys/param.h> 27c5ab2014Spooka#include <sys/systm.h> 28c5ab2014Spooka#include <sys/signal.h> 29c5ab2014Spooka#include <sys/socket.h> 30c5ab2014Spooka#include <sys/mount.h> 31c5ab2014Spooka#include <sys/sched.h> 32c5ab2014Spooka#include <sys/syscallargs.h> 33c5ab2014Spooka 34c5ab2014Spooka#include "rump_cygwin_syscallargs.h" 35c5ab2014Spooka 36c5ab2014Spooka%% 37c5ab2014Spooka 38c5ab2014Spooka0 NOARGS { int|sys||nosys(void); } 39c5ab2014Spooka1 UNIMPL exit 40c5ab2014Spooka2 UNIMPL fork 41c5ab2014Spooka3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 42c5ab2014Spooka4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 43c5ab2014Spooka size_t nbyte); } 44c5ab2014Spooka5 NODEF { int|rump_cygwin_sys||open(const char *path, \ 45c5ab2014Spooka int flags, int mode); } 46c5ab2014Spooka6 NOARGS { int|sys||close(int fd); } 47c5ab2014Spooka7 UNIMPL wait4 48c5ab2014Spooka8 UNIMPL creat 49c5ab2014Spooka9 NOARGS { int|sys||link(const char *path, const char *link); } 50c5ab2014Spooka10 NOARGS { int|sys||unlink(const char *path); } 51c5ab2014Spooka11 UNIMPL execv 52c5ab2014Spooka12 NOARGS { int|sys||chdir(const char *path); } 53c5ab2014Spooka13 NOARGS { int|sys||fchdir(int fd); } 54c5ab2014Spooka14 UNIMPL mknod 55c5ab2014Spooka15 NOARGS { int|sys||chmod(const char *path, int mode); } 56c5ab2014Spooka16 NOARGS { int|sys||chown(const char *path, int uid, int gid); } 57c5ab2014Spooka17 UNIMPL obreak 58c5ab2014Spooka18 UNIMPL getfsstat 59c5ab2014Spooka19 UNIMPL lseek 60c5ab2014Spooka20 NOARGS { pid_t|sys||getpid_with_ppid(void); } getpid 61c5ab2014Spooka21 UNIMPL mount 62c5ab2014Spooka22 UNIMPL unmount 63c5ab2014Spooka23 NOARGS { int|sys||setuid(int uid); } 64c5ab2014Spooka24 NOARGS { int|sys||getuid_with_euid(void); } getuid 65c5ab2014Spooka25 NOARGS { int|sys||geteuid(void); } 66c5ab2014Spooka26 UNIMPL ptrace 67c5ab2014Spooka27 UNIMPL recvmsg 68c5ab2014Spooka28 UNIMPL sendmsg 69c5ab2014Spooka29 UNIMPL recvfrom 70c5ab2014Spooka30 UNIMPL accept 71c5ab2014Spooka31 UNIMPL getpeername 72c5ab2014Spooka32 UNIMPL getsockname 73c5ab2014Spooka33 NOARGS { int|sys||access(const char *path, int flags); } 74c5ab2014Spooka34 UNIMPL chflags 75c5ab2014Spooka35 UNIMPL fchflags 76c5ab2014Spooka36 NOARGS { void|sys||sync(void); } 77c5ab2014Spooka37 UNIMPL kill 78c5ab2014Spooka38 UNIMPL stat 79c5ab2014Spooka39 UNIMPL getppid 80c5ab2014Spooka40 UNIMPL lstat 81c5ab2014Spooka41 NOARGS { int|sys||dup(int fd); } 82c5ab2014Spooka42 NOARGS { int|sys||pipe(void); } 83c5ab2014Spooka43 UNIMPL getegid 84c5ab2014Spooka44 UNIMPL profil 85c5ab2014Spooka45 UNIMPL ktrace 86c5ab2014Spooka46 UNIMPL sigaction 87c5ab2014Spooka47 NOARGS { int|sys||getgid_with_egid(void); } getgid 88c5ab2014Spooka48 UNIMPL sigprocmask 89c5ab2014Spooka49 UNIMPL __getlogin 90c5ab2014Spooka50 UNIMPL __setlogin 91c5ab2014Spooka51 UNIMPL acct 92c5ab2014Spooka52 UNIMPL sigpending 93c5ab2014Spooka53 UNIMPL sigaltstack 94c5ab2014Spooka54 UNIMPL ioctl 95c5ab2014Spooka55 UNIMPL reboot 96c5ab2014Spooka56 UNIMPL revoke 97c5ab2014Spooka57 NOARGS { int|sys||symlink(const char *path, \ 98c5ab2014Spooka const char *link); } 99c5ab2014Spooka58 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 100c5ab2014Spooka int count); } 101c5ab2014Spooka59 UNIMPL execve 102c5ab2014Spooka60 NOARGS { mode_t|sys||umask(mode_t newmask); } 103c5ab2014Spooka61 NOARGS { int|sys||chroot(const char *path); } 104c5ab2014Spooka62 UNIMPL fstat43 105c5ab2014Spooka63 UNIMPL getkerninfo 106c5ab2014Spooka64 UNIMPL getpagesize 107c5ab2014Spooka65 UNIMPL msync 108c5ab2014Spooka66 UNIMPL vfork 109c5ab2014Spooka67 UNIMPL vread 110c5ab2014Spooka68 UNIMPL vwrite 111c5ab2014Spooka69 UNIMPL sbrk 112c5ab2014Spooka70 UNIMPL sstk 113c5ab2014Spooka71 UNIMPL mmap 114c5ab2014Spooka72 UNIMPL ovadvise 115c5ab2014Spooka73 UNIMPL munmap 116c5ab2014Spooka74 UNIMPL mprotect 117c5ab2014Spooka75 UNIMPL madvise 118c5ab2014Spooka76 UNIMPL vhangup 119c5ab2014Spooka77 UNIMPL vlimit 120c5ab2014Spooka78 UNIMPL mincore 121c5ab2014Spooka79 NOARGS { int|sys||getgroups(int gidsetsize, \ 122c5ab2014Spooka int *gidset); } 123c5ab2014Spooka80 NOARGS { int|sys||setgroups(int gidsetsize, \ 124c5ab2014Spooka const int *gidset); } 125c5ab2014Spooka81 NOARGS { int|sys||getpgrp(void); } 126c5ab2014Spooka82 NOARGS { int|sys||setpgid(int pid, int pgid); } 127c5ab2014Spooka83 UNIMPL setitimer 128c5ab2014Spooka84 UNIMPL wait 129c5ab2014Spooka85 UNIMPL swapon 130c5ab2014Spooka86 UNIMPL getitimer 131c5ab2014Spooka87 UNIMPL gethostname 132c5ab2014Spooka88 UNIMPL sethostname 133c5ab2014Spooka89 UNIMPL getdtablesize 134c5ab2014Spooka90 NOARGS { int|sys||dup2(int from, int to); } 135c5ab2014Spooka91 UNIMPL getdopt 136c5ab2014Spooka92 UNIMPL fcntl 137c5ab2014Spooka93 UNIMPL select 138c5ab2014Spooka94 UNIMPL setdopt 139c5ab2014Spooka95 NOARGS { int|sys||fsync(int fd); } 140c5ab2014Spooka96 UNIMPL setpriority 141c5ab2014Spooka97 UNIMPL socket 142c5ab2014Spooka98 UNIMPL connect 143c5ab2014Spooka99 UNIMPL accept 144c5ab2014Spooka100 UNIMPL getpriority 145c5ab2014Spooka 146c5ab2014Spooka101 UNIMPL send 147c5ab2014Spooka102 UNIMPL recv 148c5ab2014Spooka 149c5ab2014Spooka103 UNIMPL sigreturn 150c5ab2014Spooka104 UNIMPL bind 151c5ab2014Spooka105 UNIMPL setsockopt 152c5ab2014Spooka106 UNIMPL listen 153c5ab2014Spooka107 UNIMPL vtimes 154c5ab2014Spooka108 UNIMPL sigvec 155c5ab2014Spooka109 UNIMPL sigblock 156c5ab2014Spooka110 UNIMPL sigsetmask 157c5ab2014Spooka111 UNIMPL sigsuspend 158c5ab2014Spooka112 UNIMPL sigstack 159c5ab2014Spooka113 UNIMPL orecvmsg 160c5ab2014Spooka114 UNIMPL osendmsg 161c5ab2014Spooka115 UNIMPL vtrace 162c5ab2014Spooka116 UNIMPL gettimeofday 163c5ab2014Spooka117 UNIMPL getrusage 164c5ab2014Spooka118 UNIMPL getsockopt 165c5ab2014Spooka119 UNIMPL resuba 166c5ab2014Spooka120 NOARGS { ssize_t|sys||readv(int fd, \ 167c5ab2014Spooka struct iovec *iovp, int iovcnt); } 168c5ab2014Spooka121 NOARGS { ssize_t|sys||writev(int fd, \ 169c5ab2014Spooka struct iovec *iovp, int iovcnt); } 170c5ab2014Spooka122 UNIMPL settimeofday 171c5ab2014Spooka123 NOARGS { int|sys||fchown(int fd, int uid, int gid); } 172c5ab2014Spooka124 NOARGS { int|sys||fchmod(int fd, int mode); } 173c5ab2014Spooka125 UNIMPL orecvfrom 174c5ab2014Spooka126 NOARGS { int|sys||setreuid(int ruid, int euid); } 175c5ab2014Spooka127 NOARGS { int|sys||setregid(int rgid, int egid); } 176c5ab2014Spooka128 NOARGS { int|sys||rename(char *from, char *to); } 177c5ab2014Spooka129 UNIMPL otruncate 178c5ab2014Spooka130 UNIMPL oftruncate 179c5ab2014Spooka131 NOARGS { int|sys||flock(int fd, int how); } 180c5ab2014Spooka132 UNIMPL mkfifo 181c5ab2014Spooka133 UNIMPL sendto 182c5ab2014Spooka134 UNIMPL shutdown 183c5ab2014Spooka135 UNIMPL socketpair 184c5ab2014Spooka136 NOARGS { int|sys||mkdir(const char *path, int mode); } 185c5ab2014Spooka137 NOARGS { int|sys||rmdir(const char *path); } 186c5ab2014Spooka138 UNIMPL utimes 187c5ab2014Spooka 188c5ab2014Spooka139 UNIMPL 4.2 sigreturn 189c5ab2014Spooka140 UNIMPL adjtime 190c5ab2014Spooka141 UNIMPL ogetpeername 191c5ab2014Spooka142 UNIMPL ogethostid 192c5ab2014Spooka143 UNIMPL osethostid 193c5ab2014Spooka144 UNIMPL ogetrlimit 194c5ab2014Spooka145 UNIMPL osetrlimit 195c5ab2014Spooka146 UNIMPL okillpg 196c5ab2014Spooka147 NOARGS { int|sys||setsid(void); } 197c5ab2014Spooka148 UNIMPL quotactl 198c5ab2014Spooka149 UNIMPL oquota 199c5ab2014Spooka150 UNIMPL ogetsockname 200c5ab2014Spooka 201c5ab2014Spooka; Syscalls 151-180 inclusive are reserved for vendor-specific 202c5ab2014Spooka; system calls. (This includes various calls added for compatibity 203c5ab2014Spooka; with other Unix variants.) 204c5ab2014Spooka; Some of these calls are now supported by BSD... 205c5ab2014Spooka151 UNIMPL 206c5ab2014Spooka152 UNIMPL 207c5ab2014Spooka153 UNIMPL 208c5ab2014Spooka154 UNIMPL 209c5ab2014Spooka155 UNIMPL nfssvc 210c5ab2014Spooka156 UNIMPL ogetdirentries 211c5ab2014Spooka157 UNIMPL statfs12 212c5ab2014Spooka158 UNIMPL fstatfs12 213c5ab2014Spooka159 UNIMPL 214c5ab2014Spooka160 UNIMPL 215c5ab2014Spooka161 UNIMPL getfh30 216c5ab2014Spooka162 UNIMPL ogetdomainname 217c5ab2014Spooka163 UNIMPL osetdomainname 218c5ab2014Spooka164 UNIMPL ouname 219c5ab2014Spooka165 UNIMPL sysarch 220c5ab2014Spooka166 UNIMPL 221c5ab2014Spooka167 UNIMPL 222c5ab2014Spooka168 UNIMPL 223c5ab2014Spooka169 UNIMPL 1.0 semsys 224c5ab2014Spooka170 UNIMPL 1.0 msgsys 225c5ab2014Spooka171 UNIMPL 1.0 shmsys 226c5ab2014Spooka172 UNIMPL 227c5ab2014Spooka173 NOARGS { ssize_t|sys||pread(int fd, char *buf, \ 228c5ab2014Spooka size_t nbyte, int PAD, off_t offset); } 229c5ab2014Spooka174 NOARGS { ssize_t|sys||pwrite(int fd, char *buf, \ 230c5ab2014Spooka size_t nbyte, int PAD, off_t offset); } 231c5ab2014Spooka175 UNIMPL ntp_gettime 232c5ab2014Spooka176 UNIMPL ntp_adjtime 233c5ab2014Spooka177 UNIMPL 234c5ab2014Spooka178 UNIMPL 235c5ab2014Spooka179 UNIMPL 236c5ab2014Spooka180 UNIMPL 237c5ab2014Spooka 238c5ab2014Spooka; Syscalls 180-199 are used by/reserved for BSD 239c5ab2014Spooka181 NOARGS { int|sys||setgid(gid_t gid); } 240c5ab2014Spooka182 NOARGS { int|sys||setegid(gid_t egid); } 241c5ab2014Spooka183 NOARGS { int|sys||seteuid(uid_t euid); } 242c5ab2014Spooka184 UNIMPL lfs_bmapv 243c5ab2014Spooka185 UNIMPL lfs_markv 244c5ab2014Spooka186 UNIMPL lfs_segclean 245c5ab2014Spooka187 UNIMPL lfs_segwait 246c5ab2014Spooka188 UNIMPL stat12 247c5ab2014Spooka189 UNIMPL fstat12 248c5ab2014Spooka190 UNIMPL lstat12 249c5ab2014Spooka191 UNIMPL pathconf 250c5ab2014Spooka192 UNIMPL fpathconf 251c5ab2014Spooka193 UNIMPL 252c5ab2014Spooka194 UNIMPL getrlimit 253c5ab2014Spooka195 UNIMPL setrlimit 254c5ab2014Spooka196 UNIMPL getdirentries 255c5ab2014Spooka197 UNIMPL mmap 256c5ab2014Spooka198 UNIMPL __syscall 257c5ab2014Spooka199 NOARGS { long|sys||lseek(int fd, int PAD, off_t offset, \ 258c5ab2014Spooka int whence); } 259c5ab2014Spooka200 NOARGS { int|sys||truncate(const char *path, int PAD, \ 260c5ab2014Spooka off_t length); } 261c5ab2014Spooka201 NOARGS { int|sys||ftruncate(int fd, int PAD, off_t length); } 262c5ab2014Spooka202 UNIMPL __sysctl 263c5ab2014Spooka203 UNIMPL mlock 264c5ab2014Spooka204 UNIMPL munlock 265c5ab2014Spooka205 UNIMPL undelete 266c5ab2014Spooka206 UNIMPL futimes 267c5ab2014Spooka207 NOARGS { pid_t|sys||getpgid(pid_t pid); } 268c5ab2014Spooka208 UNIMPL reboot 269c5ab2014Spooka209 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 270c5ab2014Spooka int timeout); } 271c5ab2014Spooka; 272c5ab2014Spooka; Syscalls 210-219 are reserved for dynamically loaded syscalls 273c5ab2014Spooka; 274c5ab2014Spooka210 UNIMPL afssys 275c5ab2014Spooka211 UNIMPL 276c5ab2014Spooka212 UNIMPL 277c5ab2014Spooka213 UNIMPL 278c5ab2014Spooka214 UNIMPL 279c5ab2014Spooka215 UNIMPL 280c5ab2014Spooka216 UNIMPL 281c5ab2014Spooka217 UNIMPL 282c5ab2014Spooka218 UNIMPL 283c5ab2014Spooka219 UNIMPL 284c5ab2014Spooka220 UNIMPL compat_14_semctl 285c5ab2014Spooka221 UNIMPL semget 286c5ab2014Spooka222 UNIMPL semop 287c5ab2014Spooka223 UNIMPL semconfig 288c5ab2014Spooka224 UNIMPL compat_14_msgctl 289c5ab2014Spooka225 UNIMPL msgget 290c5ab2014Spooka226 UNIMPL msgsnd 291c5ab2014Spooka227 UNIMPL msgrcv 292c5ab2014Spooka228 UNIMPL shmat 293c5ab2014Spooka229 UNIMPL compat_14_shmctl 294c5ab2014Spooka230 UNIMPL shmdt 295c5ab2014Spooka231 UNIMPL shmget 296c5ab2014Spooka 297c5ab2014Spooka232 UNIMPL clock_gettime 298c5ab2014Spooka233 UNIMPL clock_settime 299c5ab2014Spooka234 UNIMPL clock_getres 300c5ab2014Spooka235 UNIMPL timer_create 301c5ab2014Spooka236 UNIMPL timer_delete 302c5ab2014Spooka237 UNIMPL timer_settime 303c5ab2014Spooka238 UNIMPL timer_gettime 304c5ab2014Spooka239 UNIMPL timer_getoverrun 305c5ab2014Spooka; 306c5ab2014Spooka; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls 307c5ab2014Spooka; 308c5ab2014Spooka240 UNIMPL nanosleep 309c5ab2014Spooka241 UNIMPL fdatasync 310c5ab2014Spooka242 UNIMPL mlockall 311c5ab2014Spooka243 UNIMPL munlockall 312c5ab2014Spooka244 UNIMPL __sigtimedwait 313c5ab2014Spooka245 UNIMPL sigqueueinfo 314c5ab2014Spooka246 UNIMPL modctl 315c5ab2014Spooka247 UNIMPL _ksem_init 316c5ab2014Spooka248 UNIMPL _ksem_open 317c5ab2014Spooka249 UNIMPL _ksem_unlink 318c5ab2014Spooka250 UNIMPL _ksem_close 319c5ab2014Spooka251 UNIMPL _ksem_post 320c5ab2014Spooka252 UNIMPL _ksem_wait 321c5ab2014Spooka253 UNIMPL _ksem_trywait 322c5ab2014Spooka254 UNIMPL _ksem_getvalue 323c5ab2014Spooka255 UNIMPL _ksem_destroy 324c5ab2014Spooka256 UNIMPL _ksem_timedwait 325c5ab2014Spooka 326c5ab2014Spooka257 UNIMPL mq_open 327c5ab2014Spooka258 UNIMPL mq_close 328c5ab2014Spooka259 UNIMPL mq_unlink 329c5ab2014Spooka260 UNIMPL mq_getattr 330c5ab2014Spooka261 UNIMPL mq_setattr 331c5ab2014Spooka262 UNIMPL mq_notify 332c5ab2014Spooka263 UNIMPL mq_send 333c5ab2014Spooka264 UNIMPL mq_receive 334c5ab2014Spooka265 UNIMPL mq_timedsend 335c5ab2014Spooka266 UNIMPL mq_timedreceive 336c5ab2014Spooka267 UNIMPL 337c5ab2014Spooka268 UNIMPL 338c5ab2014Spooka269 UNIMPL 339c5ab2014Spooka270 UNIMPL __posix_rename 340c5ab2014Spooka271 UNIMPL swapctl 341c5ab2014Spooka272 UNIMPL getdents 342c5ab2014Spooka273 UNIMPL minherit 343c5ab2014Spooka274 UNIMPL lchmod 344c5ab2014Spooka275 UNIMPL lchown 345c5ab2014Spooka276 UNIMPL lutimes 346c5ab2014Spooka277 UNIMPL msync 347c5ab2014Spooka278 UNIMPL stat 348c5ab2014Spooka279 UNIMPL fstat 349c5ab2014Spooka280 UNIMPL lstat 350c5ab2014Spooka281 UNIMPL sigaltstack 351c5ab2014Spooka282 UNIMPL vfork 352c5ab2014Spooka283 UNIMPL __posix_chown 353c5ab2014Spooka284 UNIMPL __posix_fchown 354c5ab2014Spooka285 UNIMPL __posix_lchown 355c5ab2014Spooka286 NOARGS { pid_t|sys||getsid(pid_t pid); } 356c5ab2014Spooka 357c5ab2014Spooka287 UNIMPL __clone 358c5ab2014Spooka288 UNIMPL fktrace 359c5ab2014Spooka289 UNIMPL { ssize_t|sys||preadv(int fd, \ 360c5ab2014Spooka const struct iovec *iovp, int iovcnt, \ 361c5ab2014Spooka int PAD, off_t offset); } 362c5ab2014Spooka290 UNIMPL { ssize_t|sys||pwritev(int fd, \ 363c5ab2014Spooka const struct iovec *iovp, int iovcnt, \ 364c5ab2014Spooka int PAD, off_t offset); } 365c5ab2014Spooka291 UNIMPL sigaction 366c5ab2014Spooka292 UNIMPL sigpending 367c5ab2014Spooka293 UNIMPL sigprocmask 368c5ab2014Spooka294 UNIMPL sigsuspend 369c5ab2014Spooka295 UNIMPL sigreturn 370c5ab2014Spooka296 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 371c5ab2014Spooka297 NOARGS { int|sys||fchroot(int fd); } 372c5ab2014Spooka298 UNIMPL fhopen 373c5ab2014Spooka299 UNIMPL fhstat 374c5ab2014Spooka300 UNIMPL fhstatfs 375c5ab2014Spooka301 UNIMPL ____semctl13 376c5ab2014Spooka302 UNIMPL __msgctl13 377c5ab2014Spooka303 UNIMPL __shmctl13 378c5ab2014Spooka304 UNIMPL lchflags 379c5ab2014Spooka305 UNIMPL issetugid 380c5ab2014Spooka306 UNIMPL utrace 381c5ab2014Spooka307 UNIMPL getcontext 382c5ab2014Spooka308 UNIMPL setcontext 383c5ab2014Spooka309 UNIMPL _lwp_create 384c5ab2014Spooka310 UNIMPL _lwp_exit 385c5ab2014Spooka311 UNIMPL _lwp_self 386c5ab2014Spooka312 UNIMPL _lwp_wait 387c5ab2014Spooka313 UNIMPL _lwp_suspend 388c5ab2014Spooka314 UNIMPL _lwp_continue 389c5ab2014Spooka315 UNIMPL _lwp_wakeup 390c5ab2014Spooka316 UNIMPL _lwp_getprivate 391c5ab2014Spooka317 UNIMPL _lwp_setprivate 392c5ab2014Spooka318 UNIMPL _lwp_kill 393c5ab2014Spooka319 UNIMPL _lwp_detach 394c5ab2014Spooka320 UNIMPL _lwp_park 395c5ab2014Spooka321 UNIMPL _lwp_unpark 396c5ab2014Spooka322 UNIMPL _lwp_unpark_all 397c5ab2014Spooka323 UNIMPL _lwp_setname 398c5ab2014Spooka324 UNIMPL _lwp_getname 399c5ab2014Spooka325 UNIMPL _lwp_ctl 400c5ab2014Spooka 401c5ab2014Spooka; Syscalls 326-339 reserved for LWP syscalls. 402c5ab2014Spooka326 UNIMPL 403c5ab2014Spooka327 UNIMPL 404c5ab2014Spooka328 UNIMPL 405c5ab2014Spooka329 UNIMPL 406c5ab2014Spooka; SA system calls. 407c5ab2014Spooka330 UNIMPL sa_register 408c5ab2014Spooka331 UNIMPL sa_stacks 409c5ab2014Spooka332 UNIMPL sa_enable 410c5ab2014Spooka333 UNIMPL sa_setconcurrency 411c5ab2014Spooka334 UNIMPL sa_yield 412c5ab2014Spooka335 UNIMPL sa_preempt 413c5ab2014Spooka336 UNIMPL sys_sa_unblockyield 414c5ab2014Spooka; 415c5ab2014Spooka; Syscalls 337-339 are reserved for other scheduler activation syscalls. 416c5ab2014Spooka; 417c5ab2014Spooka337 UNIMPL 418c5ab2014Spooka338 UNIMPL 419c5ab2014Spooka339 UNIMPL 420c5ab2014Spooka 421c5ab2014Spooka340 UNIMPL __sigaction_sigtramp 422c5ab2014Spooka341 UNIMPL pmc_get_info 423c5ab2014Spooka342 UNIMPL pmc_control 424c5ab2014Spooka343 UNIMPL rasctl 425c5ab2014Spooka344 UNIMPL kqueue 426c5ab2014Spooka345 UNIMPL kevent 427c5ab2014Spooka 428c5ab2014Spooka; Scheduling system calls. 429c5ab2014Spooka346 UNIMPL _sched_setparam 430c5ab2014Spooka347 UNIMPL _sched_getparam 431c5ab2014Spooka348 UNIMPL _sched_setaffinity 432c5ab2014Spooka349 UNIMPL _sched_getaffinity 433c5ab2014Spooka350 UNIMPL sched_yield 434c5ab2014Spooka351 UNIMPL 435c5ab2014Spooka352 UNIMPL 436c5ab2014Spooka353 UNIMPL 437c5ab2014Spooka 438c5ab2014Spooka354 UNIMPL fsync_range 439c5ab2014Spooka355 UNIMPL uuidgen 440c5ab2014Spooka356 UNIMPL getvfsstat 441c5ab2014Spooka357 UNIMPL statvfs1 442c5ab2014Spooka358 UNIMPL fstatvfs1 443c5ab2014Spooka359 UNIMPL fhstatvfs1 444c5ab2014Spooka360 UNIMPL extattrctl 445c5ab2014Spooka361 UNIMPL extattr_set_file 446c5ab2014Spooka362 UNIMPL extattr_get_file 447c5ab2014Spooka363 UNIMPL extattr_delete_file 448c5ab2014Spooka364 UNIMPL extattr_set_fd 449c5ab2014Spooka365 UNIMPL extattr_get_fd 450c5ab2014Spooka366 UNIMPL extattr_delete_fd 451c5ab2014Spooka367 UNIMPL extattr_set_link 452c5ab2014Spooka368 UNIMPL extattr_get_link 453c5ab2014Spooka369 UNIMPL extattr_delete_link 454c5ab2014Spooka370 UNIMPL extattr_list_fd 455c5ab2014Spooka371 UNIMPL extattr_list_file 456c5ab2014Spooka372 UNIMPL extattr_list_link 457c5ab2014Spooka373 UNIMPL pselect 458c5ab2014Spooka374 UNIMPL pollts 459c5ab2014Spooka375 UNIMPL setxattr 460c5ab2014Spooka376 UNIMPL lsetxattr 461c5ab2014Spooka377 UNIMPL fsetxattr 462c5ab2014Spooka378 UNIMPL getxattr 463c5ab2014Spooka379 UNIMPL lgetxattr 464c5ab2014Spooka380 UNIMPL fgetxattr 465c5ab2014Spooka381 UNIMPL listxattr 466c5ab2014Spooka382 UNIMPL llistxattr 467c5ab2014Spooka383 UNIMPL flistxattr 468c5ab2014Spooka384 UNIMPL removexattr 469c5ab2014Spooka385 UNIMPL lremovexattr 470c5ab2014Spooka386 UNIMPL fremovexattr 471c5ab2014Spooka387 UNIMPL stat30 472c5ab2014Spooka388 UNIMPL fstat30 473c5ab2014Spooka389 UNIMPL lstat30 474c5ab2014Spooka390 NODEF { int|rump_cygwin_sys||getdents(int fd, \ 475c5ab2014Spooka char *buf, size_t nbytes); } 476c5ab2014Spooka391 UNIMPL old posix_fadvise 477c5ab2014Spooka392 UNIMPL fhstat 478c5ab2014Spooka393 UNIMPL ntp_gettime 479c5ab2014Spooka394 UNIMPL socket 480c5ab2014Spooka395 UNIMPL getfh 481c5ab2014Spooka396 UNIMPL fhopen 482c5ab2014Spooka397 UNIMPL fhstatvfs1 483c5ab2014Spooka398 UNIMPL fhstat 484c5ab2014Spooka 485c5ab2014Spooka; Asynchronous I/O system calls 486c5ab2014Spooka399 UNIMPL aio_cancel 487c5ab2014Spooka400 UNIMPL aio_error 488c5ab2014Spooka401 UNIMPL aio_fsync 489c5ab2014Spooka402 UNIMPL aio_read 490c5ab2014Spooka403 UNIMPL aio_return 491c5ab2014Spooka404 UNIMPL aio_suspend 492c5ab2014Spooka405 UNIMPL aio_write 493c5ab2014Spooka406 UNIMPL lio_listio 494c5ab2014Spooka 495c5ab2014Spooka407 UNIMPL 496c5ab2014Spooka408 UNIMPL 497c5ab2014Spooka409 UNIMPL 498c5ab2014Spooka 499c5ab2014Spooka410 UNIMPL mount 500c5ab2014Spooka411 UNIMPL mremap 501c5ab2014Spooka 502c5ab2014Spooka; Processor-sets system calls 503c5ab2014Spooka412 UNIMPL pset_create 504c5ab2014Spooka413 UNIMPL pset_destroy 505c5ab2014Spooka414 UNIMPL pset_assign 506c5ab2014Spooka415 UNIMPL _pset_bind 507c5ab2014Spooka416 UNIMPL fadvise 508c5ab2014Spooka417 UNIMPL select 509c5ab2014Spooka418 UNIMPL gettimeofday 510c5ab2014Spooka419 UNIMPL settimeofday 511*4acfc190Spooka420 NOARGS { int|compat_50_sys||utimes(char *path, \ 512*4acfc190Spooka struct timeval50 *tptr); } 513c5ab2014Spooka421 UNIMPL adjtime 514c5ab2014Spooka422 UNIMPL lfs_segwait 515*4acfc190Spooka423 NOARGS { int|compat_50_sys||futimes(int fd, \ 516*4acfc190Spooka struct timeval50 *tptr); } 517c5ab2014Spooka424 UNIMPL lutimes 518c5ab2014Spooka425 UNIMPL setitimer 519c5ab2014Spooka426 UNIMPL getitimer 520c5ab2014Spooka427 UNIMPL clock_gettime 521c5ab2014Spooka428 UNIMPL clock_settime 522c5ab2014Spooka429 UNIMPL clock_getres 523c5ab2014Spooka430 UNIMPL nanosleep 524c5ab2014Spooka431 UNIMPL __sigtimedwait 525c5ab2014Spooka432 UNIMPL mq_timedsend 526c5ab2014Spooka433 UNIMPL mq_timedreceive 527c5ab2014Spooka434 UNIMPL _lwp_park 528c5ab2014Spooka435 UNIMPL kevent 529c5ab2014Spooka436 UNIMPL pselect 530c5ab2014Spooka437 UNIMPL ppoll 531c5ab2014Spooka438 UNIMPL aio_suspend 532c5ab2014Spooka439 NODEF { int|rump_cygwin_sys||stat(const char *path, \ 533c5ab2014Spooka struct cygwin_stat *sp); } 534c5ab2014Spooka440 NODEF { int|rump_cygwin_sys||fstat(int fd, \ 535c5ab2014Spooka struct cygwin_stat *sp); } 536c5ab2014Spooka441 NODEF { int|rump_cygwin_sys||lstat(const char *path, \ 537c5ab2014Spooka struct cygwin_stat *sp); } 538c5ab2014Spooka442 UNIMPL __semctl 539c5ab2014Spooka443 UNIMPL shmctl 540c5ab2014Spooka444 UNIMPL msgctl 541c5ab2014Spooka445 UNIMPL getrusage 542c5ab2014Spooka446 UNIMPL timer_settime 543c5ab2014Spooka447 UNIMPL timer_gettime 544c5ab2014Spooka448 UNIMPL ntp_gettime 545c5ab2014Spooka449 UNIMPL wait4 546c5ab2014Spooka450 NOARGS { int|sys|50|mknod(const char *path, mode_t mode, \ 547c5ab2014Spooka int dev); } 548c5ab2014Spooka451 UNIMPL fhstat 549c5ab2014Spooka 550c5ab2014Spooka; 452 only ever appeared in 5.99.x and can be reused after netbsd-7 551c5ab2014Spooka452 UNIMPL 5.99 quotactl 552c5ab2014Spooka453 UNIMPL pipe2 553c5ab2014Spooka454 UNIMPL dup3 554c5ab2014Spooka455 UNIMPL kqueue1 555c5ab2014Spooka456 UNIMPL paccept 556c5ab2014Spooka457 UNIMPL linkat 557c5ab2014Spooka458 UNIMPL renameat 558c5ab2014Spooka459 UNIMPL mkfifoat 559c5ab2014Spooka460 UNIMPL mknodat 560c5ab2014Spooka461 UNIMPL mkdirat 561c5ab2014Spooka462 UNIMPL faccessat 562c5ab2014Spooka463 UNIMPL fchmodat 563c5ab2014Spooka464 UNIMPL fchownat 564c5ab2014Spooka465 UNIMPL fexecve 565c5ab2014Spooka466 UNIMPL fstatat 566c5ab2014Spooka467 UNIMPL utimensat 567c5ab2014Spooka468 UNIMPL openat 568c5ab2014Spooka469 UNIMPL readlinkat 569c5ab2014Spooka470 UNIMPL symlinkat 570c5ab2014Spooka471 UNIMPL unlinkat 571c5ab2014Spooka472 UNIMPL futimens 572c5ab2014Spooka473 UNIMPL __quotactl 573c5ab2014Spooka474 UNIMPL posix_spawn 574c5ab2014Spooka475 UNIMPL recvmmsg 575c5ab2014Spooka476 UNIMPL sendmmsg 576