syscalls.master revision 1.30
1 $NetBSD: syscalls.master,v 1.30 2000/08/08 02:14:48 itojun 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_ntp.h" 37#include "opt_sysv.h" 38#include "opt_compat_43.h" 39 40#include "fs_lfs.h" 41#include "fs_nfs.h" 42 43#include <sys/param.h> 44#include <sys/systm.h> 45#include <sys/signal.h> 46#include <sys/mount.h> 47#include <sys/syscallargs.h> 48 49#include <compat/freebsd/freebsd_syscallargs.h> 50 51#include <machine/freebsd_machdep.h> 52 53; Reserved/unimplemented system calls in the range 0-150 inclusive 54; are reserved for use in future Berkeley releases. 55; Additional system calls implemented in vendor and other 56; redistributions should be placed in the reserved range at the end 57; of the current calls. 58 590 NOARGS { int sys_nosys(void); } syscall 601 NOARGS { int sys_exit(int rval); } 612 NOARGS { int sys_fork(void); } 623 NOARGS { int sys_read(int fd, char *buf, u_int nbyte); } 634 NOARGS { int sys_write(int fd, char *buf, u_int nbyte); } 645 STD { int freebsd_sys_open(const char *path, int flags, \ 65 int mode); } 666 NOARGS { int sys_close(int fd); } 677 NOARGS { int sys_wait4(int pid, int *status, int options, \ 68 struct rusage *rusage); } 698 STD { int compat_43_freebsd_sys_creat(const char *path, \ 70 int mode); } ocreat 719 STD { int freebsd_sys_link(const char *path, \ 72 const char *link); } 7310 STD { int freebsd_sys_unlink(const char *path); } 7411 OBSOL execv 7512 STD { int freebsd_sys_chdir(const char *path); } 7613 NOARGS { int sys_fchdir(int fd); } 7714 STD { int freebsd_sys_mknod(const char *path, int mode, \ 78 int dev); } 7915 STD { int freebsd_sys_chmod(const char *path, int mode); } 8016 STD { int freebsd_sys_chown(const char *path, int uid, \ 81 int gid); } 8217 NOARGS { int sys_obreak(char *nsize); } break 8318 NOARGS { int sys_getfsstat(struct statfs *buf, long bufsize, \ 84 int flags); } 8519 NOARGS { long compat_43_sys_lseek(int fd, long offset, \ 86 int whence); } olseek 8720 NOARGS { pid_t sys_getpid(void); } 8821 STD { int freebsd_sys_mount(int type, const char *path, \ 89 int flags, caddr_t data); } 9022 STD { int freebsd_sys_unmount(const char *path, \ 91 int flags); } 9223 NOARGS { int sys_setuid(uid_t uid); } 9324 NOARGS { uid_t sys_getuid(void); } 9425 NOARGS { uid_t sys_geteuid(void); } 9526 STD { int freebsd_sys_ptrace(int req, pid_t pid, \ 96 caddr_t addr, int data); } 9727 NOARGS { int sys_recvmsg(int s, struct msghdr *msg, \ 98 int flags); } 9928 NOARGS { int sys_sendmsg(int s, caddr_t msg, int flags); } 10029 NOARGS { int sys_recvfrom(int s, caddr_t buf, size_t len, \ 101 int flags, caddr_t from, int *fromlenaddr); } 10230 NOARGS { int sys_accept(int s, caddr_t name, int *anamelen); } 10331 NOARGS { int sys_getpeername(int fdes, caddr_t asa, \ 104 int *alen); } 10532 NOARGS { int sys_getsockname(int fdes, caddr_t asa, \ 106 int *alen); } 10733 STD { int freebsd_sys_access(const char *path, int flags); } 10834 STD { int freebsd_sys_chflags(const char *path, \ 109 int flags); } 11035 NOARGS { int sys_fchflags(int fd, int flags); } 11136 NOARGS { int sys_sync(void); } 11237 NOARGS { int sys_kill(int pid, int signum); } 11338 STD { int compat_43_freebsd_sys_stat(const char *path, \ 114 struct stat43 *ub); } stat43 11539 NOARGS { pid_t sys_getppid(void); } 11640 STD { int compat_43_freebsd_sys_lstat(const char *path, \ 117 struct stat43 *ub); } lstat43 11841 NOARGS { int sys_dup(u_int fd); } 11942 NOARGS { int sys_pipe(void); } 12043 NOARGS { gid_t sys_getegid(void); } 12144 NOARGS { int sys_profil(caddr_t samples, u_int size, \ 122 u_int offset, u_int scale); } 123#ifdef KTRACE 12445 NOARGS { int sys_ktrace(char *fname, int ops, int facs, \ 125 int pid); } 126#else 12745 UNIMPL ktrace 128#endif 12946 NOARGS { int compat_13_sys_sigaction(int signum, \ 130 const struct sigaction13 *nsa, \ 131 struct sigaction13 *osa); } 13247 NOARGS { gid_t sys_getgid(void); } 13348 NOARGS { int compat_13_sys_sigprocmask(int how, \ 134 int mask); } 13549 NOARGS { int sys___getlogin(char *namebuf, u_int namelen); } 13650 NOARGS { int sys_setlogin(char *namebuf); } 13751 NOARGS { int sys_acct(char *path); } 13852 NOARGS { int compat_13_sys_sigpending(void); } 13953 NOARGS { int compat_13_sys_sigaltstack( \ 140 const struct sigaltstack13 *nss, \ 141 struct sigaltstack13 *oss); } 14254 STD { int freebsd_sys_ioctl(int fd, u_long com, \ 143 caddr_t data); } 14455 NOARGS { int sys_reboot(int opt); } oreboot 14556 STD { int freebsd_sys_revoke(const char *path); } 14657 STD { int freebsd_sys_symlink(const char *path, \ 147 const char *link); } 14858 STD { int freebsd_sys_readlink(const char *path, \ 149 char *buf, int count); } 15059 STD { int freebsd_sys_execve(const char *path, \ 151 char **argp, char **envp); } 15260 NOARGS { int sys_umask(int newmask); } 15361 STD { int freebsd_sys_chroot(const char *path); } 15462 NOARGS { int compat_43_sys_fstat(int fd, struct stat43 *sb); } \ 155 fstat43 15663 NOARGS { int compat_43_sys_getkerninfo(int op, char *where, \ 157 int *size, int arg); } ogetkerninfo 15864 NOARGS { int compat_43_sys_getpagesize(void); } ogetpagesize 15965 STD { int freebsd_sys_msync(caddr_t addr, size_t len, \ 160 int flags); } 16166 NOARGS { int sys_vfork(void); } 16267 OBSOL vread 16368 OBSOL vwrite 16469 NOARGS { int sys_sbrk(intptr_t incr); } 16570 NOARGS { int sys_sstk(int incr); } 16671 NOARGS { int compat_43_sys_mmap(caddr_t addr, size_t len, \ 167 int prot, int flags, int fd, long pos); } ommap 16872 NOARGS { int sys_ovadvise(int anom); } vadvise 16973 NOARGS { int sys_munmap(caddr_t addr, size_t len); } 17074 NOARGS { int sys_mprotect(caddr_t addr, size_t len, \ 171 int prot); } 17275 NOARGS { int sys_madvise(caddr_t addr, size_t len, \ 173 int behav); } 17476 OBSOL vhangup 17577 OBSOL vlimit 17678 NOARGS { int sys_mincore(caddr_t addr, size_t len, char *vec); } 17779 NOARGS { int sys_getgroups(u_int gidsetsize, gid_t *gidset); } 17880 NOARGS { int sys_setgroups(u_int gidsetsize, gid_t *gidset); } 17981 NOARGS { int sys_getpgrp(void); } 18082 NOARGS { int sys_setpgid(int pid, int pgid); } 18183 NOARGS { int sys_setitimer(u_int which, \ 182 struct itimerval *itv, struct itimerval *oitv); } 18384 NOARGS { int compat_43_sys_wait(void); } owait 18485 NOARGS { int compat_12_sys_swapon(char *name); } 18586 NOARGS { int sys_getitimer(u_int which, \ 186 struct itimerval *itv); } 18787 NOARGS { int compat_43_sys_gethostname(char *hostname, \ 188 u_int len); } ogethostname 18988 NOARGS { int compat_43_sys_sethostname(char *hostname, \ 190 u_int len); } osethostname 19189 NOARGS { int compat_43_sys_getdtablesize(void); } \ 192 ogetdtablesize 19390 NOARGS { int sys_dup2(u_int from, u_int to); } 19491 UNIMPL getdopt 19592 NOARGS { int sys_fcntl(int fd, int cmd, void *arg); } 19693 NOARGS { int sys_select(u_int nd, fd_set *in, fd_set *ou, \ 197 fd_set *ex, struct timeval *tv); } 19894 UNIMPL setdopt 19995 NOARGS { int sys_fsync(int fd); } 20096 NOARGS { int sys_setpriority(int which, int who, int prio); } 20197 NOARGS { int sys_socket(int domain, int type, int protocol); } 20298 NOARGS { int sys_connect(int s, caddr_t name, int namelen); } 20399 NOARGS { int compat_43_sys_accept(int s, caddr_t name, \ 204 int *anamelen); } oaccept 205100 NOARGS { int sys_getpriority(int which, int who); } 206101 NOARGS { int compat_43_sys_send(int s, caddr_t buf, int len, \ 207 int flags); } osend 208102 NOARGS { int compat_43_sys_recv(int s, caddr_t buf, int len, \ 209 int flags); } orecv 210103 STD { int freebsd_sys_sigreturn( \ 211 struct freebsd_sigcontext *scp); } 212104 NOARGS { int sys_bind(int s, caddr_t name, int namelen); } 213105 NOARGS { int sys_setsockopt(int s, int level, int name, \ 214 caddr_t val, int valsize); } 215106 NOARGS { int sys_listen(int s, int backlog); } 216107 OBSOL vtimes 217108 NOARGS { int compat_43_sys_sigvec(int signum, \ 218 struct sigvec *nsv, struct sigvec *osv); } osigvec 219109 NOARGS { int compat_43_sys_sigblock(int mask); } osigblock 220110 NOARGS { int compat_43_sys_sigsetmask(int mask); } osigsetmask 221111 NOARGS { int compat_13_sys_sigsuspend(int mask); } 222112 NOARGS { int compat_43_sys_sigstack(struct sigstack *nss, \ 223 struct sigstack *oss); } osigstack 224113 NOARGS { int compat_43_sys_recvmsg(int s, \ 225 struct omsghdr *msg, int flags); } orecvmsg 226114 NOARGS { int compat_43_sys_sendmsg(int s, caddr_t msg, \ 227 int flags); } osendmsg 228#ifdef TRACE 229115 NOARGS { int sys_vtrace(int request, int value); } 230#else 231115 OBSOL vtrace 232#endif 233116 NOARGS { int sys_gettimeofday(struct timeval *tp, \ 234 struct timezone *tzp); } 235117 NOARGS { int sys_getrusage(int who, struct rusage *rusage); } 236118 NOARGS { int sys_getsockopt(int s, int level, int name, \ 237 caddr_t val, int *avalsize); } 238119 OBSOL resuba 239120 NOARGS { int sys_readv(int fd, struct iovec *iovp, \ 240 u_int iovcnt); } 241121 NOARGS { int sys_writev(int fd, struct iovec *iovp, \ 242 u_int iovcnt); } 243122 NOARGS { int sys_settimeofday(struct timeval *tv, \ 244 struct timezone *tzp); } 245123 NOARGS { int sys_fchown(int fd, int uid, int gid); } 246124 NOARGS { int sys_fchmod(int fd, int mode); } 247125 NOARGS { int compat_43_sys_recvfrom(int s, caddr_t buf, \ 248 size_t len, int flags, caddr_t from, \ 249 int *fromlenaddr); } orecvfrom 250126 NOARGS { int sys_setreuid(int ruid, int euid); } 251127 NOARGS { int sys_setregid(int rgid, int egid); } 252128 STD { int freebsd_sys_rename(const char *from, \ 253 const char *to); } 254129 STD { int compat_43_freebsd_sys_truncate(const char *path, \ 255 long length); } otruncate 256130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); } \ 257 oftruncate 258131 NOARGS { int sys_flock(int fd, int how); } 259132 STD { int freebsd_sys_mkfifo(const char *path, int mode); } 260133 NOARGS { int sys_sendto(int s, caddr_t buf, size_t len, \ 261 int flags, caddr_t to, int tolen); } 262134 NOARGS { int sys_shutdown(int s, int how); } 263135 NOARGS { int sys_socketpair(int domain, int type, \ 264 int protocol, int *rsv); } 265136 STD { int freebsd_sys_mkdir(const char *path, int mode); } 266137 STD { int freebsd_sys_rmdir(const char *path); } 267138 NOARGS { int sys_utimes(char *path, struct timeval *tptr); } 268139 OBSOL 4.2 sigreturn 269140 NOARGS { int sys_adjtime(struct timeval *delta, \ 270 struct timeval *olddelta); } 271141 NOARGS { int compat_43_sys_getpeername(int fdes, caddr_t asa, \ 272 int *alen); } ogetpeername 273142 NOARGS { int32_t compat_43_sys_gethostid(void); } ogethostid 274143 NOARGS { int compat_43_sys_sethostid(int32_t hostid); } \ 275 osethostid 276144 NOARGS { int compat_43_sys_getrlimit(u_int which, \ 277 struct orlimit *rlp); } ogetrlimit 278145 NOARGS { int compat_43_sys_setrlimit(u_int which, \ 279 struct orlimit *rlp); } osetrlimit 280146 NOARGS { int compat_43_sys_killpg(int pgid, int signum); } \ 281 okillpg 282147 NOARGS { int sys_setsid(void); } 283148 NOARGS { int sys_quotactl(char *path, int cmd, int uid, \ 284 caddr_t arg); } 285149 NOARGS { int compat_43_sys_quota(void); } oquota 286150 NOARGS { int compat_43_sys_getsockname(int fdec, caddr_t asa, \ 287 int *alen); } ogetsockname 288 289; Syscalls 151-180 inclusive are reserved for vendor-specific 290; system calls. (This includes various calls added for compatibity 291; with other Unix variants.) 292; Some of these calls are now supported by BSD... 293151 UNIMPL sem_lock 294152 UNIMPL sem_wakeup 295153 UNIMPL asyncdaemon 296154 UNIMPL 297#if defined(NFS) || defined(NFSSERVER) 298155 NOARGS { int sys_nfssvc(int flag, caddr_t argp); } 299#else 300155 UNIMPL nfssvc 301#endif 302156 NOARGS { int compat_43_sys_getdirentries(int fd, char *buf, \ 303 u_int count, long *basep); } ogetdirentries 304157 STD { int freebsd_sys_statfs(const char *path, \ 305 struct statfs *buf); } 306158 NOARGS { int sys_fstatfs(int fd, struct statfs *buf); } 307159 UNIMPL 308160 UNIMPL 309#ifdef NFS 310161 STD { int freebsd_sys_getfh(const char *fname, \ 311 fhandle_t *fhp); } 312#else 313161 UNIMPL getfh 314#endif 315162 NOARGS { int compat_09_sys_getdomainname(char *domainname, \ 316 int len); } 317163 NOARGS { int compat_09_sys_setdomainname(char *domainname, \ 318 int len); } 319164 NOARGS { int compat_09_sys_uname(struct outsname *name); } 320165 NOARGS { int sys_sysarch(int op, char *parms); } 321166 STD { int freebsd_sys_rtprio(int function, pid_t pid, \ 322 struct freebsd_rtprio *rtp); } 323167 UNIMPL 324168 UNIMPL 325; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 326#if defined(SYSVSEM) && !defined(alpha) 327169 STD { int freebsd_sys_semsys(int which, int a2, int a3, \ 328 int a4, int a5); } 329#else 330169 UNIMPL 1.0 semsys 331#endif 332; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 333#if defined(SYSVMSG) && !defined(alpha) 334170 STD { int freebsd_sys_msgsys(int which, int a2, int a3, \ 335 int a4, int a5, int a6); } 336#else 337170 UNIMPL 1.0 msgsys 338#endif 339; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 340#if defined(SYSVSHM) && !defined(alpha) 341171 STD { int freebsd_sys_shmsys(int which, int a2, int a3, \ 342 int a4); } 343#else 344171 UNIMPL 1.0 shmsys 345#endif 346172 UNIMPL 347173 NOARGS { ssize_t sys_pread(int fd, void *buf, \ 348 size_t nbyte, int pad, off_t offset); } 349174 NOARGS { ssize_t sys_pwrite(int fd, const void *buf, \ 350 size_t nbyte, int pad, off_t offset); } 351175 UNIMPL 352#ifdef NTP 353176 STD { int freebsd_ntp_adjtime(struct freebsd_timex *tp); } 354#else 355176 EXCL ntp_adjtime 356#endif 357177 UNIMPL sfork 358178 UNIMPL getdescriptor 359179 UNIMPL setdescriptor 360180 UNIMPL 361 362; Syscalls 180-199 are used by/reserved for BSD 363181 NOARGS { int sys_setgid(gid_t gid); } 364182 NOARGS { int sys_setegid(gid_t egid); } 365183 NOARGS { int sys_seteuid(uid_t euid); } 366#ifdef LFS 367184 NOARGS { int sys_lfs_bmapv(fsid_t *fsidp, \ 368 struct block_info *blkiov, int blkcnt); } 369185 NOARGS { int sys_lfs_markv(fsid_t *fsidp, \ 370 struct block_info *blkiov, int blkcnt); } 371186 NOARGS { int sys_lfs_segclean(fsid_t *fsidp, u_long segment); } 372187 NOARGS { int sys_lfs_segwait(fsid_t *fsidp, struct timeval *tv); } 373#else 374184 UNIMPL 375185 UNIMPL 376186 UNIMPL 377187 UNIMPL 378#endif 379188 STD { int freebsd_sys_stat(const char *path, \ 380 struct stat12 *ub); } 381189 NOARGS { int compat_12_sys_fstat(int fd, \ 382 struct stat12 *sb); } 383190 STD { int freebsd_sys_lstat(const char *path, \ 384 struct stat12 *ub); } 385191 STD { int freebsd_sys_pathconf(const char *path, \ 386 int name); } 387192 NOARGS { int sys_fpathconf(int fd, int name); } 388193 UNIMPL 389194 NOARGS { int sys_getrlimit(u_int which, struct rlimit *rlp); } 390195 NOARGS { int sys_setrlimit(u_int which, struct rlimit *rlp); } 391196 NOARGS { int compat_12_sys_getdirentries(int fd, char *buf, \ 392 u_int count, long *basep); } 393197 NOARGS { caddr_t sys_mmap(caddr_t addr, size_t len, int prot, \ 394 int flags, int fd, long pad, off_t pos); } 395198 NOARGS { int sys_nosys(void); } __syscall 396199 NOARGS { off_t sys_lseek(int fd, int pad, off_t offset, \ 397 int whence); } 398200 STD { int freebsd_sys_truncate(const char *path, int pad, \ 399 off_t length); } 400201 NOARGS { int sys_ftruncate(int fd, int pad, off_t length); } 401202 NOARGS { int sys___sysctl(int *name, u_int namelen, \ 402 void *old, size_t *oldlenp, void *new, \ 403 size_t newlen); } 404203 NOARGS { int sys_mlock(caddr_t addr, size_t len); } 405204 NOARGS { int sys_munlock(caddr_t addr, size_t len); } 406#ifdef FREEBSD_BASED_ON_44LITE_R2 407205 STD { int freebsd_sys_undelete(char *path); } 408#else 409205 UNIMPL undelete 410#endif 411206 NOARGS { int sys_futimes(int fd, const struct timeval *tptr); } 412207 NOARGS { pid_t sys_getpgid(pid_t pid); } 413#if 0 414208 NOARGS { int sys_reboot(int opt, char *bootstr); } 415#else 416208 UNIMPL newreboot 417#endif 418209 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \ 419 int timeout); } 420; 421; Syscalls 210-219 are reserved for dynamically loaded syscalls 422; 423210 UNIMPL 424211 UNIMPL 425212 UNIMPL 426213 UNIMPL 427214 UNIMPL 428215 UNIMPL 429216 UNIMPL 430217 UNIMPL 431218 UNIMPL 432219 UNIMPL 433; 434; Syscalls 220-239 are reserved for syscalls imported from NetBSD 435; 436#ifdef SYSVSEM 437220 NOARGS { int compat_14_sys___semctl(int semid, int semnum, \ 438 int cmd, union __semun *arg); } 439221 NOARGS { int sys_semget(key_t key, int nsems, int semflg); } 440222 NOARGS { int sys_semop(int semid, struct sembuf *sops, \ 441 u_int nsops); } 442223 NOARGS { int sys_semconfig(int flag); } 443#else 444220 UNIMPL semctl 445221 UNIMPL semget 446222 UNIMPL semop 447223 UNIMPL semconfig 448#endif 449#ifdef SYSVMSG 450224 NOARGS { int compat_14_sys_msgctl(int msqid, int cmd, \ 451 struct msqid14_ds *buf); } 452225 NOARGS { int sys_msgget(key_t key, int msgflg); } 453226 NOARGS { int sys_msgsnd(int msqid, void *msgp, size_t msgsz, \ 454 int msgflg); } 455227 NOARGS { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \ 456 long msgtyp, int msgflg); } 457#else 458224 UNIMPL msgctl 459225 UNIMPL msgget 460226 UNIMPL msgsnd 461227 UNIMPL msgrcv 462#endif 463#ifdef SYSVSHM 464228 NOARGS { int sys_shmat(int shmid, void *shmaddr, int shmflg); } 465229 NOARGS { int compat_14_sys_shmctl(int shmid, int cmd, \ 466 struct shmid_ds14 *buf); } 467230 NOARGS { int sys_shmdt(void *shmaddr); } 468231 NOARGS { int sys_shmget(key_t key, int size, int shmflg); } 469#else 470228 UNIMPL shmat 471229 UNIMPL shmctl 472230 UNIMPL shmdt 473231 UNIMPL shmget 474#endif 475; 476; XXXX 477232 NOARGS { int sys_clock_gettime(clockid_t clock_id, \ 478 struct timespec *tp); } 479233 NOARGS { int sys_clock_settime(clockid_t clock_id, \ 480 const struct timespec *tp); } 481234 NOARGS { int sys_clock_getres(clockid_t clock_id, \ 482 struct timespec *tp); } 483235 UNIMPL timer_create 484236 UNIMPL timer_delete 485237 UNIMPL timer_settime 486238 UNIMPL timer_gettime 487239 UNIMPL timer_getoverrun 488240 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \ 489 struct timespec *rmtp); } 490241 UNIMPL 491242 UNIMPL 492243 UNIMPL 493244 UNIMPL 494245 UNIMPL 495246 UNIMPL 496247 UNIMPL 497248 UNIMPL 498249 UNIMPL 499; syscall numbers initially used in OpenBSD 500250 UNIMPL minherit 501251 UNIMPL rfork 502252 UNIMPL openbsd_poll 503253 NOARGS { int sys_issetugid(void); } 504254 STD { int freebsd_sys_lchown(const char *path, int uid, \ 505 int gid); } 506255 UNIMPL 507256 UNIMPL 508257 UNIMPL 509258 UNIMPL 510259 UNIMPL 511260 UNIMPL 512261 UNIMPL 513262 UNIMPL 514263 UNIMPL 515264 UNIMPL 516265 UNIMPL 517266 UNIMPL 518267 UNIMPL 519268 UNIMPL 520269 UNIMPL 521270 UNIMPL 522271 UNIMPL 523272 NOARGS { int sys_getdents(int fd, char *buf, size_t count); } 524273 UNIMPL 525274 NOARGS { int sys_lchmod(const char *path, mode_t mode); } 526275 NOARGS { int sys_lchown(const char *path, uid_t uid, \ 527 gid_t gid); } netbsd_lchown 528276 NOARGS { int sys_lutimes(const char *path, \ 529 const struct timeval *tptr); } 530277 NOARGS { int sys___msync13(void *addr, size_t len, int flags); } 531278 NOARGS { int sys___stat13(const char *path, struct stat *ub); } 532279 NOARGS { int sys___fstat13(int fd, struct stat *sb); } 533280 NOARGS { int sys___lstat13(const char *path, struct stat *ub);} 534281 UNIMPL 535282 UNIMPL 536283 UNIMPL 537284 UNIMPL 538285 UNIMPL 539286 UNIMPL 540287 UNIMPL 541288 UNIMPL 542289 UNIMPL 543290 UNIMPL 544291 UNIMPL 545292 UNIMPL 546293 UNIMPL 547294 UNIMPL 548295 UNIMPL 549296 UNIMPL 550297 UNIMPL fhstatfs 551298 UNIMPL fhopen 552299 UNIMPL fhstat 553; syscall numbers for FreeBSD 554300 UNIMPL modnext 555301 UNIMPL modstat 556302 UNIMPL modfnext 557303 UNIMPL modfind 558304 UNIMPL kldload 559305 UNIMPL kldunload 560306 UNIMPL kldfind 561307 UNIMPL kldnext 562308 UNIMPL kldstat 563309 UNIMPL kldfirstmod 564310 NOARGS { pid_t sys_getsid(pid_t pid); } 565311 UNIMPL setresuid 566312 UNIMPL setresgid 567313 UNIMPL signanosleep 568314 UNIMPL aio_return 569315 UNIMPL aio_suspend 570316 UNIMPL aio_cancel 571317 UNIMPL aio_error 572318 UNIMPL aio_read 573319 UNIMPL aio_write 574320 UNIMPL lio_listio 575321 UNIMPL yield 576322 UNIMPL thr_sleep 577323 UNIMPL thr_wakeup 578324 NOARGS { int sys_mlockall(int flags); } 579325 NOARGS { int sys_munlockall(void); } 580326 NOARGS { int sys___getcwd(char *bufp, size_t length); } 581327 UNIMPL sched_setparam 582328 UNIMPL sched_getparam 583329 UNIMPL sched_setscheduler 584330 UNIMPL sched_getscheduler 585331 UNIMPL sched_yield 586332 UNIMPL sched_get_priority_max 587333 UNIMPL sched_get_priority_min 588334 UNIMPL sched_rr_get_interval 589335 UNIMPL utrace 590336 UNIMPL sendfile 591337 UNIMPL kldsym 592338 UNIMPL jail 593339 UNIMPL pioctl 594340 NOARGS { int sys___sigprocmask14(int how, \ 595 const sigset_t *set, \ 596 sigset_t *oset); } 597341 NOARGS { int sys___sigsuspend14(const sigset_t *set); } 598342 STD { int freebsd_sys_sigaction4(int signum, \ 599 const struct freebsd_sigaction4 *nsa, \ 600 struct freebsd_sigaction4 *osa); } 601343 NOARGS { int sys___sigpending14(const sigset_t *set); } 602344 UNIMPL 4.0 sigreturn 603345 UNIMPL sigtimedwait 604346 UNIMPL sigwaitinfo 605347 UNIMPL __acl_get_file 606348 UNIMPL __acl_set_file 607349 UNIMPL __acl_get_fd 608350 UNIMPL __acl_set_fd 609351 UNIMPL __acl_delete_file 610352 UNIMPL __acl_delete_fd 611353 UNIMPL __acl_aclcheck_file 612354 UNIMPL __acl_aclcheck_fd 613355 UNIMPL extattrctl 614356 UNIMPL extattr_set_file 615357 UNIMPL extattr_get_file 616358 UNIMPL extattr_delete_file 617359 UNIMPL aio_waitcomplete 618360 UNIMPL getresuid 619361 UNIMPL getresgid 620362 UNIMPL kqueue 621363 UNIMPL kevent 622