syscalls.master revision 1.25
1 $NetBSD: syscalls.master,v 1.25 1999/08/25 04:48:21 thorpej Exp $ 2 3; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 4 5; NetBSD COMPAT_FREEBSD system call name/number "master" file. 6; (See syscalls.conf to see what it is processed into.) 7; 8; Fields: number type [type-dependent ...] 9; number system call number, must be in order 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 11; the compatibility options defined in syscalls.conf. 12; 13; types: 14; STD always included 15; OBSOL obsolete, not included in system 16; UNIMPL unimplemented, not included in system 17; NODEF included, but don't define the syscall number 18; NOARGS included, but don't define the syscall args structure 19; 20; The compat options are defined in the syscalls.conf file, and the 21; compat option name is prefixed to the syscall name. Other than 22; that, they're like NODEF (for 'compat' options), or STD (for 23; 'libcompat' options). 24; 25; The type-dependent arguments are as follows: 26; For STD, NODEF, NOARGS, and compat syscalls: 27; { pseudo-proto } [alias] 28; For other syscalls: 29; [comment] 30; 31; #ifdef's, etc. may be included, and are copied to the output files. 32; #include's are copied to the syscall names and switch definition files only. 33 34#include "opt_ktrace.h" 35#include "opt_nfsserver.h" 36#include "opt_sysv.h" 37#include "opt_compat_43.h" 38 39#include "fs_lfs.h" 40#include "fs_nfs.h" 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/signal.h> 45#include <sys/mount.h> 46#include <sys/syscallargs.h> 47 48#include <compat/freebsd/freebsd_syscallargs.h> 49 50#include <machine/freebsd_machdep.h> 51 52; Reserved/unimplemented system calls in the range 0-150 inclusive 53; are reserved for use in future Berkeley releases. 54; Additional system calls implemented in vendor and other 55; redistributions should be placed in the reserved range at the end 56; of the current calls. 57 580 NOARGS { int sys_nosys(void); } syscall 591 NOARGS { int sys_exit(int rval); } 602 NOARGS { int sys_fork(void); } 613 NOARGS { int sys_read(int fd, char *buf, u_int nbyte); } 624 NOARGS { int sys_write(int fd, char *buf, u_int nbyte); } 635 STD { int freebsd_sys_open(const char *path, int flags, \ 64 int mode); } 656 NOARGS { int sys_close(int fd); } 667 NOARGS { int sys_wait4(int pid, int *status, int options, \ 67 struct rusage *rusage); } 688 STD { int compat_43_freebsd_sys_creat(const char *path, \ 69 int mode); } ocreat 709 STD { int freebsd_sys_link(const char *path, \ 71 const char *link); } 7210 STD { int freebsd_sys_unlink(const char *path); } 7311 OBSOL execv 7412 STD { int freebsd_sys_chdir(const char *path); } 7513 NOARGS { int sys_fchdir(int fd); } 7614 STD { int freebsd_sys_mknod(const char *path, int mode, \ 77 int dev); } 7815 STD { int freebsd_sys_chmod(const char *path, int mode); } 7916 STD { int freebsd_sys_chown(const char *path, int uid, \ 80 int gid); } 8117 NOARGS { int sys_obreak(char *nsize); } break 8218 NOARGS { int sys_getfsstat(struct statfs *buf, long bufsize, \ 83 int flags); } 8419 NOARGS { long compat_43_sys_lseek(int fd, long offset, \ 85 int whence); } olseek 8620 NOARGS { pid_t sys_getpid(void); } 8721 STD { int freebsd_sys_mount(int type, const char *path, \ 88 int flags, caddr_t data); } 8922 STD { int freebsd_sys_unmount(const char *path, \ 90 int flags); } 9123 NOARGS { int sys_setuid(uid_t uid); } 9224 NOARGS { uid_t sys_getuid(void); } 9325 NOARGS { uid_t sys_geteuid(void); } 9426 STD { int freebsd_sys_ptrace(int req, pid_t pid, \ 95 caddr_t addr, int data); } 9627 NOARGS { int sys_recvmsg(int s, struct msghdr *msg, \ 97 int flags); } 9828 NOARGS { int sys_sendmsg(int s, caddr_t msg, int flags); } 9929 NOARGS { int sys_recvfrom(int s, caddr_t buf, size_t len, \ 100 int flags, caddr_t from, int *fromlenaddr); } 10130 NOARGS { int sys_accept(int s, caddr_t name, int *anamelen); } 10231 NOARGS { int sys_getpeername(int fdes, caddr_t asa, \ 103 int *alen); } 10432 NOARGS { int sys_getsockname(int fdes, caddr_t asa, \ 105 int *alen); } 10633 STD { int freebsd_sys_access(const char *path, int flags); } 10734 STD { int freebsd_sys_chflags(const char *path, \ 108 int flags); } 10935 NOARGS { int sys_fchflags(int fd, int flags); } 11036 NOARGS { int sys_sync(void); } 11137 NOARGS { int sys_kill(int pid, int signum); } 11238 STD { int compat_43_freebsd_sys_stat(const char *path, \ 113 struct stat43 *ub); } stat43 11439 NOARGS { pid_t sys_getppid(void); } 11540 STD { int compat_43_freebsd_sys_lstat(const char *path, \ 116 struct stat43 *ub); } lstat43 11741 NOARGS { int sys_dup(u_int fd); } 11842 NOARGS { int sys_pipe(void); } 11943 NOARGS { gid_t sys_getegid(void); } 12044 NOARGS { int sys_profil(caddr_t samples, u_int size, \ 121 u_int offset, u_int scale); } 122#ifdef KTRACE 12345 NOARGS { int sys_ktrace(char *fname, int ops, int facs, \ 124 int pid); } 125#else 12645 UNIMPL ktrace 127#endif 12846 NOARGS { int compat_13_sys_sigaction(int signum, \ 129 const struct sigaction13 *nsa, \ 130 struct sigaction13 *osa); } 13147 NOARGS { gid_t sys_getgid(void); } 13248 NOARGS { int compat_13_sys_sigprocmask(int how, \ 133 int mask); } 13449 NOARGS { int sys___getlogin(char *namebuf, u_int namelen); } 13550 NOARGS { int sys_setlogin(char *namebuf); } 13651 NOARGS { int sys_acct(char *path); } 13752 NOARGS { int compat_13_sys_sigpending(void); } 13853 NOARGS { int compat_13_sys_sigaltstack( \ 139 const struct sigaltstack13 *nss, \ 140 struct sigaltstack13 *oss); } 14154 STD { int freebsd_sys_ioctl(int fd, u_long com, \ 142 caddr_t data); } 14355 NOARGS { int sys_reboot(int opt); } oreboot 14456 STD { int freebsd_sys_revoke(const char *path); } 14557 STD { int freebsd_sys_symlink(const char *path, \ 146 const char *link); } 14758 STD { int freebsd_sys_readlink(const char *path, \ 148 char *buf, int count); } 14959 STD { int freebsd_sys_execve(const char *path, \ 150 char **argp, char **envp); } 15160 NOARGS { int sys_umask(int newmask); } 15261 STD { int freebsd_sys_chroot(const char *path); } 15362 NOARGS { int compat_43_sys_fstat(int fd, struct stat43 *sb); } \ 154 fstat43 15563 NOARGS { int compat_43_sys_getkerninfo(int op, char *where, \ 156 int *size, int arg); } ogetkerninfo 15764 NOARGS { int compat_43_sys_getpagesize(void); } ogetpagesize 15865 STD { int freebsd_sys_msync(caddr_t addr, size_t len, \ 159 int flags); } 16066 NOARGS { int sys_vfork(void); } 16167 OBSOL vread 16268 OBSOL vwrite 16369 NOARGS { int sys_sbrk(intptr_t incr); } 16470 NOARGS { int sys_sstk(int incr); } 16571 NOARGS { int compat_43_sys_mmap(caddr_t addr, size_t len, \ 166 int prot, int flags, int fd, long pos); } ommap 16772 NOARGS { int sys_ovadvise(int anom); } vadvise 16873 NOARGS { int sys_munmap(caddr_t addr, size_t len); } 16974 NOARGS { int sys_mprotect(caddr_t addr, size_t len, \ 170 int prot); } 17175 NOARGS { int sys_madvise(caddr_t addr, size_t len, \ 172 int behav); } 17376 OBSOL vhangup 17477 OBSOL vlimit 17578 NOARGS { int sys_mincore(caddr_t addr, size_t len, char *vec); } 17679 NOARGS { int sys_getgroups(u_int gidsetsize, gid_t *gidset); } 17780 NOARGS { int sys_setgroups(u_int gidsetsize, gid_t *gidset); } 17881 NOARGS { int sys_getpgrp(void); } 17982 NOARGS { int sys_setpgid(int pid, int pgid); } 18083 NOARGS { int sys_setitimer(u_int which, \ 181 struct itimerval *itv, struct itimerval *oitv); } 18284 NOARGS { int compat_43_sys_wait(void); } owait 18385 NOARGS { int compat_12_sys_swapon(char *name); } 18486 NOARGS { int sys_getitimer(u_int which, \ 185 struct itimerval *itv); } 18687 NOARGS { int compat_43_sys_gethostname(char *hostname, \ 187 u_int len); } ogethostname 18888 NOARGS { int compat_43_sys_sethostname(char *hostname, \ 189 u_int len); } osethostname 19089 NOARGS { int compat_43_sys_getdtablesize(void); } \ 191 ogetdtablesize 19290 NOARGS { int sys_dup2(u_int from, u_int to); } 19391 UNIMPL getdopt 19492 NOARGS { int sys_fcntl(int fd, int cmd, void *arg); } 19593 NOARGS { int sys_select(u_int nd, fd_set *in, fd_set *ou, \ 196 fd_set *ex, struct timeval *tv); } 19794 UNIMPL setdopt 19895 NOARGS { int sys_fsync(int fd); } 19996 NOARGS { int sys_setpriority(int which, int who, int prio); } 20097 NOARGS { int sys_socket(int domain, int type, int protocol); } 20198 NOARGS { int sys_connect(int s, caddr_t name, int namelen); } 20299 NOARGS { int compat_43_sys_accept(int s, caddr_t name, \ 203 int *anamelen); } oaccept 204100 NOARGS { int sys_getpriority(int which, int who); } 205101 NOARGS { int compat_43_sys_send(int s, caddr_t buf, int len, \ 206 int flags); } osend 207102 NOARGS { int compat_43_sys_recv(int s, caddr_t buf, int len, \ 208 int flags); } orecv 209103 STD { int freebsd_sys_sigreturn( \ 210 struct freebsd_sigcontext *scp); } 211104 NOARGS { int sys_bind(int s, caddr_t name, int namelen); } 212105 NOARGS { int sys_setsockopt(int s, int level, int name, \ 213 caddr_t val, int valsize); } 214106 NOARGS { int sys_listen(int s, int backlog); } 215107 OBSOL vtimes 216108 NOARGS { int compat_43_sys_sigvec(int signum, \ 217 struct sigvec *nsv, struct sigvec *osv); } osigvec 218109 NOARGS { int compat_43_sys_sigblock(int mask); } osigblock 219110 NOARGS { int compat_43_sys_sigsetmask(int mask); } osigsetmask 220111 NOARGS { int compat_13_sys_sigsuspend(int mask); } 221112 NOARGS { int compat_43_sys_sigstack(struct sigstack *nss, \ 222 struct sigstack *oss); } osigstack 223113 NOARGS { int compat_43_sys_recvmsg(int s, \ 224 struct omsghdr *msg, int flags); } orecvmsg 225114 NOARGS { int compat_43_sys_sendmsg(int s, caddr_t msg, \ 226 int flags); } osendmsg 227#ifdef TRACE 228115 NOARGS { int sys_vtrace(int request, int value); } 229#else 230115 OBSOL vtrace 231#endif 232116 NOARGS { int sys_gettimeofday(struct timeval *tp, \ 233 struct timezone *tzp); } 234117 NOARGS { int sys_getrusage(int who, struct rusage *rusage); } 235118 NOARGS { int sys_getsockopt(int s, int level, int name, \ 236 caddr_t val, int *avalsize); } 237119 OBSOL resuba 238120 NOARGS { int sys_readv(int fd, struct iovec *iovp, \ 239 u_int iovcnt); } 240121 NOARGS { int sys_writev(int fd, struct iovec *iovp, \ 241 u_int iovcnt); } 242122 NOARGS { int sys_settimeofday(struct timeval *tv, \ 243 struct timezone *tzp); } 244123 NOARGS { int sys_fchown(int fd, int uid, int gid); } 245124 NOARGS { int sys_fchmod(int fd, int mode); } 246125 NOARGS { int compat_43_sys_recvfrom(int s, caddr_t buf, \ 247 size_t len, int flags, caddr_t from, \ 248 int *fromlenaddr); } orecvfrom 249126 NOARGS { int sys_setreuid(int ruid, int euid); } 250127 NOARGS { int sys_setregid(int rgid, int egid); } 251128 STD { int freebsd_sys_rename(const char *from, \ 252 const char *to); } 253129 STD { int compat_43_freebsd_sys_truncate(const char *path, \ 254 long length); } otruncate 255130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); } \ 256 oftruncate 257131 NOARGS { int sys_flock(int fd, int how); } 258132 STD { int freebsd_sys_mkfifo(const char *path, int mode); } 259133 NOARGS { int sys_sendto(int s, caddr_t buf, size_t len, \ 260 int flags, caddr_t to, int tolen); } 261134 NOARGS { int sys_shutdown(int s, int how); } 262135 NOARGS { int sys_socketpair(int domain, int type, \ 263 int protocol, int *rsv); } 264136 STD { int freebsd_sys_mkdir(const char *path, int mode); } 265137 STD { int freebsd_sys_rmdir(const char *path); } 266138 NOARGS { int sys_utimes(char *path, struct timeval *tptr); } 267139 OBSOL 4.2 sigreturn 268140 NOARGS { int sys_adjtime(struct timeval *delta, \ 269 struct timeval *olddelta); } 270141 NOARGS { int compat_43_sys_getpeername(int fdes, caddr_t asa, \ 271 int *alen); } ogetpeername 272142 NOARGS { int32_t compat_43_sys_gethostid(void); } ogethostid 273143 NOARGS { int compat_43_sys_sethostid(int32_t hostid); } \ 274 osethostid 275144 NOARGS { int compat_43_sys_getrlimit(u_int which, \ 276 struct orlimit *rlp); } ogetrlimit 277145 NOARGS { int compat_43_sys_setrlimit(u_int which, \ 278 struct orlimit *rlp); } osetrlimit 279146 NOARGS { int compat_43_sys_killpg(int pgid, int signum); } \ 280 okillpg 281147 NOARGS { int sys_setsid(void); } 282148 NOARGS { int sys_quotactl(char *path, int cmd, int uid, \ 283 caddr_t arg); } 284149 NOARGS { int compat_43_sys_quota(void); } oquota 285150 NOARGS { int compat_43_sys_getsockname(int fdec, caddr_t asa, \ 286 int *alen); } ogetsockname 287 288; Syscalls 151-180 inclusive are reserved for vendor-specific 289; system calls. (This includes various calls added for compatibity 290; with other Unix variants.) 291; Some of these calls are now supported by BSD... 292151 UNIMPL 293152 UNIMPL 294153 UNIMPL 295154 UNIMPL 296#if defined(NFS) || defined(NFSSERVER) 297155 NOARGS { int sys_nfssvc(int flag, caddr_t argp); } 298#else 299155 UNIMPL 300#endif 301156 NOARGS { int compat_43_sys_getdirentries(int fd, char *buf, \ 302 u_int count, long *basep); } ogetdirentries 303157 STD { int freebsd_sys_statfs(const char *path, \ 304 struct statfs *buf); } 305158 NOARGS { int sys_fstatfs(int fd, struct statfs *buf); } 306159 UNIMPL 307160 UNIMPL 308#ifdef NFS 309161 STD { int freebsd_sys_getfh(const char *fname, \ 310 fhandle_t *fhp); } 311#else 312161 UNIMPL getfh 313#endif 314162 NOARGS { int compat_09_sys_getdomainname(char *domainname, \ 315 int len); } 316163 NOARGS { int compat_09_sys_setdomainname(char *domainname, \ 317 int len); } 318164 NOARGS { int compat_09_sys_uname(struct outsname *name); } 319165 NOARGS { int sys_sysarch(int op, char *parms); } 320166 STD { int freebsd_sys_rtprio(int function, pid_t pid, \ 321 struct freebsd_rtprio *rtp); } 322167 UNIMPL 323168 UNIMPL 324; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 325#if defined(SYSVSEM) && !defined(alpha) 326169 STD { int freebsd_sys_semsys(int which, int a2, int a3, \ 327 int a4, int a5); } 328#else 329169 UNIMPL 1.0 semsys 330#endif 331; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 332#if defined(SYSVMSG) && !defined(alpha) 333170 STD { int freebsd_sys_msgsys(int which, int a2, int a3, \ 334 int a4, int a5, int a6); } 335#else 336170 UNIMPL 1.0 msgsys 337#endif 338; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 339#if defined(SYSVSHM) && !defined(alpha) 340171 STD { int freebsd_sys_shmsys(int which, int a2, int a3, \ 341 int a4); } 342#else 343171 UNIMPL 1.0 shmsys 344#endif 345172 UNIMPL 346173 UNIMPL 347174 UNIMPL 348175 UNIMPL 349176 STD { int freebsd_ntp_adjtime(struct freebsd_timex *tp); } 350177 UNIMPL 351178 UNIMPL 352179 UNIMPL 353180 UNIMPL 354 355; Syscalls 180-199 are used by/reserved for BSD 356181 NOARGS { int sys_setgid(gid_t gid); } 357182 NOARGS { int sys_setegid(gid_t egid); } 358183 NOARGS { int sys_seteuid(uid_t euid); } 359#ifdef LFS 360184 NOARGS { int sys_lfs_bmapv(fsid_t *fsidp, \ 361 struct block_info *blkiov, int blkcnt); } 362185 NOARGS { int sys_lfs_markv(fsid_t *fsidp, \ 363 struct block_info *blkiov, int blkcnt); } 364186 NOARGS { int sys_lfs_segclean(fsid_t *fsidp, u_long segment); } 365187 NOARGS { int sys_lfs_segwait(fsid_t *fsidp, struct timeval *tv); } 366#else 367184 UNIMPL 368185 UNIMPL 369186 UNIMPL 370187 UNIMPL 371#endif 372188 STD { int freebsd_sys_stat(const char *path, \ 373 struct stat12 *ub); } 374189 NOARGS { int compat_12_sys_fstat(int fd, \ 375 struct stat12 *sb); } 376190 STD { int freebsd_sys_lstat(const char *path, \ 377 struct stat12 *ub); } 378191 STD { int freebsd_sys_pathconf(const char *path, \ 379 int name); } 380192 NOARGS { int sys_fpathconf(int fd, int name); } 381193 UNIMPL 382194 NOARGS { int sys_getrlimit(u_int which, struct rlimit *rlp); } 383195 NOARGS { int sys_setrlimit(u_int which, struct rlimit *rlp); } 384196 NOARGS { int compat_12_sys_getdirentries(int fd, char *buf, \ 385 u_int count, long *basep); } 386197 NOARGS { caddr_t sys_mmap(caddr_t addr, size_t len, int prot, \ 387 int flags, int fd, long pad, off_t pos); } 388198 NOARGS { int sys_nosys(void); } __syscall 389199 NOARGS { off_t sys_lseek(int fd, int pad, off_t offset, \ 390 int whence); } 391200 STD { int freebsd_sys_truncate(const char *path, int pad, \ 392 off_t length); } 393201 NOARGS { int sys_ftruncate(int fd, int pad, off_t length); } 394202 NOARGS { int sys___sysctl(int *name, u_int namelen, \ 395 void *old, size_t *oldlenp, void *new, \ 396 size_t newlen); } 397203 NOARGS { int sys_mlock(caddr_t addr, size_t len); } 398204 NOARGS { int sys_munlock(caddr_t addr, size_t len); } 399#ifdef FREEBSD_BASED_ON_44LITE_R2 400205 STD { int freebsd_sys_undelete(char *path); } 401#else 402205 UNIMPL 403#endif 404206 NOARGS { int sys_futimes(int fd, const struct timeval *tptr); } 405207 NOARGS { pid_t sys_getpgid(pid_t pid); } 406#if 0 407208 NOARGS { int sys_reboot(int opt, char *bootstr); } 408#else 409208 UNIMPL newreboot 410#endif 411209 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \ 412 int timeout); } 413; 414; Syscalls 210-219 are reserved for dynamically loaded syscalls 415; 416210 UNIMPL 417211 UNIMPL 418212 UNIMPL 419213 UNIMPL 420214 UNIMPL 421215 UNIMPL 422216 UNIMPL 423217 UNIMPL 424218 UNIMPL 425219 UNIMPL 426; 427; Syscalls 220-239 are reserved for syscalls imported from NetBSD 428; 429#ifdef SYSVSEM 430220 NOARGS { int compat_14_sys___semctl(int semid, int semnum, \ 431 int cmd, union __semun *arg); } 432221 NOARGS { int sys_semget(key_t key, int nsems, int semflg); } 433222 NOARGS { int sys_semop(int semid, struct sembuf *sops, \ 434 u_int nsops); } 435223 NOARGS { int sys_semconfig(int flag); } 436#else 437220 UNIMPL semctl 438221 UNIMPL semget 439222 UNIMPL semop 440223 UNIMPL semconfig 441#endif 442#ifdef SYSVMSG 443224 NOARGS { int compat_14_sys_msgctl(int msqid, int cmd, \ 444 struct msqid14_ds *buf); } 445225 NOARGS { int sys_msgget(key_t key, int msgflg); } 446226 NOARGS { int sys_msgsnd(int msqid, void *msgp, size_t msgsz, \ 447 int msgflg); } 448227 NOARGS { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \ 449 long msgtyp, int msgflg); } 450#else 451224 UNIMPL msgctl 452225 UNIMPL msgget 453226 UNIMPL msgsnd 454227 UNIMPL msgrcv 455#endif 456#ifdef SYSVSHM 457228 NOARGS { int sys_shmat(int shmid, void *shmaddr, int shmflg); } 458229 NOARGS { int compat_14_sys_shmctl(int shmid, int cmd, \ 459 struct shmid_ds14 *buf); } 460230 NOARGS { int sys_shmdt(void *shmaddr); } 461231 NOARGS { int sys_shmget(key_t key, int size, int shmflg); } 462#else 463228 UNIMPL shmat 464229 UNIMPL shmctl 465230 UNIMPL shmdt 466231 UNIMPL shmget 467#endif 468; 469; XXXX 470232 NOARGS { int sys_clock_gettime(clockid_t clock_id, \ 471 struct timespec *tp); } 472233 NOARGS { int sys_clock_settime(clockid_t clock_id, \ 473 const struct timespec *tp); } 474234 NOARGS { int sys_clock_getres(clockid_t clock_id, \ 475 struct timespec *tp); } 476235 UNIMPL timer_create 477236 UNIMPL timer_delete 478237 UNIMPL timer_settime 479238 UNIMPL timer_gettime 480239 UNIMPL timer_getoverrun 481240 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \ 482 struct timespec *rmtp); } 483241 UNIMPL 484242 UNIMPL 485243 UNIMPL 486244 UNIMPL 487245 UNIMPL 488246 UNIMPL 489247 UNIMPL 490248 UNIMPL 491249 UNIMPL 492; syscall numbers initially used in OpenBSD 493250 UNIMPL minherit 494251 UNIMPL rfork 495252 UNIMPL openbsd_poll 496253 STD { int freebsd_sys_issetugid(void); } 497254 STD { int freebsd_sys_lchown(const char *path, int uid, \ 498 int gid); } 499255 UNIMPL 500256 UNIMPL 501257 UNIMPL 502258 UNIMPL 503259 UNIMPL 504260 UNIMPL 505261 UNIMPL 506262 UNIMPL 507263 UNIMPL 508264 UNIMPL 509265 UNIMPL 510266 UNIMPL 511267 UNIMPL 512268 UNIMPL 513269 UNIMPL 514270 UNIMPL 515271 UNIMPL 516272 NOARGS { int sys_getdents(int fd, char *buf, size_t count); } 517273 UNIMPL 518274 NOARGS { int sys_lchmod(const char *path, mode_t mode); } 519275 NOARGS { int sys_lchown(const char *path, uid_t uid, \ 520 gid_t gid); } netbsd_lchown 521276 NOARGS { int sys_lutimes(const char *path, \ 522 const struct timeval *tptr); } 523277 NOARGS { int sys___msync13(void *addr, size_t len, int flags); } 524278 NOARGS { int sys___stat13(const char *path, struct stat *ub); } 525279 NOARGS { int sys___fstat13(int fd, struct stat *sb); } 526280 NOARGS { int sys___lstat13(const char *path, struct stat *ub);} 527281 UNIMPL 528282 UNIMPL 529283 UNIMPL 530284 UNIMPL 531285 UNIMPL 532286 UNIMPL 533287 UNIMPL 534288 UNIMPL 535289 UNIMPL 536290 UNIMPL 537291 UNIMPL 538292 UNIMPL 539293 UNIMPL 540294 UNIMPL 541295 UNIMPL 542296 UNIMPL 543297 UNIMPL 544298 UNIMPL 545299 UNIMPL 546; syscall numbers for FreeBSD 547300 UNIMPL modnext 548301 UNIMPL modstat 549302 UNIMPL modfnext 550303 UNIMPL modfind 551304 UNIMPL kldload 552305 UNIMPL kldunload 553306 UNIMPL kldfind 554307 UNIMPL kldnext 555308 UNIMPL kldstat 556309 UNIMPL kldfirstmod 557310 UNIMPL getsid 558311 UNIMPL setresuid 559312 UNIMPL setresgid 560313 UNIMPL signanosleep 561314 UNIMPL aio_return 562315 UNIMPL aio_suspend 563316 UNIMPL aio_cancel 564317 UNIMPL aio_error 565318 UNIMPL aio_read 566319 UNIMPL aio_write 567320 UNIMPL lio_listio 568321 UNIMPL yield 569322 UNIMPL thr_sleep 570323 UNIMPL thr_wakeup 571324 UNIMPL mlockall 572325 UNIMPL munlockall 573326 UNIMPL __getcwd 574327 UNIMPL sched_setparam 575328 UNIMPL sched_getparam 576329 UNIMPL sched_setscheduler 577330 UNIMPL sched_getscheduler 578331 UNIMPL sched_yield 579332 UNIMPL sched_get_priority_max 580333 UNIMPL sched_get_priority_min 581334 UNIMPL sched_rr_get_interval 582335 UNIMPL utrace 583336 UNIMPL sendfile 584337 UNIMPL kldsym 585