syscalls.master (119193) | syscalls.master (119331) |
---|---|
1 $FreeBSD: head/sys/compat/freebsd32/syscalls.master 119193 2003-08-21 03:48:05Z peter $ | 1 $FreeBSD: head/sys/compat/freebsd32/syscalls.master 119331 2003-08-22 22:51:48Z peter $ |
2; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 3; from: src/sys/kern/syscalls.master 1.107 4; 5; System call name/number master file. 6; Processed to created init_sysent.c, syscalls.c and syscall.h. 7 8; Columns: number [M]type nargs namespc name alt{name,tag,rtyp}/comments 9; number system call number, must be in order --- 22 unchanged lines hidden (view full) --- 32; so the SYSCALL_MODULE macro works 33 34; #ifdef's, etc. may be included, and are copied to the output files. 35 36#include <sys/param.h> 37#include <sys/sysent.h> 38#include <sys/sysproto.h> 39#include <sys/mount.h> | 2; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 3; from: src/sys/kern/syscalls.master 1.107 4; 5; System call name/number master file. 6; Processed to created init_sysent.c, syscalls.c and syscall.h. 7 8; Columns: number [M]type nargs namespc name alt{name,tag,rtyp}/comments 9; number system call number, must be in order --- 22 unchanged lines hidden (view full) --- 32; so the SYSCALL_MODULE macro works 33 34; #ifdef's, etc. may be included, and are copied to the output files. 35 36#include <sys/param.h> 37#include <sys/sysent.h> 38#include <sys/sysproto.h> 39#include <sys/mount.h> |
40#include <amd64/ia32/ia32.h> 41#include <amd64/ia32/ia32_proto.h> | 40#include <compat/freebsd32/freebsd32.h> 41#include <compat/freebsd32/freebsd32_proto.h> |
42 43; Reserved/unimplemented system calls in the range 0-150 inclusive 44; are reserved for use in future Berkeley releases. 45; Additional system calls implemented in vendor and other 46; redistributions should be placed in the reserved range at the end 47; of the current calls. 48 490 MNOPROTO NOHIDE { int nosys(void); } syscall nosys_args int 501 MNOPROTO NOHIDE { void sys_exit(int rval); } exit sys_exit_args void 512 MNOPROTO POSIX { int fork(void); } 523 MNOPROTO POSIX { ssize_t read(int fd, void *buf, size_t nbyte); } 534 MNOPROTO POSIX { ssize_t write(int fd, const void *buf, size_t nbyte); } | 42 43; Reserved/unimplemented system calls in the range 0-150 inclusive 44; are reserved for use in future Berkeley releases. 45; Additional system calls implemented in vendor and other 46; redistributions should be placed in the reserved range at the end 47; of the current calls. 48 490 MNOPROTO NOHIDE { int nosys(void); } syscall nosys_args int 501 MNOPROTO NOHIDE { void sys_exit(int rval); } exit sys_exit_args void 512 MNOPROTO POSIX { int fork(void); } 523 MNOPROTO POSIX { ssize_t read(int fd, void *buf, size_t nbyte); } 534 MNOPROTO POSIX { ssize_t write(int fd, const void *buf, size_t nbyte); } |
545 STD POSIX { int ia32_open(char *path, int flags, int mode); } | 545 STD POSIX { int freebsd32_open(char *path, int flags, int mode); } |
55; XXX should be { int open(const char *path, int flags, ...); } 56; but we're not ready for `const' or varargs. 57; XXX man page says `mode_t mode'. 586 MNOPROTO POSIX { int close(int fd); } | 55; XXX should be { int open(const char *path, int flags, ...); } 56; but we're not ready for `const' or varargs. 57; XXX man page says `mode_t mode'. 586 MNOPROTO POSIX { int close(int fd); } |
597 MSTD BSD { int ia32_wait4(int pid, int *status, int options, \ | 597 MSTD BSD { int freebsd32_wait4(int pid, int *status, int options, \ |
60 struct rusage32 *rusage); } 618 OBSOL BSD old creat 629 NOPROTO POSIX { int link(char *path, char *link); } 6310 NOPROTO POSIX { int unlink(char *path); } 6411 OBSOL NOHIDE execv 6512 NOPROTO POSIX { int chdir(char *path); } 6613 NOPROTO BSD { int fchdir(int fd); } 6714 NOPROTO POSIX { int mknod(char *path, int mode, int dev); } 6815 NOPROTO POSIX { int chmod(char *path, int mode); } 6916 NOPROTO POSIX { int chown(char *path, int uid, int gid); } 7017 MNOPROTO BSD { int obreak(char *nsize); } break obreak_args int | 60 struct rusage32 *rusage); } 618 OBSOL BSD old creat 629 NOPROTO POSIX { int link(char *path, char *link); } 6310 NOPROTO POSIX { int unlink(char *path); } 6411 OBSOL NOHIDE execv 6512 NOPROTO POSIX { int chdir(char *path); } 6613 NOPROTO BSD { int fchdir(int fd); } 6714 NOPROTO POSIX { int mknod(char *path, int mode, int dev); } 6815 NOPROTO POSIX { int chmod(char *path, int mode); } 6916 NOPROTO POSIX { int chown(char *path, int uid, int gid); } 7017 MNOPROTO BSD { int obreak(char *nsize); } break obreak_args int |
7118 STD BSD { int ia32_getfsstat(struct statfs32 *buf, \ | 7118 STD BSD { int freebsd32_getfsstat(struct statfs32 *buf, \ |
72 long bufsize, int flags); } 7319 OBSOL POSIX olseek 7420 MNOPROTO POSIX { pid_t getpid(void); } 7521 NOPROTO BSD { int mount(char *type, char *path, int flags, \ 76 caddr_t data); } 77; XXX `path' should have type `const char *' but we're not ready for that. 7822 NOPROTO BSD { int unmount(char *path, int flags); } 7923 MNOPROTO POSIX { int setuid(uid_t uid); } 8024 MNOPROTO POSIX { uid_t getuid(void); } 8125 MNOPROTO POSIX { uid_t geteuid(void); } 8226 NOPROTO BSD { int ptrace(int req, pid_t pid, caddr_t addr, \ 83 int data); } 8427 UNIMPL BSD recvmsg 8528 MNOPROTO BSD { int sendmsg(int s, caddr_t msg, int flags); } 8629 MNOPROTO BSD { int recvfrom(int s, caddr_t buf, size_t len, \ 87 int flags, caddr_t from, int *fromlenaddr); } 8830 MNOPROTO BSD { int accept(int s, caddr_t name, int *anamelen); } 8931 MNOPROTO BSD { int getpeername(int fdes, caddr_t asa, int *alen); } 9032 MNOPROTO BSD { int getsockname(int fdes, caddr_t asa, int *alen); } | 72 long bufsize, int flags); } 7319 OBSOL POSIX olseek 7420 MNOPROTO POSIX { pid_t getpid(void); } 7521 NOPROTO BSD { int mount(char *type, char *path, int flags, \ 76 caddr_t data); } 77; XXX `path' should have type `const char *' but we're not ready for that. 7822 NOPROTO BSD { int unmount(char *path, int flags); } 7923 MNOPROTO POSIX { int setuid(uid_t uid); } 8024 MNOPROTO POSIX { uid_t getuid(void); } 8125 MNOPROTO POSIX { uid_t geteuid(void); } 8226 NOPROTO BSD { int ptrace(int req, pid_t pid, caddr_t addr, \ 83 int data); } 8427 UNIMPL BSD recvmsg 8528 MNOPROTO BSD { int sendmsg(int s, caddr_t msg, int flags); } 8629 MNOPROTO BSD { int recvfrom(int s, caddr_t buf, size_t len, \ 87 int flags, caddr_t from, int *fromlenaddr); } 8830 MNOPROTO BSD { int accept(int s, caddr_t name, int *anamelen); } 8931 MNOPROTO BSD { int getpeername(int fdes, caddr_t asa, int *alen); } 9032 MNOPROTO BSD { int getsockname(int fdes, caddr_t asa, int *alen); } |
9133 STD POSIX { int ia32_access(char *path, int flags); } 9234 STD BSD { int ia32_chflags(char *path, int flags); } | 9133 STD POSIX { int freebsd32_access(char *path, int flags); } 9234 STD BSD { int freebsd32_chflags(char *path, int flags); } |
9335 NOPROTO BSD { int fchflags(int fd, int flags); } 9436 NOPROTO BSD { int sync(void); } 9537 MNOPROTO POSIX { int kill(int pid, int signum); } 9638 UNIMPL POSIX ostat 9739 MNOPROTO POSIX { pid_t getppid(void); } 9840 UNIMPL POSIX olstat 9941 NOPROTO POSIX { int dup(u_int fd); } 10042 NOPROTO POSIX { int pipe(void); } --- 4 unchanged lines hidden (view full) --- 105 int pid); } 10646 UNIMPL POSIX osigaction 10747 MNOPROTO POSIX { gid_t getgid(void); } 10848 UNIMPL POSIX osigprocmask 10949 MNOPROTO BSD { int getlogin(char *namebuf, u_int namelen); } 11050 MNOPROTO BSD { int setlogin(char *namebuf); } 11151 MNOPROTO BSD { int acct(char *path); } 11252 MNOPROTO POSIX { int sigpending(void); } | 9335 NOPROTO BSD { int fchflags(int fd, int flags); } 9436 NOPROTO BSD { int sync(void); } 9537 MNOPROTO POSIX { int kill(int pid, int signum); } 9638 UNIMPL POSIX ostat 9739 MNOPROTO POSIX { pid_t getppid(void); } 9840 UNIMPL POSIX olstat 9941 NOPROTO POSIX { int dup(u_int fd); } 10042 NOPROTO POSIX { int pipe(void); } --- 4 unchanged lines hidden (view full) --- 105 int pid); } 10646 UNIMPL POSIX osigaction 10747 MNOPROTO POSIX { gid_t getgid(void); } 10848 UNIMPL POSIX osigprocmask 10949 MNOPROTO BSD { int getlogin(char *namebuf, u_int namelen); } 11050 MNOPROTO BSD { int setlogin(char *namebuf); } 11151 MNOPROTO BSD { int acct(char *path); } 11252 MNOPROTO POSIX { int sigpending(void); } |
11353 STD BSD { int ia32_sigaltstack(struct sigaltstack32 *ss, struct sigaltstack32 *oss); } | 11353 STD BSD { int freebsd32_sigaltstack(struct sigaltstack32 *ss, \ 114 struct sigaltstack32 *oss); } |
11454 MNOPROTO POSIX { int ioctl(int fd, u_long com, caddr_t data); } 11555 MNOPROTO BSD { int reboot(int opt); } 11656 NOPROTO POSIX { int revoke(char *path); } 11757 NOPROTO POSIX { int symlink(char *path, char *link); } 11858 NOPROTO POSIX { int readlink(char *path, char *buf, int count); } | 11554 MNOPROTO POSIX { int ioctl(int fd, u_long com, caddr_t data); } 11655 MNOPROTO BSD { int reboot(int opt); } 11756 NOPROTO POSIX { int revoke(char *path); } 11857 NOPROTO POSIX { int symlink(char *path, char *link); } 11958 NOPROTO POSIX { int readlink(char *path, char *buf, int count); } |
11959 STD POSIX { int ia32_execve(char *fname, u_int32_t *argv, u_int32_t *envv); } | 12059 STD POSIX { int freebsd32_execve(char *fname, u_int32_t *argv, \ 121 u_int32_t *envv); } |
12060 MNOPROTO POSIX { int umask(int newmask); } umask umask_args int 12161 NOPROTO BSD { int chroot(char *path); } 12262 OBSOL POSIX ofstat 12363 OBSOL BSD ogetkerninfo 12464 OBSOL BSD ogetpagesize 12565 OBSOL BSD omsync 12666 OBSOL BSD ovfork 12767 OBSOL NOHIDE vread 12868 OBSOL NOHIDE vwrite 12969 MNOPROTO BSD { int sbrk(int incr); } 13070 MNOPROTO BSD { int sstk(int incr); } 13171 OBSOL BSD ommap 13272 MNOPROTO BSD { int ovadvise(int anom); } vadvise ovadvise_args int 13373 MNOPROTO BSD { int munmap(void *addr, size_t len); } | 12260 MNOPROTO POSIX { int umask(int newmask); } umask umask_args int 12361 NOPROTO BSD { int chroot(char *path); } 12462 OBSOL POSIX ofstat 12563 OBSOL BSD ogetkerninfo 12664 OBSOL BSD ogetpagesize 12765 OBSOL BSD omsync 12866 OBSOL BSD ovfork 12967 OBSOL NOHIDE vread 13068 OBSOL NOHIDE vwrite 13169 MNOPROTO BSD { int sbrk(int incr); } 13270 MNOPROTO BSD { int sstk(int incr); } 13371 OBSOL BSD ommap 13472 MNOPROTO BSD { int ovadvise(int anom); } vadvise ovadvise_args int 13573 MNOPROTO BSD { int munmap(void *addr, size_t len); } |
13474 MNOPROTO BSD { int mprotect(const void *addr, size_t len, int prot); } | 13674 MNOPROTO BSD { int mprotect(const void *addr, size_t len, \ 137 int prot); } |
13575 MNOPROTO BSD { int madvise(void *addr, size_t len, int behav); } 13676 OBSOL NOHIDE vhangup 13777 OBSOL NOHIDE vlimit 13878 MNOPROTO BSD { int mincore(const void *addr, size_t len, \ 139 char *vec); } 14079 MNOPROTO POSIX { int getgroups(u_int gidsetsize, gid_t *gidset); } 14180 MNOPROTO POSIX { int setgroups(u_int gidsetsize, gid_t *gidset); } 14281 MNOPROTO POSIX { int getpgrp(void); } 14382 MNOPROTO POSIX { int setpgid(int pid, int pgid); } | 13875 MNOPROTO BSD { int madvise(void *addr, size_t len, int behav); } 13976 OBSOL NOHIDE vhangup 14077 OBSOL NOHIDE vlimit 14178 MNOPROTO BSD { int mincore(const void *addr, size_t len, \ 142 char *vec); } 14379 MNOPROTO POSIX { int getgroups(u_int gidsetsize, gid_t *gidset); } 14480 MNOPROTO POSIX { int setgroups(u_int gidsetsize, gid_t *gidset); } 14581 MNOPROTO POSIX { int getpgrp(void); } 14682 MNOPROTO POSIX { int setpgid(int pid, int pgid); } |
14483 STD BSD { int ia32_setitimer(u_int which, \ | 14783 STD BSD { int freebsd32_setitimer(u_int which, \ |
145 struct itimerval32 *itv, \ 146 struct itimerval32 *oitv); } 14784 OBSOL BSD owait 14885 OBSOL BSD oswapon 14986 OBSOL BSD ogetitimer 15087 OBSOL BSD ogethostname 15188 OBSOL BSD osethostname 15289 MNOPROTO BSD { int getdtablesize(void); } 15390 MNOPROTO POSIX { int dup2(u_int from, u_int to); } 15491 UNIMPL BSD getdopt 15592 MNOPROTO POSIX { int fcntl(int fd, int cmd, long arg); } 156; XXX should be { int fcntl(int fd, int cmd, ...); } 157; but we're not ready for varargs. 158; XXX man page says `int arg' too. | 148 struct itimerval32 *itv, \ 149 struct itimerval32 *oitv); } 15084 OBSOL BSD owait 15185 OBSOL BSD oswapon 15286 OBSOL BSD ogetitimer 15387 OBSOL BSD ogethostname 15488 OBSOL BSD osethostname 15589 MNOPROTO BSD { int getdtablesize(void); } 15690 MNOPROTO POSIX { int dup2(u_int from, u_int to); } 15791 UNIMPL BSD getdopt 15892 MNOPROTO POSIX { int fcntl(int fd, int cmd, long arg); } 159; XXX should be { int fcntl(int fd, int cmd, ...); } 160; but we're not ready for varargs. 161; XXX man page says `int arg' too. |
15993 STD BSD { int ia32_select(int nd, fd_set *in, fd_set *ou, \ | 16293 STD BSD { int freebsd32_select(int nd, fd_set *in, fd_set *ou, \ |
160 fd_set *ex, struct timeval32 *tv); } 161; XXX need to override for big-endian - little-endian should work fine. 16294 UNIMPL BSD setdopt 16395 NOPROTO POSIX { int fsync(int fd); } 16496 MNOPROTO BSD { int setpriority(int which, int who, int prio); } 16597 MNOPROTO BSD { int socket(int domain, int type, int protocol); } 16698 MNOPROTO BSD { int connect(int s, caddr_t name, int namelen); } 16799 MNOPROTO BSD { int accept(int s, caddr_t name, int *anamelen); } \ --- 10 unchanged lines hidden (view full) --- 178108 OBSOL BSD osigvec 179109 OBSOL BSD osigblock 180110 OBSOL BSD osigsetmask 181111 OBSOL POSIX osigsuspend 182112 OBSOL BSD osigstack 183113 OBSOL BSD orecvmsg 184114 OBSOL BSD osendmsg 185115 OBSOL NOHIDE vtrace | 163 fd_set *ex, struct timeval32 *tv); } 164; XXX need to override for big-endian - little-endian should work fine. 16594 UNIMPL BSD setdopt 16695 NOPROTO POSIX { int fsync(int fd); } 16796 MNOPROTO BSD { int setpriority(int which, int who, int prio); } 16897 MNOPROTO BSD { int socket(int domain, int type, int protocol); } 16998 MNOPROTO BSD { int connect(int s, caddr_t name, int namelen); } 17099 MNOPROTO BSD { int accept(int s, caddr_t name, int *anamelen); } \ --- 10 unchanged lines hidden (view full) --- 181108 OBSOL BSD osigvec 182109 OBSOL BSD osigblock 183110 OBSOL BSD osigsetmask 184111 OBSOL POSIX osigsuspend 185112 OBSOL BSD osigstack 186113 OBSOL BSD orecvmsg 187114 OBSOL BSD osendmsg 188115 OBSOL NOHIDE vtrace |
186116 STD BSD { int ia32_gettimeofday(struct timeval32 *tp, \ | 189116 STD BSD { int freebsd32_gettimeofday(struct timeval32 *tp, \ |
187 struct timezone *tzp); } | 190 struct timezone *tzp); } |
188117 STD BSD { int ia32_getrusage(int who, struct rusage32 *rusage); } | 191117 STD BSD { int freebsd32_getrusage(int who, \ 192 struct rusage32 *rusage); } |
189118 MNOPROTO BSD { int getsockopt(int s, int level, int name, \ 190 caddr_t val, int *avalsize); } 191119 UNIMPL NOHIDE resuba (BSD/OS 2.x) | 193118 MNOPROTO BSD { int getsockopt(int s, int level, int name, \ 194 caddr_t val, int *avalsize); } 195119 UNIMPL NOHIDE resuba (BSD/OS 2.x) |
192120 STD BSD { int ia32_readv(int fd, struct iovec32 *iovp, u_int iovcnt); } 193121 STD BSD { int ia32_writev(int fd, struct iovec32 *iovp, \ | 196120 STD BSD { int freebsd32_readv(int fd, struct iovec32 *iovp, \ |
194 u_int iovcnt); } | 197 u_int iovcnt); } |
195122 STD BSD { int ia32_settimeofday(struct timeval32 *tv, \ | 198121 STD BSD { int freebsd32_writev(int fd, struct iovec32 *iovp, \ 199 u_int iovcnt); } 200122 STD BSD { int freebsd32_settimeofday(struct timeval32 *tv, \ |
196 struct timezone *tzp); } 197123 NOPROTO BSD { int fchown(int fd, int uid, int gid); } 198124 NOPROTO BSD { int fchmod(int fd, int mode); } 199125 MNOPROTO BSD { int recvfrom(int s, caddr_t buf, size_t len, \ 200 int flags, caddr_t from, int *fromlenaddr); } \ 201 recvfrom recvfrom_args int 202126 MNOPROTO BSD { int setreuid(int ruid, int euid); } 203127 MNOPROTO BSD { int setregid(int rgid, int egid); } --- 4 unchanged lines hidden (view full) --- 208132 NOPROTO POSIX { int mkfifo(char *path, int mode); } 209133 MNOPROTO BSD { int sendto(int s, caddr_t buf, size_t len, \ 210 int flags, caddr_t to, int tolen); } 211134 MNOPROTO BSD { int shutdown(int s, int how); } 212135 MNOPROTO BSD { int socketpair(int domain, int type, int protocol, \ 213 int *rsv); } 214136 NOPROTO POSIX { int mkdir(char *path, int mode); } 215137 NOPROTO POSIX { int rmdir(char *path); } | 201 struct timezone *tzp); } 202123 NOPROTO BSD { int fchown(int fd, int uid, int gid); } 203124 NOPROTO BSD { int fchmod(int fd, int mode); } 204125 MNOPROTO BSD { int recvfrom(int s, caddr_t buf, size_t len, \ 205 int flags, caddr_t from, int *fromlenaddr); } \ 206 recvfrom recvfrom_args int 207126 MNOPROTO BSD { int setreuid(int ruid, int euid); } 208127 MNOPROTO BSD { int setregid(int rgid, int egid); } --- 4 unchanged lines hidden (view full) --- 213132 NOPROTO POSIX { int mkfifo(char *path, int mode); } 214133 MNOPROTO BSD { int sendto(int s, caddr_t buf, size_t len, \ 215 int flags, caddr_t to, int tolen); } 216134 MNOPROTO BSD { int shutdown(int s, int how); } 217135 MNOPROTO BSD { int socketpair(int domain, int type, int protocol, \ 218 int *rsv); } 219136 NOPROTO POSIX { int mkdir(char *path, int mode); } 220137 NOPROTO POSIX { int rmdir(char *path); } |
216138 STD BSD { int ia32_utimes(char *path, \ | 221138 STD BSD { int freebsd32_utimes(char *path, \ |
217 struct timeval32 *tptr); } 218139 OBSOL NOHIDE 4.2 sigreturn | 222 struct timeval32 *tptr); } 223139 OBSOL NOHIDE 4.2 sigreturn |
219140 STD BSD { int ia32_adjtime(struct timeval32 *delta, \ | 224140 STD BSD { int freebsd32_adjtime(struct timeval32 *delta, \ |
220 struct timeval32 *olddelta); } 221141 OBSOL BSD ogetpeername 222142 OBSOL BSD ogethostid 223143 OBSOL BSD sethostid 224144 OBSOL BSD getrlimit 225145 OBSOL BSD setrlimit 226146 OBSOL BSD killpg 227147 MNOPROTO POSIX { int setsid(void); } --- 9 unchanged lines hidden (view full) --- 237151 UNIMPL NOHIDE sem_lock (BSD/OS 2.x) 238152 UNIMPL NOHIDE sem_wakeup (BSD/OS 2.x) 239153 UNIMPL NOHIDE asyncdaemon (BSD/OS 2.x) 240154 UNIMPL NOHIDE nosys 241; 155 is initialized by the NFS code, if present. 242155 UNIMPL NOHIDE nfssvc 243156 NOPROTO BSD { int getdirentries(int fd, char *buf, u_int count, \ 244 long *basep); } | 225 struct timeval32 *olddelta); } 226141 OBSOL BSD ogetpeername 227142 OBSOL BSD ogethostid 228143 OBSOL BSD sethostid 229144 OBSOL BSD getrlimit 230145 OBSOL BSD setrlimit 231146 OBSOL BSD killpg 232147 MNOPROTO POSIX { int setsid(void); } --- 9 unchanged lines hidden (view full) --- 242151 UNIMPL NOHIDE sem_lock (BSD/OS 2.x) 243152 UNIMPL NOHIDE sem_wakeup (BSD/OS 2.x) 244153 UNIMPL NOHIDE asyncdaemon (BSD/OS 2.x) 245154 UNIMPL NOHIDE nosys 246; 155 is initialized by the NFS code, if present. 247155 UNIMPL NOHIDE nfssvc 248156 NOPROTO BSD { int getdirentries(int fd, char *buf, u_int count, \ 249 long *basep); } |
245157 STD BSD { int ia32_statfs(char *path, struct statfs32 *buf); } 246158 STD BSD { int ia32_fstatfs(int fd, struct statfs32 *buf); } | 250157 STD BSD { int freebsd32_statfs(char *path, \ 251 struct statfs32 *buf); } 252158 STD BSD { int freebsd32_fstatfs(int fd, struct statfs32 *buf); } |
247159 UNIMPL NOHIDE nosys 248160 UNIMPL NOHIDE nosys 249161 NOPROTO BSD { int getfh(char *fname, struct fhandle *fhp); } 250162 MNOPROTO BSD { int getdomainname(char *domainname, int len); } 251163 MNOPROTO BSD { int setdomainname(char *domainname, int len); } 252164 MNOPROTO BSD { int uname(struct utsname *name); } 253165 NOPROTO BSD { int sysarch(int op, char *parms); } 254166 MNOPROTO BSD { int rtprio(int function, pid_t pid, \ 255 struct rtprio *rtp); } 256167 UNIMPL NOHIDE nosys 257168 UNIMPL NOHIDE nosys | 253159 UNIMPL NOHIDE nosys 254160 UNIMPL NOHIDE nosys 255161 NOPROTO BSD { int getfh(char *fname, struct fhandle *fhp); } 256162 MNOPROTO BSD { int getdomainname(char *domainname, int len); } 257163 MNOPROTO BSD { int setdomainname(char *domainname, int len); } 258164 MNOPROTO BSD { int uname(struct utsname *name); } 259165 NOPROTO BSD { int sysarch(int op, char *parms); } 260166 MNOPROTO BSD { int rtprio(int function, pid_t pid, \ 261 struct rtprio *rtp); } 262167 UNIMPL NOHIDE nosys 263168 UNIMPL NOHIDE nosys |
258169 STD BSD { int ia32_semsys(int which, int a2, int a3, int a4, \ 259 int a5); } 260170 STD BSD { int ia32_msgsys(int which, int a2, int a3, int a4, \ 261 int a5, int a6); } 262171 STD BSD { int ia32_shmsys(int which, int a2, int a3, int a4); } | 264169 STD BSD { int freebsd32_semsys(int which, int a2, int a3, \ 265 int a4, int a5); } 266170 STD BSD { int freebsd32_msgsys(int which, int a2, int a3, \ 267 int a4, int a5, int a6); } 268171 STD BSD { int freebsd32_shmsys(int which, int a2, int a3, \ 269 int a4); } |
263172 UNIMPL NOHIDE nosys | 270172 UNIMPL NOHIDE nosys |
264173 STD POSIX { ssize_t ia32_pread(int fd, void *buf, size_t nbyte, \ 265 int pad, u_int32_t offsetlo, u_int32_t offsethi); } | 271173 STD POSIX { ssize_t freebsd32_pread(int fd, void *buf, \ 272 size_t nbyte, int pad, u_int32_t offsetlo, \ 273 u_int32_t offsethi); } |
266; XXX note - bigendian is different | 274; XXX note - bigendian is different |
267174 STD POSIX { ssize_t ia32_pwrite(int fd, const void *buf, \ | 275174 STD POSIX { ssize_t freebsd32_pwrite(int fd, const void *buf, \ |
268 size_t nbyte, int pad, u_int32_t offsetlo, \ 269 u_int32_t offsethi); } 270; XXX note - bigendian is different 271175 UNIMPL NOHIDE nosys 272176 MNOPROTO BSD { int ntp_adjtime(struct timex *tp); } 273177 UNIMPL NOHIDE sfork (BSD/OS 2.x) 274178 UNIMPL NOHIDE getdescriptor (BSD/OS 2.x) 275179 UNIMPL NOHIDE setdescriptor (BSD/OS 2.x) 276180 UNIMPL NOHIDE nosys 277 278; Syscalls 181-199 are used by/reserved for BSD 279181 MNOPROTO POSIX { int setgid(gid_t gid); } 280182 MNOPROTO BSD { int setegid(gid_t egid); } 281183 MNOPROTO BSD { int seteuid(uid_t euid); } 282184 UNIMPL BSD lfs_bmapv 283185 UNIMPL BSD lfs_markv 284186 UNIMPL BSD lfs_segclean 285187 UNIMPL BSD lfs_segwait | 276 size_t nbyte, int pad, u_int32_t offsetlo, \ 277 u_int32_t offsethi); } 278; XXX note - bigendian is different 279175 UNIMPL NOHIDE nosys 280176 MNOPROTO BSD { int ntp_adjtime(struct timex *tp); } 281177 UNIMPL NOHIDE sfork (BSD/OS 2.x) 282178 UNIMPL NOHIDE getdescriptor (BSD/OS 2.x) 283179 UNIMPL NOHIDE setdescriptor (BSD/OS 2.x) 284180 UNIMPL NOHIDE nosys 285 286; Syscalls 181-199 are used by/reserved for BSD 287181 MNOPROTO POSIX { int setgid(gid_t gid); } 288182 MNOPROTO BSD { int setegid(gid_t egid); } 289183 MNOPROTO BSD { int seteuid(uid_t euid); } 290184 UNIMPL BSD lfs_bmapv 291185 UNIMPL BSD lfs_markv 292186 UNIMPL BSD lfs_segclean 293187 UNIMPL BSD lfs_segwait |
286188 STD POSIX { int ia32_stat(char *path, struct stat32 *ub); } 287189 STD POSIX { int ia32_fstat(int fd, struct stat32 *ub); } 288190 STD POSIX { int ia32_lstat(char *path, struct stat32 *ub); } | 294188 STD POSIX { int freebsd32_stat(char *path, struct stat32 *ub); } 295189 STD POSIX { int freebsd32_fstat(int fd, struct stat32 *ub); } 296190 STD POSIX { int freebsd32_lstat(char *path, struct stat32 *ub); } |
289191 NOPROTO POSIX { int pathconf(char *path, int name); } 290192 MNOPROTO POSIX { int fpathconf(int fd, int name); } 291193 UNIMPL NOHIDE nosys 292194 MNOPROTO BSD { int getrlimit(u_int which, \ 293 struct rlimit *rlp); } \ 294 getrlimit __getrlimit_args int 295195 MNOPROTO BSD { int setrlimit(u_int which, \ 296 struct rlimit *rlp); } \ 297 setrlimit __setrlimit_args int 298196 NOPROTO BSD { int getdirentries(int fd, char *buf, u_int count, \ 299 long *basep); } | 297191 NOPROTO POSIX { int pathconf(char *path, int name); } 298192 MNOPROTO POSIX { int fpathconf(int fd, int name); } 299193 UNIMPL NOHIDE nosys 300194 MNOPROTO BSD { int getrlimit(u_int which, \ 301 struct rlimit *rlp); } \ 302 getrlimit __getrlimit_args int 303195 MNOPROTO BSD { int setrlimit(u_int which, \ 304 struct rlimit *rlp); } \ 305 setrlimit __setrlimit_args int 306196 NOPROTO BSD { int getdirentries(int fd, char *buf, u_int count, \ 307 long *basep); } |
300197 STD BSD { caddr_t ia32_mmap(caddr_t addr, size_t len, \ | 308197 STD BSD { caddr_t freebsd32_mmap(caddr_t addr, size_t len, \ |
301 int prot, int flags, int fd, int pad, \ 302 u_int32_t poslo, u_int32_t poshi); } 303198 NOPROTO NOHIDE { int nosys(void); } __syscall __syscall_args int 304; XXX note - bigendian is different | 309 int prot, int flags, int fd, int pad, \ 310 u_int32_t poslo, u_int32_t poshi); } 311198 NOPROTO NOHIDE { int nosys(void); } __syscall __syscall_args int 312; XXX note - bigendian is different |
305199 STD POSIX { off_t ia32_lseek(int fd, int pad, \ | 313199 STD POSIX { off_t freebsd32_lseek(int fd, int pad, \ |
306 u_int32_t offsetlo, u_int32_t offsethi, \ 307 int whence); } 308; XXX note - bigendian is different | 314 u_int32_t offsetlo, u_int32_t offsethi, \ 315 int whence); } 316; XXX note - bigendian is different |
309200 STD BSD { int ia32_truncate(char *path, int pad, \ | 317200 STD BSD { int freebsd32_truncate(char *path, int pad, \ |
310 u_int32_t lengthlo, u_int32_t lengthhi); } 311; XXX note - bigendian is different | 318 u_int32_t lengthlo, u_int32_t lengthhi); } 319; XXX note - bigendian is different |
312201 STD BSD { int ia32_ftruncate(int fd, int pad, \ | 320201 STD BSD { int freebsd32_ftruncate(int fd, int pad, \ |
313 u_int32_t lengthlo, u_int32_t lengthhi); } | 321 u_int32_t lengthlo, u_int32_t lengthhi); } |
314202 MSTD BSD { int ia32_sysctl(int *name, u_int namelen, \ | 322202 MSTD BSD { int freebsd32_sysctl(int *name, u_int namelen, \ |
315 void *old, u_int32_t *oldlenp, void *new, \ 316 u_int32_t newlen); } 317203 MNOPROTO BSD { int mlock(const void *addr, size_t len); } 318204 MNOPROTO BSD { int munlock(const void *addr, size_t len); } 319205 NOPROTO BSD { int undelete(char *path); } 320206 NOPROTO BSD { int futimes(int fd, struct timeval *tptr); } 321207 MNOPROTO BSD { int getpgid(pid_t pid); } 322208 UNIMPL NOHIDE newreboot (NetBSD) --- 147 unchanged lines hidden (view full) --- 470330 MNOPROTO POSIX { int sched_getscheduler (pid_t pid); } 471 472331 MNOPROTO POSIX { int sched_yield (void); } 473332 MNOPROTO POSIX { int sched_get_priority_max (int policy); } 474333 MNOPROTO POSIX { int sched_get_priority_min (int policy); } 475334 MNOPROTO POSIX { int sched_rr_get_interval (pid_t pid, struct timespec *interval); } 476335 NOPROTO BSD { int utrace(const void *addr, size_t len); } 477; XXX note - bigendian is different | 323 void *old, u_int32_t *oldlenp, void *new, \ 324 u_int32_t newlen); } 325203 MNOPROTO BSD { int mlock(const void *addr, size_t len); } 326204 MNOPROTO BSD { int munlock(const void *addr, size_t len); } 327205 NOPROTO BSD { int undelete(char *path); } 328206 NOPROTO BSD { int futimes(int fd, struct timeval *tptr); } 329207 MNOPROTO BSD { int getpgid(pid_t pid); } 330208 UNIMPL NOHIDE newreboot (NetBSD) --- 147 unchanged lines hidden (view full) --- 478330 MNOPROTO POSIX { int sched_getscheduler (pid_t pid); } 479 480331 MNOPROTO POSIX { int sched_yield (void); } 481332 MNOPROTO POSIX { int sched_get_priority_max (int policy); } 482333 MNOPROTO POSIX { int sched_get_priority_min (int policy); } 483334 MNOPROTO POSIX { int sched_rr_get_interval (pid_t pid, struct timespec *interval); } 484335 NOPROTO BSD { int utrace(const void *addr, size_t len); } 485; XXX note - bigendian is different |
478336 MCOMPAT4 BSD { int ia32_sendfile(int fd, int s, u_int32_t offsetlo,\ 479 u_int32_t offsethi, size_t nbytes, \ 480 struct sf_hdtr *hdtr, off_t *sbytes, int flags); } | 486336 MCOMPAT4 BSD { int freebsd32_sendfile(int fd, int s, \ 487 u_int32_t offsetlo,u_int32_t offsethi, \ 488 size_t nbytes, struct sf_hdtr *hdtr, \ 489 off_t *sbytes, int flags); } |
481337 NOPROTO BSD { int kldsym(int fileid, int cmd, void *data); } 482338 MNOPROTO BSD { int jail(struct jail *jail); } 483339 UNIMPL BSD pioctl 484340 MNOPROTO POSIX { int sigprocmask(int how, const sigset_t *set, \ 485 sigset_t *oset); } 486341 MNOPROTO POSIX { int sigsuspend(const sigset_t *sigmask); } | 490337 NOPROTO BSD { int kldsym(int fileid, int cmd, void *data); } 491338 MNOPROTO BSD { int jail(struct jail *jail); } 492339 UNIMPL BSD pioctl 493340 MNOPROTO POSIX { int sigprocmask(int how, const sigset_t *set, \ 494 sigset_t *oset); } 495341 MNOPROTO POSIX { int sigsuspend(const sigset_t *sigmask); } |
487342 COMPAT4 POSIX { int ia32_sigaction(int sig, \ | 496342 COMPAT4 POSIX { int freebsd32_sigaction(int sig, \ |
488 struct sigaction32 *act, \ 489 struct sigaction32 *oact); } 490343 MNOPROTO POSIX { int sigpending(sigset_t *set); } | 497 struct sigaction32 *act, \ 498 struct sigaction32 *oact); } 499343 MNOPROTO POSIX { int sigpending(sigset_t *set); } |
491344 MCOMPAT4 BSD { int ia32_sigreturn(const struct __ucontext *sigcntxp); } | 500344 MCOMPAT4 BSD { int freebsd32_sigreturn( \ 501 const struct __ucontext *sigcntxp); } |
492345 UNIMPL NOHIDE sigtimedwait 493346 UNIMPL NOHIDE sigwaitinfo 494347 MNOPROTO BSD { int __acl_get_file(const char *path, \ 495 acl_type_t type, struct acl *aclp); } 496348 MNOPROTO BSD { int __acl_set_file(const char *path, \ 497 acl_type_t type, struct acl *aclp); } 498349 MNOPROTO BSD { int __acl_get_fd(int filedes, acl_type_t type, \ 499 struct acl *aclp); } --- 16 unchanged lines hidden (view full) --- 516 int attrnamespace, const char *attrname, \ 517 void *data, size_t nbytes); } 518358 NOPROTO BSD { int extattr_delete_file(const char *path, \ 519 int attrnamespace, const char *attrname); } 520359 UNIMPL NOHIDE aio_waitcomplete 521360 MNOPROTO BSD { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } 522361 MNOPROTO BSD { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } 523362 MNOPROTO BSD { int kqueue(void); } | 502345 UNIMPL NOHIDE sigtimedwait 503346 UNIMPL NOHIDE sigwaitinfo 504347 MNOPROTO BSD { int __acl_get_file(const char *path, \ 505 acl_type_t type, struct acl *aclp); } 506348 MNOPROTO BSD { int __acl_set_file(const char *path, \ 507 acl_type_t type, struct acl *aclp); } 508349 MNOPROTO BSD { int __acl_get_fd(int filedes, acl_type_t type, \ 509 struct acl *aclp); } --- 16 unchanged lines hidden (view full) --- 526 int attrnamespace, const char *attrname, \ 527 void *data, size_t nbytes); } 528358 NOPROTO BSD { int extattr_delete_file(const char *path, \ 529 int attrnamespace, const char *attrname); } 530359 UNIMPL NOHIDE aio_waitcomplete 531360 MNOPROTO BSD { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } 532361 MNOPROTO BSD { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } 533362 MNOPROTO BSD { int kqueue(void); } |
524363 MSTD BSD { int ia32_kevent(int fd, \ | 534363 MSTD BSD { int freebsd32_kevent(int fd, \ |
525 const struct kevent *changelist, int nchanges, \ 526 struct kevent *eventlist, int nevents, \ 527 const struct timespec *timeout); } 528364 UNIMPL NOHIDE __cap_get_proc 529365 UNIMPL NOHIDE __cap_set_proc 530366 UNIMPL NOHIDE __cap_get_fd 531367 UNIMPL NOHIDE __cap_get_file 532368 UNIMPL NOHIDE __cap_set_fd --- 23 unchanged lines hidden (view full) --- 556386 UNIMPL BSD __mac_get_fd 557387 UNIMPL BSD __mac_get_file 558388 UNIMPL BSD __mac_set_fd 559389 UNIMPL BSD __mac_set_file 560390 NOPROTO BSD { int kenv(int what, const char *name, char *value, \ 561 int len); } 562391 NOPROTO BSD { int lchflags(const char *path, int flags); } 563392 NOPROTO BSD { int uuidgen(struct uuid *store, int count); } | 535 const struct kevent *changelist, int nchanges, \ 536 struct kevent *eventlist, int nevents, \ 537 const struct timespec *timeout); } 538364 UNIMPL NOHIDE __cap_get_proc 539365 UNIMPL NOHIDE __cap_set_proc 540366 UNIMPL NOHIDE __cap_get_fd 541367 UNIMPL NOHIDE __cap_get_file 542368 UNIMPL NOHIDE __cap_set_fd --- 23 unchanged lines hidden (view full) --- 566386 UNIMPL BSD __mac_get_fd 567387 UNIMPL BSD __mac_get_file 568388 UNIMPL BSD __mac_set_fd 569389 UNIMPL BSD __mac_set_file 570390 NOPROTO BSD { int kenv(int what, const char *name, char *value, \ 571 int len); } 572391 NOPROTO BSD { int lchflags(const char *path, int flags); } 573392 NOPROTO BSD { int uuidgen(struct uuid *store, int count); } |
564393 MSTD BSD { int ia32_sendfile(int fd, int s, u_int32_t offsetlo, \ 565 u_int32_t offsethi, size_t nbytes, \ 566 struct sf_hdtr *hdtr, off_t *sbytes, int flags); } | 574393 MSTD BSD { int freebsd32_sendfile(int fd, int s, \ 575 u_int32_t offsetlo, u_int32_t offsethi, \ 576 size_t nbytes, struct sf_hdtr *hdtr, \ 577 off_t *sbytes, int flags); } |
567394 UNIMPL NOHIDE mac_syscall 568395 UNIMPL NOHIDE nosys 569396 UNIMPL NOHIDE nosys 570397 UNIMPL NOHIDE nosys 571398 UNIMPL NOHIDE nosys 572399 UNIMPL NOHIDE nosys 573400 UNIMPL NOHIDE ksem_close 574401 UNIMPL NOHIDE ksem_post --- 6 unchanged lines hidden (view full) --- 581408 UNIMPL NOHIDE ksem_destroy 582409 UNIMPL BSD __mac_get_pid 583410 UNIMPL BSD __mac_get_link 584411 UNIMPL BSD __mac_set_link 585412 UNIMPL BSD extattr_set_link 586413 UNIMPL BSD extattr_get_link 587414 UNIMPL BSD extattr_delete_link 588415 UNIMPL BSD __mac_execve | 578394 UNIMPL NOHIDE mac_syscall 579395 UNIMPL NOHIDE nosys 580396 UNIMPL NOHIDE nosys 581397 UNIMPL NOHIDE nosys 582398 UNIMPL NOHIDE nosys 583399 UNIMPL NOHIDE nosys 584400 UNIMPL NOHIDE ksem_close 585401 UNIMPL NOHIDE ksem_post --- 6 unchanged lines hidden (view full) --- 592408 UNIMPL NOHIDE ksem_destroy 593409 UNIMPL BSD __mac_get_pid 594410 UNIMPL BSD __mac_get_link 595411 UNIMPL BSD __mac_set_link 596412 UNIMPL BSD extattr_set_link 597413 UNIMPL BSD extattr_get_link 598414 UNIMPL BSD extattr_delete_link 599415 UNIMPL BSD __mac_execve |
589416 STD POSIX { int ia32_sigaction(int sig, \ | 600416 STD POSIX { int freebsd32_sigaction(int sig, \ |
590 struct sigaction32 *act, \ 591 struct sigaction32 *oact); } | 601 struct sigaction32 *act, \ 602 struct sigaction32 *oact); } |
592417 MSTD BSD { int ia32_sigreturn(const struct ia32_ucontext *sigcntxp); } | 603417 MSTD BSD { int freebsd32_sigreturn( \ 604 const struct freebsd32_ucontext *sigcntxp); } |
593418 UNIMPL BSD __xstat 594419 UNIMPL BSD __xfstat 595420 UNIMPL BSD __xlstat 596421 UNIMPL BSD getcontext 597422 UNIMPL BSD setcontext 598423 UNIMPL BSD swapcontext 599424 UNIMPL BSD swapoff 600425 UNIMPL BSD __acl_get_link --- 13 unchanged lines hidden --- | 605418 UNIMPL BSD __xstat 606419 UNIMPL BSD __xfstat 607420 UNIMPL BSD __xlstat 608421 UNIMPL BSD getcontext 609422 UNIMPL BSD setcontext 610423 UNIMPL BSD swapcontext 611424 UNIMPL BSD swapoff 612425 UNIMPL BSD __acl_get_link --- 13 unchanged lines hidden --- |