Annotation of sys/compat/freebsd/syscalls.master, Revision 1.1.1.1
1.1 nbrk 1: $OpenBSD: syscalls.master,v 1.31 2007/04/05 15:33:42 tedu Exp $
2: ; $NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp $
3:
4: ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
5:
6: ; NetBSD COMPAT_FREEBSD system call name/number "master" file.
7: ; (See syscalls.conf to see what it is processed into.)
8: ;
9: ; Fields: number type [type-dependent ...]
10: ; number system call number, must be in order
11: ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
12: ; the compatibility options defined in syscalls.conf.
13: ;
14: ; types:
15: ; STD always included
16: ; OBSOL obsolete, not included in system
17: ; UNIMPL unimplemented, not included in system
18: ; NODEF included, but don't define the syscall number
19: ; NOARGS included, but don't define the syscall args structure
20: ;
21: ; The compat options are defined in the syscalls.conf file, and the
22: ; compat option name is prefixed to the syscall name. Other than
23: ; that, they're like NODEF (for 'compat' options), or STD (for
24: ; 'libcompat' options).
25: ;
26: ; The type-dependent arguments are as follows:
27: ; For STD, NODEF, NOARGS, and compat syscalls:
28: ; { pseudo-proto } [alias]
29: ; For other syscalls:
30: ; [comment]
31: ;
32: ; #ifdef's, etc. may be included, and are copied to the output files.
33: ; #include's are copied to the syscall switch definition file only.
34:
35: #include <sys/param.h>
36: #include <sys/systm.h>
37: #include <sys/signal.h>
38: #include <sys/mount.h>
39: #include <sys/syscallargs.h>
40:
41: #include <compat/freebsd/freebsd_signal.h>
42: #include <compat/freebsd/freebsd_syscallargs.h>
43:
44: #include <machine/freebsd_machdep.h>
45:
46: ; Reserved/unimplemented system calls in the range 0-150 inclusive
47: ; are reserved for use in future Berkeley releases.
48: ; Additional system calls implemented in vendor and other
49: ; redistributions should be placed in the reserved range at the end
50: ; of the current calls.
51:
52: 0 NOARGS { int sys_nosys(void); } syscall
53: 1 NOARGS { int sys_exit(int rval); }
54: 2 NOARGS { int sys_fork(void); }
55: 3 NOARGS { int sys_read(int fd, char *buf, u_int nbyte); }
56: 4 NOARGS { int sys_write(int fd, char *buf, u_int nbyte); }
57: 5 STD { int freebsd_sys_open(char *path, int flags, \
58: int mode); }
59: 6 NOARGS { int sys_close(int fd); }
60: 7 NOARGS { int sys_wait4(int pid, int *status, int options, \
61: struct rusage *rusage); }
62: 8 STD { int compat_43_freebsd_sys_creat(char *path, \
63: int mode); } ocreat
64: 9 STD { int freebsd_sys_link(char *path, char *link); }
65: 10 STD { int freebsd_sys_unlink(char *path); }
66: 11 OBSOL execv
67: 12 STD { int freebsd_sys_chdir(char *path); }
68: 13 NOARGS { int sys_fchdir(int fd); }
69: 14 STD { int freebsd_sys_mknod(char *path, int mode, \
70: int dev); }
71: 15 STD { int freebsd_sys_chmod(char *path, int mode); }
72: 16 STD { int freebsd_sys_chown(char *path, int uid, int gid); }
73: 17 NOARGS { int sys_obreak(char *nsize); } break
74: 18 STD { int freebsd_sys_getfsstat(struct freebsd_statfs *buf,\
75: long bufsize, int flags); }
76: 19 NOARGS { long compat_43_sys_lseek(int fd, long offset, \
77: int whence); } olseek
78: 20 NOARGS { pid_t sys_getpid(void); }
79: 21 STD { int freebsd_sys_mount(int type, char *path, \
80: int flags, caddr_t data); }
81: 22 STD { int freebsd_sys_unmount(char *path, int flags); }
82: 23 NOARGS { int sys_setuid(uid_t uid); }
83: 24 NOARGS { uid_t sys_getuid(void); }
84: 25 NOARGS { uid_t sys_geteuid(void); }
85: #ifdef PTRACE
86: 26 STD { int freebsd_sys_ptrace(int req, pid_t pid, \
87: caddr_t addr, int data); }
88: #else
89: 26 UNIMPL ptrace
90: #endif
91: 27 NOARGS { int sys_recvmsg(int s, struct msghdr *msg, \
92: int flags); }
93: 28 NOARGS { int sys_sendmsg(int s, caddr_t msg, int flags); }
94: 29 NOARGS { int sys_recvfrom(int s, caddr_t buf, size_t len, \
95: int flags, caddr_t from, int *fromlenaddr); }
96: 30 NOARGS { int sys_accept(int s, caddr_t name, int *anamelen); }
97: 31 NOARGS { int sys_getpeername(int fdes, caddr_t asa, \
98: int *alen); }
99: 32 NOARGS { int sys_getsockname(int fdes, caddr_t asa, \
100: int *alen); }
101: 33 STD { int freebsd_sys_access(char *path, int flags); }
102: 34 STD { int freebsd_sys_chflags(char *path, int flags); }
103: 35 NOARGS { int sys_fchflags(int fd, int flags); }
104: 36 NOARGS { int sys_sync(void); }
105: 37 NOARGS { int sys_kill(int pid, int signum); }
106: 38 STD { int compat_43_freebsd_sys_stat(char *path, \
107: struct stat43 *ub); } stat43
108: 39 NOARGS { pid_t sys_getppid(void); }
109: 40 STD { int compat_43_freebsd_sys_lstat(char *path, \
110: struct stat43 *ub); } lstat43
111: 41 NOARGS { int sys_dup(u_int fd); }
112: 42 NOARGS { int sys_opipe(void); }
113: 43 NOARGS { gid_t sys_getegid(void); }
114: 44 NOARGS { int sys_profil(caddr_t samples, u_int size, \
115: u_int offset, u_int scale); }
116: #ifdef KTRACE
117: 45 NOARGS { int sys_ktrace(char *fname, int ops, int facs, \
118: int pid); }
119: #else
120: 45 UNIMPL ktrace
121: #endif
122: 46 NOARGS { int sys_sigaction(int signum, struct sigaction *nsa, \
123: struct sigaction *osa); }
124: 47 NOARGS { gid_t sys_getgid(void); }
125: 48 NOARGS { int sys_sigprocmask(int how, sigset_t mask); }
126: 49 NOARGS { int sys_getlogin(char *namebuf, u_int namelen); }
127: 50 NOARGS { int sys_setlogin(char *namebuf); }
128: #ifdef ACCOUNTING
129: 51 NOARGS { int sys_acct(char *path); }
130: #else
131: 51 UNIMPL acct
132: #endif
133: 52 NOARGS { int sys_sigpending(void); }
134: 53 NOARGS { int sys_sigaltstack(struct sigaltstack *nss, \
135: struct sigaltstack *oss); }
136: 54 STD { int freebsd_sys_ioctl(int fd, u_long com, \
137: caddr_t data); }
138: 55 NOARGS { int sys_reboot(int opt); }
139: 56 STD { int freebsd_sys_revoke(char *path); }
140: 57 STD { int freebsd_sys_symlink(char *path, char *link); }
141: 58 STD { int freebsd_sys_readlink(char *path, char *buf, \
142: int count); }
143: 59 STD { int freebsd_sys_execve(char *path, char **argp, \
144: char **envp); }
145: 60 NOARGS { int sys_umask(int newmask); }
146: 61 STD { int freebsd_sys_chroot(char *path); }
147: 62 NOARGS { int compat_43_sys_fstat(int fd, struct stat43 *sb); } \
148: fstat43
149: 63 NOARGS { int compat_43_sys_getkerninfo(int op, char *where, \
150: int *size, int arg); } ogetkerninfo
151: 64 NOARGS { int compat_43_sys_getpagesize(void); } ogetpagesize
152: 65 NOARGS { int sys_msync(void *addr, size_t len, \
153: int flags); }
154: 66 NOARGS { int sys_vfork(void); }
155: 67 OBSOL vread
156: 68 OBSOL vwrite
157: 69 NOARGS { int sys_sbrk(int incr); }
158: 70 NOARGS { int sys_sstk(int incr); }
159: 71 NOARGS { int compat_43_sys_mmap(caddr_t addr, size_t len, \
160: int prot, int flags, int fd, long pos); } ommap
161: 72 NOARGS { int sys_ovadvise(int anom); } vadvise
162: 73 NOARGS { int sys_munmap(caddr_t addr, size_t len); }
163: 74 NOARGS { int sys_mprotect(caddr_t addr, size_t len, \
164: int prot); }
165: 75 STD { int freebsd_sys_madvise(caddr_t addr, size_t len, \
166: int behav); }
167: 76 OBSOL vhangup
168: 77 OBSOL vlimit
169: 78 NOARGS { int sys_mincore(caddr_t addr, size_t len, char *vec); }
170: 79 NOARGS { int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
171: 80 NOARGS { int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
172: 81 NOARGS { int sys_getpgrp(void); }
173: 82 NOARGS { int sys_setpgid(int pid, int pgid); }
174: 83 NOARGS { int sys_setitimer(u_int which, \
175: struct itimerval *itv, struct itimerval *oitv); }
176: 84 NOARGS { int compat_43_sys_wait(void); } owait
177: 85 NOARGS { int compat_25_sys_swapon(char *name); }
178: 86 NOARGS { int sys_getitimer(u_int which, \
179: struct itimerval *itv); }
180: 87 NOARGS { int compat_43_sys_gethostname(char *hostname, \
181: u_int len); } ogethostname
182: 88 NOARGS { int compat_43_sys_sethostname(char *hostname, \
183: u_int len); } osethostname
184: 89 NOARGS { int compat_43_sys_getdtablesize(void); } \
185: ogetdtablesize
186: 90 NOARGS { int sys_dup2(u_int from, u_int to); }
187: 91 UNIMPL getdopt
188: 92 STD { int freebsd_sys_fcntl(int fd, int cmd, void *arg); }
189: 93 NOARGS { int sys_select(u_int nd, fd_set *in, fd_set *ou, \
190: fd_set *ex, struct timeval *tv); }
191: 94 UNIMPL setdopt
192: 95 NOARGS { int sys_fsync(int fd); }
193: 96 NOARGS { int sys_setpriority(int which, int who, int prio); }
194: 97 NOARGS { int sys_socket(int domain, int type, int protocol); }
195: 98 NOARGS { int sys_connect(int s, caddr_t name, int namelen); }
196: 99 NOARGS { int compat_43_sys_accept(int s, caddr_t name, \
197: int *anamelen); } oaccept
198: 100 NOARGS { int sys_getpriority(int which, int who); }
199: 101 NOARGS { int compat_43_sys_send(int s, caddr_t buf, int len, \
200: int flags); } osend
201: 102 NOARGS { int compat_43_sys_recv(int s, caddr_t buf, int len, \
202: int flags); } orecv
203: 103 STD { int freebsd_sys_sigreturn( \
204: struct freebsd_sigcontext *scp); }
205: 104 NOARGS { int sys_bind(int s, caddr_t name, int namelen); }
206: 105 NOARGS { int sys_setsockopt(int s, int level, int name, \
207: caddr_t val, int valsize); }
208: 106 NOARGS { int sys_listen(int s, int backlog); }
209: 107 OBSOL vtimes
210: 108 NOARGS { int compat_43_sys_sigvec(int signum, \
211: struct sigvec *nsv, struct sigvec *osv); } osigvec
212: 109 NOARGS { int compat_43_sys_sigblock(int mask); } osigblock
213: 110 NOARGS { int compat_43_sys_sigsetmask(int mask); } osigsetmask
214: 111 NOARGS { int sys_sigsuspend(int mask); }
215: 112 NOARGS { int compat_43_sys_sigstack(struct sigstack *nss, \
216: struct sigstack *oss); } osigstack
217: 113 NOARGS { int compat_43_sys_recvmsg(int s, \
218: struct omsghdr *msg, int flags); } orecvmsg
219: 114 NOARGS { int compat_43_sys_sendmsg(int s, caddr_t msg, \
220: int flags); } osendmsg
221: #ifdef TRACE
222: 115 NOARGS { int sys_vtrace(int request, int value); }
223: #else
224: 115 OBSOL vtrace
225: #endif
226: 116 NOARGS { int sys_gettimeofday(struct timeval *tp, \
227: struct timezone *tzp); }
228: 117 NOARGS { int sys_getrusage(int who, struct rusage *rusage); }
229: 118 NOARGS { int sys_getsockopt(int s, int level, int name, \
230: caddr_t val, int *avalsize); }
231: 119 OBSOL resuba
232: 120 NOARGS { int sys_readv(int fd, struct iovec *iovp, \
233: u_int iovcnt); }
234: 121 NOARGS { int sys_writev(int fd, struct iovec *iovp, \
235: u_int iovcnt); }
236: 122 NOARGS { int sys_settimeofday(struct timeval *tv, \
237: struct timezone *tzp); }
238: 123 NOARGS { int sys_fchown(int fd, int uid, int gid); }
239: 124 NOARGS { int sys_fchmod(int fd, int mode); }
240: 125 NOARGS { int compat_43_sys_recvfrom(int s, caddr_t buf, \
241: size_t len, int flags, caddr_t from, \
242: int *fromlenaddr); } orecvfrom
243: 126 NOARGS { int sys_setreuid(uid_t ruid, uid_t euid); }
244: 127 NOARGS { int sys_setregid(gid_t rgid, gid_t egid); }
245: 128 STD { int freebsd_sys_rename(char *from, char *to); }
246: 129 STD { int compat_43_freebsd_sys_truncate(char *path, \
247: long length); } otruncate
248: 130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); } \
249: oftruncate
250: 131 NOARGS { int sys_flock(int fd, int how); }
251: 132 STD { int freebsd_sys_mkfifo(char *path, int mode); }
252: 133 NOARGS { int sys_sendto(int s, caddr_t buf, size_t len, \
253: int flags, caddr_t to, int tolen); }
254: 134 NOARGS { int sys_shutdown(int s, int how); }
255: 135 NOARGS { int sys_socketpair(int domain, int type, \
256: int protocol, int *rsv); }
257: 136 STD { int freebsd_sys_mkdir(char *path, int mode); }
258: 137 STD { int freebsd_sys_rmdir(char *path); }
259: 138 NOARGS { int sys_utimes(char *path, struct timeval *tptr); }
260: 139 OBSOL 4.2 sigreturn
261: 140 NOARGS { int sys_adjtime(struct timeval *delta, \
262: struct timeval *olddelta); }
263: 141 NOARGS { int compat_43_sys_getpeername(int fdes, caddr_t asa, \
264: int *alen); } ogetpeername
265: 142 NOARGS { int32_t compat_43_sys_gethostid(void); } ogethostid
266: 143 NOARGS { int compat_43_sys_sethostid(int32_t hostid); } \
267: osethostid
268: 144 NOARGS { int compat_43_sys_getrlimit(u_int which, \
269: struct ogetrlimit *rlp); } ogetrlimit
270: 145 NOARGS { int compat_43_sys_setrlimit(u_int which, \
271: struct ogetrlimit *rlp); } osetrlimit
272: 146 NOARGS { int compat_43_sys_killpg(int pgid, int signum); } \
273: okillpg
274: 147 NOARGS { int sys_setsid(void); }
275: 148 NOARGS { int sys_quotactl(char *path, int cmd, int uid, \
276: caddr_t arg); }
277: 149 NOARGS { int compat_43_sys_quota(void); } oquota
278: 150 NOARGS { int compat_43_sys_getsockname(int fdec, caddr_t asa, \
279: int *alen); } ogetsockname
280:
281: ; Syscalls 151-180 inclusive are reserved for vendor-specific
282: ; system calls. (This includes various calls added for compatibity
283: ; with other Unix variants.)
284: ; Some of these calls are now supported by BSD...
285: 151 UNIMPL sem_lock
286: 152 UNIMPL sem_wakeup
287: 153 UNIMPL asyncdaemon
288: 154 UNIMPL
289: #if defined(NFSCLIENT) || defined(NFSSERVER)
290: 155 NOARGS { int sys_nfssvc(int flag, caddr_t argp); }
291: #else
292: 155 UNIMPL
293: #endif
294: 156 NOARGS { int compat_43_sys_getdirentries(int fd, char *buf, \
295: u_int count, long *basep); } ogetdirentries
296: 157 STD { int freebsd_sys_statfs(char *path, \
297: struct freebsd_statfs *buf); }
298: 158 STD { int freebsd_sys_fstatfs(int fd, \
299: struct freebsd_statfs *buf); }
300: 159 UNIMPL
301: 160 UNIMPL
302: #ifdef NFSCLIENT
303: 161 STD { int freebsd_sys_getfh(char *fname, fhandle_t *fhp); }
304: #else
305: 161 UNIMPL getfh
306: #endif
307: 162 NOARGS { int compat_09_sys_getdomainname(char *domainname, \
308: int len); }
309: 163 NOARGS { int compat_09_sys_setdomainname(char *domainname, \
310: int len); }
311: 164 NOARGS { int compat_09_sys_uname(struct outsname *name); }
312: 165 NOARGS { int sys_sysarch(int op, char *parms); }
313: 166 STD { int freebsd_sys_rtprio(int function, pid_t pid, \
314: struct freebsd_rtprio *rtp); }
315: 167 UNIMPL
316: 168 UNIMPL
317: ; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
318: #if defined(SYSVSEM) && !defined(alpha)
319: 169 NOARGS { int compat_10_sys_semsys(int which, int a2, int a3, \
320: int a4, int a5); }
321: #else
322: 169 UNIMPL 1.0 semsys
323: #endif
324: ; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
325: #if defined(SYSVMSG) && !defined(alpha)
326: 170 NOARGS { int compat_10_sys_msgsys(int which, int a2, int a3, \
327: int a4, int a5, int a6); }
328: #else
329: 170 UNIMPL 1.0 msgsys
330: #endif
331: ; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
332: #if defined(SYSVSHM) && !defined(alpha)
333: 171 NOARGS { int compat_10_sys_shmsys(int which, int a2, int a3, \
334: int a4); }
335: #else
336: 171 UNIMPL 1.0 shmsys
337: #endif
338: 172 UNIMPL
339: 173 NOARGS { ssize_t sys_pread(int fd, void *buf, \
340: size_t nbyte, int pad, off_t offset); }
341: 174 NOARGS { ssize_t sys_pwrite(int fd, const void *buf, \
342: size_t nbyte, int pad, off_t offset); }
343: 175 UNIMPL
344: 176 UNIMPL ntp_adjtime
345: 177 UNIMPL sfork
346: 178 UNIMPL getdescriptor
347: 179 UNIMPL setdescriptor
348: 180 UNIMPL
349:
350: ; Syscalls 180-199 are used by/reserved for BSD
351: 181 NOARGS { int sys_setgid(gid_t gid); }
352: 182 NOARGS { int sys_setegid(gid_t egid); }
353: 183 NOARGS { int sys_seteuid(uid_t euid); }
354: 184 UNIMPL
355: 185 UNIMPL
356: 186 UNIMPL
357: 187 UNIMPL
358: 188 STD { int freebsd_sys_stat(char *path, struct stat35 *ub); }
359: 189 NOARGS { int compat_35_sys_fstat(int fd, \
360: struct stat35 *sb); }
361: 190 STD { int freebsd_sys_lstat(char *path, \
362: struct stat35 *ub); }
363: 191 STD { int freebsd_sys_pathconf(char *path, int name); }
364: 192 NOARGS { int sys_fpathconf(int fd, int name); }
365: 193 UNIMPL
366: 194 NOARGS { int sys_getrlimit(u_int which, struct rlimit *rlp); }
367: 195 NOARGS { int sys_setrlimit(u_int which, struct rlimit *rlp); }
368: 196 NOARGS { int sys_getdirentries(int fd, char *buf, \
369: u_int count, long *basep); }
370: 197 STD { caddr_t freebsd_sys_mmap(caddr_t addr, size_t len, \
371: int prot, int flags, int fd, long pad, off_t pos); }
372: 198 NOARGS { int sys_nosys(void); } __syscall
373: 199 NOARGS { off_t sys_lseek(int fd, int pad, off_t offset, \
374: int whence); }
375: 200 STD { int freebsd_sys_truncate(char *path, int pad, \
376: off_t length); }
377: 201 NOARGS { int sys_ftruncate(int fd, int pad, off_t length); }
378: 202 NOARGS { int sys___sysctl(int *name, u_int namelen, \
379: void *old, size_t *oldlenp, void *new, \
380: size_t newlen); }
381: 203 NOARGS { int sys_mlock(caddr_t addr, size_t len); }
382: 204 NOARGS { int sys_munlock(caddr_t addr, size_t len); }
383: 205 UNIMPL sys_undelete
384: 206 UNIMPL futimes
385: 207 NOARGS { int sys_getpgid(pid_t pid); }
386: 208 UNIMPL reboot
387: 209 NOARGS { int sys_poll(struct pollfd *fds, \
388: unsigned long nfds, int timeout); }
389: ;
390: ; Syscalls 210-219 are reserved for dynamically loaded syscalls
391: ;
392: 210 UNIMPL
393: 211 UNIMPL
394: 212 UNIMPL
395: 213 UNIMPL
396: 214 UNIMPL
397: 215 UNIMPL
398: 216 UNIMPL
399: 217 UNIMPL
400: 218 UNIMPL
401: 219 UNIMPL
402: ; Syscalls 220-239 are reserved for syscalls imported from NetBSD
403: #ifdef SYSVSEM
404: 220 NOARGS { int sys___semctl(int semid, int semnum, int cmd, \
405: union semun *arg); }
406: 221 NOARGS { int sys_semget(key_t key, int nsems, int semflg); }
407: 222 NOARGS { int sys_semop(int semid, struct sembuf *sops, \
408: u_int nsops); }
409: 223 OBSOL sys_semconfig
410: #else
411: 220 UNIMPL sys___semctl
412: 221 UNIMPL sys_semget
413: 222 UNIMPL sys_semop
414: 223 UNIMPL sys_semconfig
415: #endif
416: #ifdef SYSVMSG
417: 224 NOARGS { int sys_msgctl(int msqid, int cmd, \
418: struct msqid_ds *buf); }
419: 225 NOARGS { int sys_msgget(key_t key, int msgflg); }
420: 226 NOARGS { int sys_msgsnd(int msqid, void *msgp, size_t msgsz, \
421: int msgflg); }
422: 227 NOARGS { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
423: long msgtyp, int msgflg); }
424: #else
425: 224 UNIMPL sys_msgctl
426: 225 UNIMPL sys_msgget
427: 226 UNIMPL sys_msgsnd
428: 227 UNIMPL sys_msgrcv
429: #endif
430: #ifdef SYSVSHM
431: 228 NOARGS { int sys_shmat(int shmid, void *shmaddr, int shmflg); }
432: 229 NOARGS { int sys_shmctl(int shmid, int cmd, \
433: struct shmid_ds *buf); }
434: 230 NOARGS { int sys_shmdt(void *shmaddr); }
435: 231 NOARGS { int sys_shmget(key_t key, int size, int shmflg); }
436: #else
437: 228 UNIMPL sys_shmat
438: 229 UNIMPL sys_shmctl
439: 230 UNIMPL sys_shmdt
440: 231 UNIMPL sys_shmget
441: #endif
442: 232 NOARGS { int sys_clock_gettime(clockid_t clock_id, \
443: struct timespec *tp); }
444: 233 UNIMPL
445: 234 UNIMPL
446: 235 UNIMPL timer_create
447: 236 UNIMPL timer_delete
448: 237 UNIMPL timer_settime
449: 238 UNIMPL timer_gettime
450: 239 UNIMPL timer_getoverrun
451: 240 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \
452: struct timespec *rmtp); }
453: 241 UNIMPL
454: 242 UNIMPL
455: 243 UNIMPL
456: 244 UNIMPL
457: 245 UNIMPL
458: 246 UNIMPL
459: 247 UNIMPL
460: 248 UNIMPL
461: 249 UNIMPL
462: ; syscall numbers initially used in OpenBSD
463: 250 NOARGS { int sys_minherit(caddr_t addr, size_t len, \
464: int inherit); }
465: 251 NOARGS { int sys_rfork(int flags); }
466: 252 STD { int freebsd_sys_poll2(struct pollfd *fds, \
467: unsigned long nfds, int timeout); }
468: 253 NOARGS { int sys_issetugid(void); }
469: 254 NOARGS { int sys_lchown(char *path, int uid, int gid); }
470: 255 UNIMPL
471: 256 UNIMPL
472: 257 UNIMPL
473: 258 UNIMPL
474: 259 UNIMPL
475: 260 UNIMPL
476: 261 UNIMPL
477: 262 UNIMPL
478: 263 UNIMPL
479: 264 UNIMPL
480: 265 UNIMPL
481: 266 UNIMPL
482: 267 UNIMPL
483: 268 UNIMPL
484: 269 UNIMPL
485: 270 UNIMPL
486: 271 UNIMPL
487: 272 STD { int freebsd_sys_getdents(int fd, void *dirent, \
488: unsigned count); }
489: 273 UNIMPL
490: 274 UNIMPL lchmod
491: 275 UNIMPL lchown
492: 276 UNIMPL lutimes
493: 277 UNIMPL msync
494: 278 UNIMPL stat
495: 279 UNIMPL fstat
496: 280 UNIMPL lstat
497: 281 UNIMPL
498: 282 UNIMPL
499: 283 UNIMPL
500: 284 UNIMPL
501: 285 UNIMPL
502: 286 UNIMPL
503: 287 UNIMPL
504: 288 UNIMPL
505: 289 UNIMPL
506: 290 UNIMPL
507: 291 UNIMPL
508: 292 UNIMPL
509: 293 UNIMPL
510: 294 UNIMPL
511: 295 UNIMPL
512: 296 UNIMPL
513: 297 UNIMPL fhstatfs
514: 298 UNIMPL fhopen
515: 299 UNIMPL fhstat
516: ; syscall numbers for FreeBSD
517: 300 UNIMPL modnext
518: 301 UNIMPL modstat
519: 302 UNIMPL modfnext
520: 303 UNIMPL modfind
521: 304 UNIMPL kldload
522: 305 UNIMPL kldunload
523: 306 UNIMPL kldfind
524: 307 UNIMPL kldnext
525: 308 UNIMPL kldstat
526: 309 UNIMPL kldfirstmod
527: 310 UNIMPL getsid
528: 311 NOARGS { int sys_setresuid(uid_t ruid, uid_t euid, \
529: uid_t suid); }
530: 312 NOARGS { int sys_setresgid(gid_t rgid, gid_t egid, \
531: gid_t sgid); }
532: 313 UNIMPL signanosleep
533: 314 UNIMPL aio_return
534: 315 UNIMPL aio_suspend
535: 316 UNIMPL aio_cancel
536: 317 UNIMPL aio_error
537: 318 UNIMPL aio_read
538: 319 UNIMPL aio_write
539: 320 UNIMPL lio_listio
540: 321 UNIMPL yield
541: 322 UNIMPL thr_sleep
542: 323 UNIMPL thr_wakeup
543: 324 UNIMPL mlockall
544: 325 UNIMPL munlockall
545: 326 UNIMPL __getcwd
546: 327 UNIMPL sched_setparam
547: 328 UNIMPL sched_getparam
548: 329 UNIMPL sched_setscheduler
549: 330 UNIMPL sched_getscheduler
550: 331 UNIMPL sched_yield
551: 332 UNIMPL sched_get_priority_max
552: 333 UNIMPL sched_get_priority_min
553: 334 UNIMPL sched_rr_get_interval
554: 335 UNIMPL utrace
555: 336 UNIMPL sendfile
556: 337 UNIMPL kldsym
557: 338 UNIMPL jail
558: 339 UNIMPL pioctl
559: 340 STD { int freebsd_sys_sigprocmask40(int how, const freebsd_sigset_t \
560: *set, freebsd_sigset_t *oset); }
561: 341 STD { int freebsd_sys_sigsuspend40(const freebsd_sigset_t *sigmask); }
562: 342 STD { int freebsd_sys_sigaction40(int sig, const struct freebsd_sigaction \
563: *act, struct freebsd_sigaction *oact); }
564: 343 STD { int freebsd_sys_sigpending40(freebsd_sigset_t *set); }
565: 344 UNIMPL 4.0 sigreturn
566: 345 UNIMPL sigtimedwait
567: 346 UNIMPL sigwaitinfo
568: 347 UNIMPL __acl_get_file
569: 348 UNIMPL __acl_set_file
570: 349 UNIMPL __acl_get_fd
571: 350 UNIMPL __acl_set_fd
572: 351 UNIMPL __acl_delete_file
573: 352 UNIMPL __acl_delete_fd
574: 353 UNIMPL __acl_aclcheck_file
575: 354 UNIMPL __acl_aclcheck_fd
576: 355 UNIMPL extattrctl
577: 356 UNIMPL extattr_set_file
578: 357 UNIMPL extattr_get_file
579: 358 UNIMPL extattr_delete_file
580: 359 UNIMPL aio_waitcomplete
581: 360 UNIMPL getresuid
582: 361 UNIMPL getresgid
583: 362 NOARGS { int sys_kqueue(void); }
584: 363 NOARGS { int sys_kevent(int kq, const struct kevent *changelist, \
585: int nchanges, struct kevent *eventlist, int nevents, \
586: const struct timespec *timeout); }
587: 364 UNIMPL __cap_get_proc
588: 365 UNIMPL __cap_set_proc
589: 366 UNIMPL __cap_get_fd
590: 367 UNIMPL __cap_get_file
591: 368 UNIMPL __cap_set_fd
592: 369 UNIMPL __cap_set_file
593: 370 UNIMPL lkmressym
594: 371 UNIMPL extattr_set_fd
595: 372 UNIMPL extattr_get_fd
596: 373 UNIMPL extattr_delete_fd
597: 374 UNIMPL __setugid
598: 375 UNIMPL nfsclnt
599: 376 UNIMPL eaccess
600: 377 UNIMPL afs_syscall
601: 378 UNIMPL nmount
602: 379 UNIMPL kse_exit
603: 380 UNIMPL kse_wakeup
604: 381 UNIMPL kse_create
605: 382 UNIMPL kse_thr_interrupt
606: 383 UNIMPL kse_release
607: 384 UNIMPL __mac_get_proc
608: 385 UNIMPL __mac_set_proc
609: 386 UNIMPL __mac_get_fd
610: 387 UNIMPL __mac_get_file
611: 388 UNIMPL __mac_set_fd
612: 389 UNIMPL __mac_set_file
613: 390 UNIMPL kenv
614: 391 UNIMPL lchflags
615: 392 UNIMPL uuidgen
616: 393 UNIMPL sendfile
617: 394 UNIMPL mac_syscall
618: 395 UNIMPL getfsstat
619: 396 UNIMPL statfs
620: 397 UNIMPL fsstatfs
621: 398 UNIMPL fhstatfs
622: 399 UNIMPL nosys
623: 400 UNIMPL ksem_close
624: 401 UNIMPL ksem_post
625: 402 UNIMPL ksem_wait
626: 403 UNIMPL ksem_trywait
627: 404 UNIMPL ksem_init
628: 405 UNIMPL ksem_open
629: 406 UNIMPL ksem_unlink
630: 407 UNIMPL ksem_getvalue
631: 408 UNIMPL ksem_destroy
632: 409 UNIMPL __mac_get_pid
633: 410 UNIMPL __mac_get_link
634: 411 UNIMPL __mac_set_link
635: 412 UNIMPL extattr_set_link
636: 413 UNIMPL extattr_get_link
637: 414 UNIMPL extattr_delete_link
638: 415 UNIMPL __mac_execve
639: 416 UNIMPL sigaction
640: 417 UNIMPL sigreturn
641: 418 UNIMPL __xstat
642: 419 UNIMPL __xfstat
643: 420 UNIMPL __xlstat
644: 421 UNIMPL getcontext
645: 422 UNIMPL setcontext
646: 423 UNIMPL swapcontext
647: 424 UNIMPL swapoff
648: 425 UNIMPL __acl_get_link
649: 426 UNIMPL __acl_set_link
650: 427 UNIMPL __acl_delete_link
651: 428 UNIMPL __acl_aclcheck_link
652: 429 UNIMPL sigwait
653: 430 UNIMPL thr_create
654: 431 UNIMPL thr_exit
655: 432 UNIMPL thr_self
656: 433 UNIMPL thr_kill
657: 434 UNIMPL _umtx_lock
658: 435 UNIMPL _umtx_unlock
659: 436 UNIMPL jail_attach
660: 437 UNIMPL extattr_list_fd
661: 438 UNIMPL extattr_list_file
662: 439 UNIMPL extattr_list_link
CVSweb