1*4acfc190Spooka $NetBSD: syscalls.master,v 1.2 2013/05/15 21:39:30 pooka Exp $ 2b86d8c27Spooka 3b86d8c27Spooka; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 4b86d8c27Spooka 5b86d8c27Spooka; NetBSD system call name/number "master" file. 6b86d8c27Spooka; (See syscalls.conf to see what it is processed into.) 7b86d8c27Spooka; 8b86d8c27Spooka; Fields: number type [type-dependent ...] 9b86d8c27Spooka; number system call number, must be in order 10b86d8c27Spooka; type one of NODEF, UNIMPL, or NOARGS 11b86d8c27Spooka; 12b86d8c27Spooka; types: 13b86d8c27Spooka; NODEF always included 14b86d8c27Spooka; UNIMPL unimplemented, not included in system 15b86d8c27Spooka; NODEF included, but don't define the syscall number 16b86d8c27Spooka; NOARGS included, but don't define the syscall args structure 17b86d8c27Spooka; 18b86d8c27Spooka; arguments: 19b86d8c27Spooka; PAD argument not part of the C interface, used only for padding 20b86d8c27Spooka; 21b86d8c27Spooka; 22b86d8c27Spooka; Support just enough syscalls to make fs-utils run (plus a few other 23b86d8c27Spooka; low-hanging fruit) 24b86d8c27Spooka; 25b86d8c27Spooka 26b86d8c27Spooka#include <sys/param.h> 27b86d8c27Spooka#include <sys/systm.h> 28b86d8c27Spooka#include <sys/signal.h> 29b86d8c27Spooka#include <sys/socket.h> 30b86d8c27Spooka#include <sys/mount.h> 31b86d8c27Spooka#include <sys/sched.h> 32b86d8c27Spooka#include <sys/syscallargs.h> 33b86d8c27Spooka 34b86d8c27Spooka#include <compat/sunos/sunos.h> 35b86d8c27Spooka 36b86d8c27Spooka#include "rump_sunos_syscallargs.h" 37b86d8c27Spooka 38b86d8c27Spooka%% 39b86d8c27Spooka 40b86d8c27Spooka0 NOARGS { int|sys||nosys(void); } 41b86d8c27Spooka1 UNIMPL exit 42b86d8c27Spooka2 UNIMPL fork 43b86d8c27Spooka3 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 44b86d8c27Spooka4 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 45b86d8c27Spooka size_t nbyte); } 46b86d8c27Spooka5 NODEF { int|rump_sunos_sys||open(const char *path, \ 47b86d8c27Spooka int flags, int mode); } 48b86d8c27Spooka6 NOARGS { int|sys||close(int fd); } 49b86d8c27Spooka7 UNIMPL wait4 50b86d8c27Spooka8 UNIMPL creat 51b86d8c27Spooka9 NOARGS { int|sys||link(const char *path, const char *link); } 52b86d8c27Spooka10 NOARGS { int|sys||unlink(const char *path); } 53b86d8c27Spooka11 UNIMPL execv 54b86d8c27Spooka12 NOARGS { int|sys||chdir(const char *path); } 55b86d8c27Spooka13 NOARGS { int|sys||fchdir(int fd); } 56b86d8c27Spooka14 UNIMPL mknod 57b86d8c27Spooka15 NOARGS { int|sys||chmod(const char *path, int mode); } 58b86d8c27Spooka16 NOARGS { int|sys||chown(const char *path, int uid, int gid); } 59b86d8c27Spooka17 UNIMPL obreak 60b86d8c27Spooka18 UNIMPL getfsstat 61b86d8c27Spooka19 UNIMPL lseek 62b86d8c27Spooka20 NOARGS { pid_t|sys||getpid_with_ppid(void); } getpid 63b86d8c27Spooka21 UNIMPL mount 64b86d8c27Spooka22 UNIMPL unmount 65b86d8c27Spooka23 NOARGS { int|sys||setuid(int uid); } 66b86d8c27Spooka24 NOARGS { int|sys||getuid_with_euid(void); } getuid 67b86d8c27Spooka25 NOARGS { int|sys||geteuid(void); } 68b86d8c27Spooka26 UNIMPL ptrace 69b86d8c27Spooka27 UNIMPL recvmsg 70b86d8c27Spooka28 UNIMPL sendmsg 71b86d8c27Spooka29 UNIMPL recvfrom 72b86d8c27Spooka30 UNIMPL accept 73b86d8c27Spooka31 UNIMPL getpeername 74b86d8c27Spooka32 UNIMPL getsockname 75b86d8c27Spooka33 NOARGS { int|sys||access(const char *path, int flags); } 76b86d8c27Spooka34 UNIMPL chflags 77b86d8c27Spooka35 UNIMPL fchflags 78b86d8c27Spooka36 NOARGS { void|sys||sync(void); } 79b86d8c27Spooka37 UNIMPL kill 80b86d8c27Spooka38 UNIMPL stat 81b86d8c27Spooka39 UNIMPL getppid 82b86d8c27Spooka40 UNIMPL lstat 83b86d8c27Spooka41 NOARGS { int|sys||dup(int fd); } 84b86d8c27Spooka42 NOARGS { int|sys||pipe(void); } 85b86d8c27Spooka43 UNIMPL getegid 86b86d8c27Spooka44 UNIMPL profil 87b86d8c27Spooka45 UNIMPL ktrace 88b86d8c27Spooka46 UNIMPL sigaction 89b86d8c27Spooka47 NOARGS { int|sys||getgid_with_egid(void); } getgid 90b86d8c27Spooka48 UNIMPL sigprocmask 91b86d8c27Spooka49 UNIMPL __getlogin 92b86d8c27Spooka50 UNIMPL __setlogin 93b86d8c27Spooka51 UNIMPL acct 94b86d8c27Spooka52 UNIMPL sigpending 95b86d8c27Spooka53 UNIMPL sigaltstack 96b86d8c27Spooka54 UNIMPL ioctl 97b86d8c27Spooka55 UNIMPL reboot 98b86d8c27Spooka56 UNIMPL revoke 99b86d8c27Spooka57 NOARGS { int|sys||symlink(const char *path, \ 100b86d8c27Spooka const char *link); } 101b86d8c27Spooka58 NOARGS { ssize_t|sys||readlink(const char *path, char *buf, \ 102b86d8c27Spooka int count); } 103b86d8c27Spooka59 UNIMPL execve 104b86d8c27Spooka60 NOARGS { mode_t|sys||umask(mode_t newmask); } 105b86d8c27Spooka61 NOARGS { int|sys||chroot(const char *path); } 106b86d8c27Spooka62 UNIMPL fstat43 107b86d8c27Spooka63 UNIMPL getkerninfo 108b86d8c27Spooka64 UNIMPL getpagesize 109b86d8c27Spooka65 UNIMPL msync 110b86d8c27Spooka66 UNIMPL vfork 111b86d8c27Spooka67 UNIMPL vread 112b86d8c27Spooka68 UNIMPL vwrite 113b86d8c27Spooka69 UNIMPL sbrk 114b86d8c27Spooka70 UNIMPL sstk 115b86d8c27Spooka71 UNIMPL mmap 116b86d8c27Spooka72 UNIMPL ovadvise 117b86d8c27Spooka73 UNIMPL munmap 118b86d8c27Spooka74 UNIMPL mprotect 119b86d8c27Spooka75 UNIMPL madvise 120b86d8c27Spooka76 UNIMPL vhangup 121b86d8c27Spooka77 UNIMPL vlimit 122b86d8c27Spooka78 UNIMPL mincore 123b86d8c27Spooka79 NOARGS { int|sys||getgroups(int gidsetsize, \ 124b86d8c27Spooka int *gidset); } 125b86d8c27Spooka80 NOARGS { int|sys||setgroups(int gidsetsize, \ 126b86d8c27Spooka const int *gidset); } 127b86d8c27Spooka81 NOARGS { int|sys||getpgrp(void); } 128b86d8c27Spooka82 NOARGS { int|sys||setpgid(int pid, int pgid); } 129b86d8c27Spooka83 UNIMPL setitimer 130b86d8c27Spooka84 UNIMPL wait 131b86d8c27Spooka85 UNIMPL swapon 132b86d8c27Spooka86 UNIMPL getitimer 133b86d8c27Spooka87 UNIMPL gethostname 134b86d8c27Spooka88 UNIMPL sethostname 135b86d8c27Spooka89 UNIMPL getdtablesize 136b86d8c27Spooka90 NOARGS { int|sys||dup2(int from, int to); } 137b86d8c27Spooka91 UNIMPL getdopt 138b86d8c27Spooka92 UNIMPL fcntl 139b86d8c27Spooka93 UNIMPL select 140b86d8c27Spooka94 UNIMPL setdopt 141b86d8c27Spooka95 NOARGS { int|sys||fsync(int fd); } 142b86d8c27Spooka96 UNIMPL setpriority 143b86d8c27Spooka97 UNIMPL socket 144b86d8c27Spooka98 UNIMPL connect 145b86d8c27Spooka99 UNIMPL accept 146b86d8c27Spooka100 UNIMPL getpriority 147b86d8c27Spooka 148b86d8c27Spooka101 UNIMPL send 149b86d8c27Spooka102 UNIMPL recv 150b86d8c27Spooka 151b86d8c27Spooka103 UNIMPL sigreturn 152b86d8c27Spooka104 UNIMPL bind 153b86d8c27Spooka105 UNIMPL setsockopt 154b86d8c27Spooka106 UNIMPL listen 155b86d8c27Spooka107 UNIMPL vtimes 156b86d8c27Spooka108 UNIMPL sigvec 157b86d8c27Spooka109 UNIMPL sigblock 158b86d8c27Spooka110 UNIMPL sigsetmask 159b86d8c27Spooka111 UNIMPL sigsuspend 160b86d8c27Spooka112 UNIMPL sigstack 161b86d8c27Spooka113 UNIMPL orecvmsg 162b86d8c27Spooka114 UNIMPL osendmsg 163b86d8c27Spooka115 UNIMPL vtrace 164b86d8c27Spooka116 UNIMPL gettimeofday 165b86d8c27Spooka117 UNIMPL getrusage 166b86d8c27Spooka118 UNIMPL getsockopt 167b86d8c27Spooka119 UNIMPL resuba 168b86d8c27Spooka120 NOARGS { ssize_t|sys||readv(int fd, \ 169b86d8c27Spooka struct iovec *iovp, int iovcnt); } 170b86d8c27Spooka121 NOARGS { ssize_t|sys||writev(int fd, \ 171b86d8c27Spooka struct iovec *iovp, int iovcnt); } 172b86d8c27Spooka122 UNIMPL settimeofday 173b86d8c27Spooka123 NOARGS { int|sys||fchown(int fd, int uid, int gid); } 174b86d8c27Spooka124 NOARGS { int|sys||fchmod(int fd, int mode); } 175b86d8c27Spooka125 UNIMPL orecvfrom 176b86d8c27Spooka126 NOARGS { int|sys||setreuid(int ruid, int euid); } 177b86d8c27Spooka127 NOARGS { int|sys||setregid(int rgid, int egid); } 178b86d8c27Spooka128 NOARGS { int|sys||rename(char *from, char *to); } 179b86d8c27Spooka129 UNIMPL otruncate 180b86d8c27Spooka130 UNIMPL oftruncate 181b86d8c27Spooka131 NOARGS { int|sys||flock(int fd, int how); } 182b86d8c27Spooka132 UNIMPL mkfifo 183b86d8c27Spooka133 NOARGS { int|sys||sendto(int s, void *buf, \ 184b86d8c27Spooka int len, int flags, void *to, int tolen); } 185b86d8c27Spooka134 NOARGS { int|sys||shutdown(int s, int how); } 186b86d8c27Spooka135 UNIMPL socketpair 187b86d8c27Spooka136 NOARGS { int|sys||mkdir(const char *path, int mode); } 188b86d8c27Spooka137 NOARGS { int|sys||rmdir(const char *path); } 189b86d8c27Spooka138 UNIMPL utimes 190b86d8c27Spooka 191b86d8c27Spooka139 UNIMPL 4.2 sigreturn 192b86d8c27Spooka140 UNIMPL adjtime 193b86d8c27Spooka141 UNIMPL ogetpeername 194b86d8c27Spooka142 UNIMPL ogethostid 195b86d8c27Spooka143 UNIMPL osethostid 196b86d8c27Spooka144 UNIMPL ogetrlimit 197b86d8c27Spooka145 UNIMPL osetrlimit 198b86d8c27Spooka146 UNIMPL okillpg 199b86d8c27Spooka147 NOARGS { int|sys||setsid(void); } 200b86d8c27Spooka148 UNIMPL quotactl 201b86d8c27Spooka149 UNIMPL oquota 202b86d8c27Spooka150 UNIMPL ogetsockname 203b86d8c27Spooka 204b86d8c27Spooka; Syscalls 151-180 inclusive are reserved for vendor-specific 205b86d8c27Spooka; system calls. (This includes various calls added for compatibity 206b86d8c27Spooka; with other Unix variants.) 207b86d8c27Spooka; Some of these calls are now supported by BSD... 208b86d8c27Spooka151 UNIMPL 209b86d8c27Spooka152 UNIMPL 210b86d8c27Spooka153 UNIMPL 211b86d8c27Spooka154 UNIMPL 212b86d8c27Spooka155 UNIMPL nfssvc 213b86d8c27Spooka156 UNIMPL ogetdirentries 214b86d8c27Spooka157 UNIMPL statfs12 215b86d8c27Spooka158 UNIMPL fstatfs12 216b86d8c27Spooka159 UNIMPL 217b86d8c27Spooka160 UNIMPL 218b86d8c27Spooka161 UNIMPL getfh30 219b86d8c27Spooka162 UNIMPL ogetdomainname 220b86d8c27Spooka163 UNIMPL osetdomainname 221b86d8c27Spooka164 UNIMPL ouname 222b86d8c27Spooka165 UNIMPL sysarch 223b86d8c27Spooka166 UNIMPL 224b86d8c27Spooka167 UNIMPL 225b86d8c27Spooka168 UNIMPL 226b86d8c27Spooka169 UNIMPL 1.0 semsys 227b86d8c27Spooka170 UNIMPL 1.0 msgsys 228b86d8c27Spooka171 UNIMPL 1.0 shmsys 229b86d8c27Spooka172 UNIMPL 230b86d8c27Spooka173 NOARGS { ssize_t|sys||pread(int fd, char *buf, \ 231b86d8c27Spooka size_t nbyte, int PAD, off_t offset); } 232b86d8c27Spooka174 NOARGS { ssize_t|sys||pwrite(int fd, char *buf, \ 233b86d8c27Spooka size_t nbyte, int PAD, off_t offset); } 234b86d8c27Spooka175 UNIMPL ntp_gettime 235b86d8c27Spooka176 UNIMPL ntp_adjtime 236b86d8c27Spooka177 UNIMPL 237b86d8c27Spooka178 UNIMPL 238b86d8c27Spooka179 UNIMPL 239b86d8c27Spooka180 UNIMPL 240b86d8c27Spooka 241b86d8c27Spooka; Syscalls 180-199 are used by/reserved for BSD 242b86d8c27Spooka181 NOARGS { int|sys||setgid(gid_t gid); } 243b86d8c27Spooka182 NOARGS { int|sys||setegid(gid_t egid); } 244b86d8c27Spooka183 NOARGS { int|sys||seteuid(uid_t euid); } 245b86d8c27Spooka184 UNIMPL lfs_bmapv 246b86d8c27Spooka185 UNIMPL lfs_markv 247b86d8c27Spooka186 UNIMPL lfs_segclean 248b86d8c27Spooka187 UNIMPL lfs_segwait 249b86d8c27Spooka188 UNIMPL stat12 250b86d8c27Spooka189 UNIMPL fstat12 251b86d8c27Spooka190 UNIMPL lstat12 252b86d8c27Spooka191 UNIMPL pathconf 253b86d8c27Spooka192 UNIMPL fpathconf 254b86d8c27Spooka193 UNIMPL 255b86d8c27Spooka194 UNIMPL getrlimit 256b86d8c27Spooka195 UNIMPL setrlimit 257b86d8c27Spooka196 UNIMPL getdirentries 258b86d8c27Spooka197 UNIMPL mmap 259b86d8c27Spooka198 UNIMPL __syscall 260b86d8c27Spooka199 NOARGS { long|sys||lseek(int fd, int PAD, off_t offset, \ 261b86d8c27Spooka int whence); } 262b86d8c27Spooka200 NOARGS { int|sys||truncate(const char *path, int PAD, \ 263b86d8c27Spooka off_t length); } 264b86d8c27Spooka201 NOARGS { int|sys||ftruncate(int fd, int PAD, off_t length); } 265b86d8c27Spooka202 UNIMPL __sysctl 266b86d8c27Spooka203 UNIMPL mlock 267b86d8c27Spooka204 UNIMPL munlock 268b86d8c27Spooka205 UNIMPL undelete 269b86d8c27Spooka206 UNIMPL futimes 270b86d8c27Spooka207 NOARGS { pid_t|sys||getpgid(pid_t pid); } 271b86d8c27Spooka208 UNIMPL reboot 272b86d8c27Spooka209 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 273b86d8c27Spooka int timeout); } 274b86d8c27Spooka; 275b86d8c27Spooka; Syscalls 210-219 are reserved for dynamically loaded syscalls 276b86d8c27Spooka; 277b86d8c27Spooka210 UNIMPL afssys 278b86d8c27Spooka211 UNIMPL 279b86d8c27Spooka212 UNIMPL 280b86d8c27Spooka213 UNIMPL 281b86d8c27Spooka214 UNIMPL 282b86d8c27Spooka215 UNIMPL 283b86d8c27Spooka216 UNIMPL 284b86d8c27Spooka217 UNIMPL 285b86d8c27Spooka218 UNIMPL 286b86d8c27Spooka219 UNIMPL 287b86d8c27Spooka220 UNIMPL compat_14_semctl 288b86d8c27Spooka221 UNIMPL semget 289b86d8c27Spooka222 UNIMPL semop 290b86d8c27Spooka223 UNIMPL semconfig 291b86d8c27Spooka224 UNIMPL compat_14_msgctl 292b86d8c27Spooka225 UNIMPL msgget 293b86d8c27Spooka226 UNIMPL msgsnd 294b86d8c27Spooka227 UNIMPL msgrcv 295b86d8c27Spooka228 UNIMPL shmat 296b86d8c27Spooka229 UNIMPL compat_14_shmctl 297b86d8c27Spooka230 UNIMPL shmdt 298b86d8c27Spooka231 UNIMPL shmget 299b86d8c27Spooka 300b86d8c27Spooka232 UNIMPL clock_gettime 301b86d8c27Spooka233 UNIMPL clock_settime 302b86d8c27Spooka234 UNIMPL clock_getres 303b86d8c27Spooka235 UNIMPL timer_create 304b86d8c27Spooka236 UNIMPL timer_delete 305b86d8c27Spooka237 UNIMPL timer_settime 306b86d8c27Spooka238 UNIMPL timer_gettime 307b86d8c27Spooka239 UNIMPL timer_getoverrun 308b86d8c27Spooka; 309b86d8c27Spooka; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls 310b86d8c27Spooka; 311b86d8c27Spooka240 UNIMPL nanosleep 312b86d8c27Spooka241 UNIMPL fdatasync 313b86d8c27Spooka242 UNIMPL mlockall 314b86d8c27Spooka243 UNIMPL munlockall 315b86d8c27Spooka244 UNIMPL __sigtimedwait 316b86d8c27Spooka245 UNIMPL sigqueueinfo 317b86d8c27Spooka246 UNIMPL modctl 318b86d8c27Spooka247 UNIMPL _ksem_init 319b86d8c27Spooka248 UNIMPL _ksem_open 320b86d8c27Spooka249 UNIMPL _ksem_unlink 321b86d8c27Spooka250 UNIMPL _ksem_close 322b86d8c27Spooka251 UNIMPL _ksem_post 323b86d8c27Spooka252 UNIMPL _ksem_wait 324b86d8c27Spooka253 UNIMPL _ksem_trywait 325b86d8c27Spooka254 UNIMPL _ksem_getvalue 326b86d8c27Spooka255 UNIMPL _ksem_destroy 327b86d8c27Spooka256 UNIMPL _ksem_timedwait 328b86d8c27Spooka 329b86d8c27Spooka257 UNIMPL mq_open 330b86d8c27Spooka258 UNIMPL mq_close 331b86d8c27Spooka259 UNIMPL mq_unlink 332b86d8c27Spooka260 UNIMPL mq_getattr 333b86d8c27Spooka261 UNIMPL mq_setattr 334b86d8c27Spooka262 UNIMPL mq_notify 335b86d8c27Spooka263 UNIMPL mq_send 336b86d8c27Spooka264 UNIMPL mq_receive 337b86d8c27Spooka265 UNIMPL mq_timedsend 338b86d8c27Spooka266 UNIMPL mq_timedreceive 339b86d8c27Spooka267 UNIMPL 340b86d8c27Spooka268 UNIMPL 341b86d8c27Spooka269 UNIMPL 342b86d8c27Spooka270 UNIMPL __posix_rename 343b86d8c27Spooka271 UNIMPL swapctl 344b86d8c27Spooka272 UNIMPL getdents 345b86d8c27Spooka273 UNIMPL minherit 346b86d8c27Spooka274 UNIMPL lchmod 347b86d8c27Spooka275 UNIMPL lchown 348b86d8c27Spooka276 UNIMPL lutimes 349b86d8c27Spooka277 UNIMPL msync 350b86d8c27Spooka278 UNIMPL stat 351b86d8c27Spooka279 UNIMPL fstat 352b86d8c27Spooka280 UNIMPL lstat 353b86d8c27Spooka281 UNIMPL sigaltstack 354b86d8c27Spooka282 UNIMPL vfork 355b86d8c27Spooka283 UNIMPL __posix_chown 356b86d8c27Spooka284 UNIMPL __posix_fchown 357b86d8c27Spooka285 UNIMPL __posix_lchown 358b86d8c27Spooka286 NOARGS { pid_t|sys||getsid(pid_t pid); } 359b86d8c27Spooka 360b86d8c27Spooka287 UNIMPL __clone 361b86d8c27Spooka288 UNIMPL fktrace 362b86d8c27Spooka289 UNIMPL { ssize_t|sys||preadv(int fd, \ 363b86d8c27Spooka const struct iovec *iovp, int iovcnt, \ 364b86d8c27Spooka int PAD, off_t offset); } 365b86d8c27Spooka290 UNIMPL { ssize_t|sys||pwritev(int fd, \ 366b86d8c27Spooka const struct iovec *iovp, int iovcnt, \ 367b86d8c27Spooka int PAD, off_t offset); } 368b86d8c27Spooka291 UNIMPL sigaction 369b86d8c27Spooka292 UNIMPL sigpending 370b86d8c27Spooka293 UNIMPL sigprocmask 371b86d8c27Spooka294 UNIMPL sigsuspend 372b86d8c27Spooka295 UNIMPL sigreturn 373b86d8c27Spooka296 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 374b86d8c27Spooka297 NOARGS { int|sys||fchroot(int fd); } 375b86d8c27Spooka298 UNIMPL fhopen 376b86d8c27Spooka299 UNIMPL fhstat 377b86d8c27Spooka300 UNIMPL fhstatfs 378b86d8c27Spooka301 UNIMPL ____semctl13 379b86d8c27Spooka302 UNIMPL __msgctl13 380b86d8c27Spooka303 UNIMPL __shmctl13 381b86d8c27Spooka304 UNIMPL lchflags 382b86d8c27Spooka305 UNIMPL issetugid 383b86d8c27Spooka306 UNIMPL utrace 384b86d8c27Spooka307 UNIMPL getcontext 385b86d8c27Spooka308 UNIMPL setcontext 386b86d8c27Spooka309 UNIMPL _lwp_create 387b86d8c27Spooka310 UNIMPL _lwp_exit 388b86d8c27Spooka311 UNIMPL _lwp_self 389b86d8c27Spooka312 UNIMPL _lwp_wait 390b86d8c27Spooka313 UNIMPL _lwp_suspend 391b86d8c27Spooka314 UNIMPL _lwp_continue 392b86d8c27Spooka315 UNIMPL _lwp_wakeup 393b86d8c27Spooka316 UNIMPL _lwp_getprivate 394b86d8c27Spooka317 UNIMPL _lwp_setprivate 395b86d8c27Spooka318 UNIMPL _lwp_kill 396b86d8c27Spooka319 UNIMPL _lwp_detach 397b86d8c27Spooka320 UNIMPL _lwp_park 398b86d8c27Spooka321 UNIMPL _lwp_unpark 399b86d8c27Spooka322 UNIMPL _lwp_unpark_all 400b86d8c27Spooka323 UNIMPL _lwp_setname 401b86d8c27Spooka324 UNIMPL _lwp_getname 402b86d8c27Spooka325 UNIMPL _lwp_ctl 403b86d8c27Spooka 404b86d8c27Spooka; Syscalls 326-339 reserved for LWP syscalls. 405b86d8c27Spooka326 UNIMPL 406b86d8c27Spooka327 UNIMPL 407b86d8c27Spooka328 UNIMPL 408b86d8c27Spooka329 UNIMPL 409b86d8c27Spooka; SA system calls. 410b86d8c27Spooka330 UNIMPL sa_register 411b86d8c27Spooka331 UNIMPL sa_stacks 412b86d8c27Spooka332 UNIMPL sa_enable 413b86d8c27Spooka333 UNIMPL sa_setconcurrency 414b86d8c27Spooka334 UNIMPL sa_yield 415b86d8c27Spooka335 UNIMPL sa_preempt 416b86d8c27Spooka336 UNIMPL sys_sa_unblockyield 417b86d8c27Spooka; 418b86d8c27Spooka; Syscalls 337-339 are reserved for other scheduler activation syscalls. 419b86d8c27Spooka; 420b86d8c27Spooka337 UNIMPL 421b86d8c27Spooka338 UNIMPL 422b86d8c27Spooka339 UNIMPL 423b86d8c27Spooka 424b86d8c27Spooka340 UNIMPL __sigaction_sigtramp 425b86d8c27Spooka341 UNIMPL pmc_get_info 426b86d8c27Spooka342 UNIMPL pmc_control 427b86d8c27Spooka343 UNIMPL rasctl 428b86d8c27Spooka344 UNIMPL kqueue 429b86d8c27Spooka345 UNIMPL kevent 430b86d8c27Spooka 431b86d8c27Spooka; Scheduling system calls. 432b86d8c27Spooka346 UNIMPL _sched_setparam 433b86d8c27Spooka347 UNIMPL _sched_getparam 434b86d8c27Spooka348 UNIMPL _sched_setaffinity 435b86d8c27Spooka349 UNIMPL _sched_getaffinity 436b86d8c27Spooka350 UNIMPL sched_yield 437b86d8c27Spooka351 UNIMPL 438b86d8c27Spooka352 UNIMPL 439b86d8c27Spooka353 UNIMPL 440b86d8c27Spooka 441b86d8c27Spooka354 UNIMPL fsync_range 442b86d8c27Spooka355 UNIMPL uuidgen 443b86d8c27Spooka356 UNIMPL getvfsstat 444b86d8c27Spooka357 UNIMPL statvfs1 445b86d8c27Spooka358 UNIMPL fstatvfs1 446b86d8c27Spooka359 UNIMPL fhstatvfs1 447b86d8c27Spooka360 UNIMPL extattrctl 448b86d8c27Spooka361 UNIMPL extattr_set_file 449b86d8c27Spooka362 UNIMPL extattr_get_file 450b86d8c27Spooka363 UNIMPL extattr_delete_file 451b86d8c27Spooka364 UNIMPL extattr_set_fd 452b86d8c27Spooka365 UNIMPL extattr_get_fd 453b86d8c27Spooka366 UNIMPL extattr_delete_fd 454b86d8c27Spooka367 UNIMPL extattr_set_link 455b86d8c27Spooka368 UNIMPL extattr_get_link 456b86d8c27Spooka369 UNIMPL extattr_delete_link 457b86d8c27Spooka370 UNIMPL extattr_list_fd 458b86d8c27Spooka371 UNIMPL extattr_list_file 459b86d8c27Spooka372 UNIMPL extattr_list_link 460b86d8c27Spooka373 UNIMPL pselect 461b86d8c27Spooka374 UNIMPL pollts 462b86d8c27Spooka375 UNIMPL setxattr 463b86d8c27Spooka376 UNIMPL lsetxattr 464b86d8c27Spooka377 UNIMPL fsetxattr 465b86d8c27Spooka378 UNIMPL getxattr 466b86d8c27Spooka379 UNIMPL lgetxattr 467b86d8c27Spooka380 UNIMPL fgetxattr 468b86d8c27Spooka381 UNIMPL listxattr 469b86d8c27Spooka382 UNIMPL llistxattr 470b86d8c27Spooka383 UNIMPL flistxattr 471b86d8c27Spooka384 UNIMPL removexattr 472b86d8c27Spooka385 UNIMPL lremovexattr 473b86d8c27Spooka386 UNIMPL fremovexattr 474b86d8c27Spooka387 UNIMPL stat30 475b86d8c27Spooka388 UNIMPL fstat30 476b86d8c27Spooka389 UNIMPL lstat30 477b86d8c27Spooka390 NODEF { int|rump_sunos_sys||getdents(int fd, \ 478b86d8c27Spooka char *buf, size_t nbytes); } 479b86d8c27Spooka391 UNIMPL old posix_fadvise 480b86d8c27Spooka392 UNIMPL fhstat 481b86d8c27Spooka393 UNIMPL ntp_gettime 482b86d8c27Spooka394 UNIMPL socket 483b86d8c27Spooka395 UNIMPL getfh 484b86d8c27Spooka396 UNIMPL fhopen 485b86d8c27Spooka397 UNIMPL fhstatvfs1 486b86d8c27Spooka398 UNIMPL fhstat 487b86d8c27Spooka 488b86d8c27Spooka; Asynchronous I/O system calls 489b86d8c27Spooka399 UNIMPL aio_cancel 490b86d8c27Spooka400 UNIMPL aio_error 491b86d8c27Spooka401 UNIMPL aio_fsync 492b86d8c27Spooka402 UNIMPL aio_read 493b86d8c27Spooka403 UNIMPL aio_return 494b86d8c27Spooka404 UNIMPL aio_suspend 495b86d8c27Spooka405 UNIMPL aio_write 496b86d8c27Spooka406 UNIMPL lio_listio 497b86d8c27Spooka 498b86d8c27Spooka407 UNIMPL 499b86d8c27Spooka408 UNIMPL 500b86d8c27Spooka409 UNIMPL 501b86d8c27Spooka 502b86d8c27Spooka410 UNIMPL mount 503b86d8c27Spooka411 UNIMPL mremap 504b86d8c27Spooka 505b86d8c27Spooka; Processor-sets system calls 506b86d8c27Spooka412 UNIMPL pset_create 507b86d8c27Spooka413 UNIMPL pset_destroy 508b86d8c27Spooka414 UNIMPL pset_assign 509b86d8c27Spooka415 UNIMPL _pset_bind 510b86d8c27Spooka416 UNIMPL fadvise 511b86d8c27Spooka417 UNIMPL select 512b86d8c27Spooka418 UNIMPL gettimeofday 513b86d8c27Spooka419 UNIMPL settimeofday 514*4acfc190Spooka420 NOARGS { int|compat_50_sys||utimes(char *path, \ 515*4acfc190Spooka struct timeval50 *tptr); } 516b86d8c27Spooka421 UNIMPL adjtime 517b86d8c27Spooka422 UNIMPL lfs_segwait 518*4acfc190Spooka423 NOARGS { int|compat_50_sys||futimes(int fd, \ 519*4acfc190Spooka struct timeval50 *tptr); } 520b86d8c27Spooka424 UNIMPL lutimes 521b86d8c27Spooka425 UNIMPL setitimer 522b86d8c27Spooka426 UNIMPL getitimer 523b86d8c27Spooka427 UNIMPL clock_gettime 524b86d8c27Spooka428 UNIMPL clock_settime 525b86d8c27Spooka429 UNIMPL clock_getres 526b86d8c27Spooka430 UNIMPL nanosleep 527b86d8c27Spooka431 UNIMPL __sigtimedwait 528b86d8c27Spooka432 UNIMPL mq_timedsend 529b86d8c27Spooka433 UNIMPL mq_timedreceive 530b86d8c27Spooka434 UNIMPL _lwp_park 531b86d8c27Spooka435 UNIMPL kevent 532b86d8c27Spooka436 UNIMPL pselect 533b86d8c27Spooka437 UNIMPL ppoll 534b86d8c27Spooka438 UNIMPL aio_suspend 535b86d8c27Spooka439 NODEF { int|rump_sunos_sys||stat(const char *path, \ 536b86d8c27Spooka struct sunos_stat *sp); } 537b86d8c27Spooka440 NODEF { int|rump_sunos_sys||fstat(int fd, \ 538b86d8c27Spooka struct sunos_stat *sp); } 539b86d8c27Spooka441 NODEF { int|rump_sunos_sys||lstat(const char *path, \ 540b86d8c27Spooka struct sunos_stat *sp); } 541b86d8c27Spooka442 UNIMPL __semctl 542b86d8c27Spooka443 UNIMPL shmctl 543b86d8c27Spooka444 UNIMPL msgctl 544b86d8c27Spooka445 UNIMPL getrusage 545b86d8c27Spooka446 UNIMPL timer_settime 546b86d8c27Spooka447 UNIMPL timer_gettime 547b86d8c27Spooka448 UNIMPL ntp_gettime 548b86d8c27Spooka449 UNIMPL wait4 549b86d8c27Spooka450 NOARGS { int|sys|50|mknod(const char *path, mode_t mode, \ 550b86d8c27Spooka int dev); } 551b86d8c27Spooka451 UNIMPL fhstat 552b86d8c27Spooka 553b86d8c27Spooka; 452 only ever appeared in 5.99.x and can be reused after netbsd-7 554b86d8c27Spooka452 UNIMPL 5.99 quotactl 555b86d8c27Spooka453 UNIMPL pipe2 556b86d8c27Spooka454 UNIMPL dup3 557b86d8c27Spooka455 UNIMPL kqueue1 558b86d8c27Spooka456 UNIMPL paccept 559b86d8c27Spooka457 UNIMPL linkat 560b86d8c27Spooka458 UNIMPL renameat 561b86d8c27Spooka459 UNIMPL mkfifoat 562b86d8c27Spooka460 UNIMPL mknodat 563b86d8c27Spooka461 UNIMPL mkdirat 564b86d8c27Spooka462 UNIMPL faccessat 565b86d8c27Spooka463 UNIMPL fchmodat 566b86d8c27Spooka464 UNIMPL fchownat 567b86d8c27Spooka465 UNIMPL fexecve 568b86d8c27Spooka466 UNIMPL fstatat 569b86d8c27Spooka467 UNIMPL utimensat 570b86d8c27Spooka468 UNIMPL openat 571b86d8c27Spooka469 UNIMPL readlinkat 572b86d8c27Spooka470 UNIMPL symlinkat 573b86d8c27Spooka471 UNIMPL unlinkat 574b86d8c27Spooka472 UNIMPL futimens 575b86d8c27Spooka473 UNIMPL __quotactl 576b86d8c27Spooka474 UNIMPL posix_spawn 577b86d8c27Spooka475 UNIMPL recvmmsg 578b86d8c27Spooka476 UNIMPL sendmmsg 579