syscalls.master revision 1.24 1 $NetBSD: syscalls.master,v 1.24 2000/12/02 16:43:51 jdolecek Exp $
2 ;
3 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4
5 ; NetBSD alpha COMPAT_LINUX 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 ; INDIR included, but don't define the syscall args structure
20 ; and allow it to be "really" varargs.
21 ;
22 ; The compat options are defined in the syscalls.conf file, and the
23 ; compat option name is prefixed to the syscall name. Other than
24 ; that, they're like NODEF (for 'compat' options), or STD (for
25 ; 'libcompat' options).
26 ;
27 ; The type-dependent arguments are as follows:
28 ; For STD, NODEF, NOARGS, and compat syscalls:
29 ; { pseudo-proto } [alias]
30 ; For other syscalls:
31 ; [comment]
32 ;
33 ; #ifdef's, etc. may be included, and are copied to the output files.
34 ; #include's are copied to the syscall names and switch definition files only.
35 ;
36 ; (ERH: 3/18/00)
37 ;
38 ; XXX XAX things to do:
39 ; make sure non-linux_foo() matches real linux syscalls.
40 ; create new linux_foo functions otherwise
41 ; (i.e. reboot, msgrcv? )
42 ; make sure linux_foo() matches expected prototypes in .c files.
43 ; kill not used functions. (ifdef the actual code)
44 ; fix getfsuid in linux_misc.c
45 ; make linux_sys_sigreturn in linux_machdep.c use frame.extramask
46 ;
47 ; NOT USED = This syscall is not really used in Linux, except in its
48 ; osf compat mode. Since Linux binaries shouldn't ever
49 ; call it and osf binaries run under a different emulation,
50 ; it shouldn't matter that the linux version of the
51 ; function might not DTRT. Define it anyway so we
52 ; don't have to split off or ifdef the associated function.
53 ; A bit better might be to have makesyscalls identify this
54 ; as "define but don't include in table" so it doesn't actually
55 ; ever get called.
56 ; UNIMPL <blank> = not implemented here nor in linux source
57 ; UNIMPL osf_* = osf functions implemented in linux, not here.
58 ;
59
60 if defined(_KERNEL) && !defined(_LKM)
61 #include "opt_sysv.h"
62 #include "opt_compat_43.h"
63 #include "opt_compat_osf1.h"
64 endif
65
66 #include <sys/param.h>
67 #include <sys/poll.h>
68 #include <sys/systm.h>
69 #include <sys/signal.h>
70 #include <sys/mount.h>
71 #include <sys/syscallargs.h>
72
73 #include <compat/linux/common/linux_types.h>
74 #include <compat/linux/common/linux_signal.h>
75 #include <compat/linux/common/linux_siginfo.h>
76 #include <compat/linux/common/linux_ipc.h>
77 #include <compat/linux/common/linux_msg.h>
78 #include <compat/linux/common/linux_sem.h>
79 #include <compat/linux/common/linux_shm.h>
80 #include <compat/linux/common/linux_mmap.h>
81 ;#include <compat/linux/common/linux_machdep.h>
82
83 #include <compat/linux/linux_syscallargs.h>
84
85 0 NOARGS { int sys_nosys(void); } syscall
86 1 NOARGS { int sys_exit(int rval); }
87 2 NOARGS { int sys_fork(void); }
88 3 NOARGS { int sys_read(int fd, void *buf, size_t nbyte); }
89 4 NOARGS { int sys_write(int fd, const void *buf, size_t nbyte); }
90 5 UNIMPL
91 6 NOARGS { int sys_close(int fd); }
92 7 NODEF { int osf1_sys_wait4(int pid, int *status, \
93 int options, struct osf1_rusage *rusage); }
94 ;8 ALIAS osf1_sys_old_creat, NOT USED
95 8 STD { int linux_sys_creat(const char *path, mode_t mode); }
96 9 NOARGS { int sys_link(const char *path, const char *link); }
97 10 STD { int linux_sys_unlink(const char *path); }
98 11 UNIMPL
99 12 STD { int linux_sys_chdir(const char *path); }
100 13 NOARGS { int sys_fchdir(int fd); }
101 14 STD { int linux_sys_mknod(const char *path, int mode, int dev); }
102 15 STD { int linux_sys_chmod(const char *path, int mode); }
103 16 STD { int linux_sys_chown(const char *path, int uid, int gid); }
104 ;17 ALIAS osf1_sys_brk
105 17 STD { int linux_sys_brk(char *nsize); }
106 18 UNIMPL
107 19 NOARGS { long compat_43_sys_lseek(int fd, long offset, \
108 int whence); }
109 20 NOARGS { pid_t sys_getpid(void); }
110 21 NODEF { int osf1_sys_mount(int type, const char *path, \
111 int flags, caddr_t data); }
112 22 UNIMPL umount
113 23 NOARGS { int sys_setuid(uid_t uid); }
114 24 NOARGS { uid_t sys_getuid(void); }
115 25 UNIMPL
116 26 STD { int linux_sys_ptrace(long request, long pid, \
117 long addr, long data); }
118 27 UNIMPL
119 28 UNIMPL
120 29 UNIMPL
121 30 UNIMPL
122 31 UNIMPL
123 32 UNIMPL
124 33 STD { int linux_sys_access(const char *path, int flags); }
125 34 UNIMPL
126 35 UNIMPL
127 36 NOARGS { int sys_sync(void); }
128 37 STD { int linux_sys_kill(int pid, int signum); }
129 38 UNIMPL
130 39 NOARGS { int sys_setpgid(int pid, int pgid); }
131 40 UNIMPL
132 41 NOARGS { int sys_dup(int fd); }
133 42 NOARGS { int linux_sys_pipe(void); }
134 43 NODEF { int osf1_sys_set_program_attributes( \
135 caddr_t taddr, unsigned long tsize, \
136 caddr_t daddr, unsigned long dsize); }
137 44 UNIMPL
138 45 STD { int linux_sys_open(const char *path, int flags, int mode); }
139 46 UNIMPL
140 47 NOARGS { gid_t sys_getgid(void); }
141 ; ALIAS osf1_sys_sigprocmask(int how, unsigned long mask);
142 ; XXX <- copied from osf1/syscalls.master
143 48 NOARGS { int compat_13_sys_sigprocmask(int how, \
144 sigset13_t mask); }
145 49 UNIMPL
146 50 UNIMPL
147 51 NOARGS { int sys_acct(const char *path); }
148 52 STD { int linux_sys_sigpending(linux_old_sigset_t *set); }
149 53 UNIMPL
150 54 STD { int linux_sys_ioctl(int fd, u_long com, \
151 caddr_t data); }
152 55 UNIMPL
153 56 UNIMPL
154 57 STD { int linux_sys_symlink(const char *path, const char *to); }
155 58 STD { int linux_sys_readlink(const char *name, char *buf, \
156 int count); }
157 59 STD { int linux_sys_execve(const char *path, char **argp, \
158 char **envp); }
159 60 NOARGS { mode_t sys_umask(mode_t newmask); }
160 61 NOARGS { int sys_chroot(const char *path); }
161 62 UNIMPL
162 63 NOARGS { int sys_getpgrp(void); }
163 64 NOARGS { int compat_43_sys_getpagesize(void); }
164 65 UNIMPL
165 66 NOARGS { int sys___vfork14(void); }
166 67 STD { int linux_sys_stat(const char *path, \
167 struct linux_stat *sp); }
168 68 STD { int linux_sys_lstat(const char *path, \
169 struct linux_stat *sp); }
170 69 UNIMPL
171 70 UNIMPL
172 ;71 ALIAS osf1_sys_mmap
173 71 NOARGS { int linux_sys_mmap(unsigned long addr, size_t len, \
174 int prot, int flags, int fd, off_t offset); }
175 72 UNIMPL
176 73 NOARGS { int sys_munmap(void *addr, size_t len); }
177 74 NOARGS { int sys_mprotect(void *addr, size_t len, int prot); }
178 ; Liunx sys_madvise just returns 0.
179 75 UNIMPL madvise
180 76 UNIMPL vhangup
181 77 UNIMPL
182 78 UNIMPL
183 79 NOARGS { int sys_getgroups(int gidsetsize, gid_t *gidset); }
184 80 NOARGS { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
185 81 UNIMPL
186 82 UNIMPL setpgrp
187 83 NODEF { int osf1_sys_setitimer(u_int which, \
188 struct osf1_itimerval *itv, \
189 struct osf1_itimerval *oitv); }
190 84 UNIMPL
191 85 UNIMPL
192 86 UNIMPL osf1_sys_getitimer
193 87 NOARGS { int compat_43_sys_gethostname(char *hostname, \
194 u_int len); }
195 88 NOARGS { int compat_43_sys_sethostname(char *hostname, \
196 u_int len); }
197 89 UNIMPL getdtablesize
198 90 NOARGS { int sys_dup2(int from, int to); }
199 91 STD { int linux_sys_fstat(int fd, struct linux_stat *sp); }
200 92 STD { int linux_sys_fcntl(int fd, int cmd, void *arg); }
201 93 NODEF { int osf1_sys_select(u_int nd, fd_set *in, \
202 fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
203 94 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \
204 int timeout); }
205 95 NOARGS { int sys_fsync(int fd); }
206 96 NOARGS { int sys_setpriority(int which, int who, int prio); }
207 97 STD { int linux_sys_socket(int domain, int type, \
208 int protocol); }
209 98 STD { int linux_sys_connect(int s, \
210 const struct sockaddr *name, \
211 unsigned int namelen); }
212 99 NOARGS { int compat_43_sys_accept(int s, \
213 caddr_t name, int *anamelen); }
214 ;100 ALIAS osf1_sys_getpriority
215 100 NOARGS { int sys_getpriority(int which, int who); }
216 101 NOARGS { int compat_43_sys_send(int s, caddr_t buf, int len, \
217 int flags); }
218 102 NOARGS { int compat_43_sys_recv(int s, caddr_t buf, int len, \
219 int flags); }
220 103 STD { int linux_sys_sigreturn(struct linux_sigframe *sfp); }
221 104 NOARGS { int sys_bind(int s, const struct sockaddr *name, \
222 unsigned int namelen); }
223 105 STD { int linux_sys_setsockopt(int s, int level, \
224 int optname, void *optval, int optlen); }
225 106 NOARGS { int sys_listen(int s, int backlog); }
226 107 UNIMPL
227 108 UNIMPL
228 109 UNIMPL
229 110 UNIMPL
230
231 111 STD { int linux_sys_sigsuspend(caddr_t restart, \
232 int oldmask, int mask); }
233 ;112 ALIAS osf1_sys_sigstack
234 112 NOARGS { int compat_43_sys_sigstack(struct sigstack *nss, \
235 struct sigstack *oss); }
236 113 NOARGS { size_t sys_recvmsg(int fd, struct msghdr *msg, \
237 int flags); }
238 114 NOARGS { ssize_t sys_sendmsg(int fd, \
239 const struct msghdr *msg, int flags); }
240 115 UNIMPL
241 116 NODEF { int osf1_sys_gettimeofday(struct osf1_timeval *tv, \
242 struct osf1_timezone *tzp); }
243 117 NODEF { int osf1_sys_getrusage(int who, \
244 struct osf1_rusage *rusage); }
245 118 STD { int linux_sys_getsockopt(int s, int level, \
246 int optname, void *optval, int *optlen); }
247 119 UNIMPL
248 120 NOARGS { ssize_t sys_readv(int fd, const struct iovec *iovp, \
249 int iovcnt); }
250 121 NOARGS { ssize_t sys_writev(int fd, const struct iovec *iovp, \
251 int iovcnt); }
252 122 NODEF { int osf1_sys_settimeofday(struct osf1_timeval *tv, \
253 struct osf1_timezone *tzp); }
254 123 STD { int linux_sys_fchown(int fd, int uid, int gid); }
255 124 NOARGS { int sys_fchmod(int fd, mode_t mode); }
256 125 STD { int linux_sys_recvfrom(int s, void *buf, int len, \
257 int flags, struct sockaddr *from, \
258 int *fromlen); }
259 126 STD { int linux_sys_setreuid(int ruid, int euid); }
260 127 STD { int linux_sys_setregid(int rgid, int egid); }
261 128 STD { int linux_sys_rename(const char *from, const char *to); }
262 129 STD { int linux_sys_truncate(const char *path, long length); }
263 130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); }
264 131 NOARGS { int sys_flock(int fd, int how); }
265 132 NOARGS { int sys_setgid(gid_t gid); }
266 133 STD { int linux_sys_sendto(int s, void *msg, int len, \
267 int flags, struct sockaddr *to, int tolen); }
268 134 NOARGS { int sys_shutdown(int s, int how); }
269 135 STD { int linux_sys_socketpair(int domain, int type, \
270 int protocol, int *rsv); }
271 136 STD { int linux_sys_mkdir(const char *path, int mode); }
272 137 STD { int linux_sys_rmdir(const char *path); }
273 138 NODEF { int osf1_sys_utimes(const char *path, \
274 const struct osf1_timeval *tptr); }
275 139 UNIMPL
276 140 UNIMPL
277 141 NOARGS { int compat_43_sys_getpeername(int fdes, \
278 caddr_t asa, int *alen); }
279 142 UNIMPL
280 143 UNIMPL
281 144 NOARGS { int compat_43_sys_getrlimit(int which, \
282 struct orlimit *rlp); }
283 145 NOARGS { int compat_43_sys_setrlimit(int which, \
284 const struct orlimit *rlp); }
285 146 UNIMPL
286 147 NOARGS { int sys_setsid(void); }
287 148 UNIMPL quotactl
288 149 UNIMPL
289 150 NOARGS { int compat_43_sys_getsockname(int fdec, \
290 caddr_t asa, int *alen); }
291 151 UNIMPL
292 152 UNIMPL
293 153 UNIMPL
294 154 UNIMPL
295 155 UNIMPL
296 ;156 ALIAS osf1_sys_sigaction
297 156 STD { int linux_sys_sigaction(int signum, \
298 const struct linux_old_sigaction *nsa, \
299 struct linux_old_sigaction *osa); }
300 157 UNIMPL
301 158 UNIMPL
302 ;159 ALIAS osf1_sys_getdirentries
303 159 NOARGS { int compat_43_sys_getdirentries(int fd, char *buf, \
304 u_int count, long *basep); }
305 160 NODEF { int osf1_sys_statfs(const char *path, \
306 struct osf1_statfs *buf, int len); }
307 161 NODEF { int osf1_sys_fstatfs(int fd, \
308 struct osf1_statfs *buf, int len); }
309 162 UNIMPL
310 163 UNIMPL
311 164 UNIMPL
312 ;165 ALIAS osf1_sys_getdomainname
313 165 NOARGS { int compat_09_sys_getdomainname(char *domainname, \
314 int len); }
315 166 STD { int linux_sys_setdomainname(char *domainname, \
316 int len); }
317 167 UNIMPL
318 168 UNIMPL
319 169 UNIMPL
320 170 UNIMPL
321 171 UNIMPL
322 172 UNIMPL
323 173 UNIMPL
324 174 UNIMPL
325 175 UNIMPL
326 176 UNIMPL
327 177 UNIMPL
328 178 UNIMPL
329 179 UNIMPL
330 180 UNIMPL
331 181 UNIMPL
332 182 UNIMPL
333 183 UNIMPL
334 184 UNIMPL
335 185 UNIMPL
336 186 UNIMPL
337 187 UNIMPL
338 188 UNIMPL
339 189 UNIMPL
340 190 UNIMPL
341 191 UNIMPL
342 192 UNIMPL
343 193 UNIMPL
344 194 UNIMPL
345 195 UNIMPL
346 196 UNIMPL
347 197 UNIMPL
348 198 UNIMPL
349 199 UNIMPL osf1_sys_swapon
350 #ifdef SYSVMSG
351 200 NOARGS { int linux_sys_msgctl(int msqid, int cmd, \
352 struct linux_msqid_ds *buf); }
353 201 NOARGS { int sys_msgget(key_t key, int msgflg); }
354 202 NOARGS { ssize_t sys_msgrcv(int msqid, void *msgp, \
355 size_t msgsz, long msgtyp, int msgflg); }
356 203 NOARGS { int sys_msgsnd(int msqid, void *msgp, size_t msgsz, \
357 int msgflg); }
358 #else
359 200 UNIMPL msgctl
360 201 UNIMPL msgget
361 202 UNIMPL msgrcv
362 203 UNIMPL msgsnd
363 #endif
364 #ifdef SYSVSEM
365 204 NOARGS { int linux_sys_semctl(int semid, int semnum, \
366 int cmd, union linux_semun arg); }
367 205 NOARGS { int sys_semget(key_t key, int nsems, int semflg); }
368 206 NOARGS { int sys_semop(int semid, struct sembuf *sops, \
369 size_t nsops); }
370 #else
371 204 UNIMPL semctl
372 205 UNIMPL semget
373 206 UNIMPL semop
374 #endif
375 ;207 ALIAS osf1_sys_utsname
376 207 STD { int linux_sys_olduname(struct linux_old_utsname *up); }
377 208 STD { int linux_sys_lchown(char *path, int uid, int gid); }
378 #ifdef SYSVSHM
379 209 NOARGS { int linux_sys_shmat(int shmid, void *shmaddr, \
380 int shmflg, u_long *raddr); }
381 210 NOARGS { int linux_sys_shmctl(int shmid, int cmd, \
382 struct linux_shmid_ds *buf); }
383 211 NOARGS { int sys_shmdt(const void *shmaddr); }
384 212 NOARGS { int sys_shmget(key_t key, size_t size, int shmflg); }
385 #else
386 209 UNIMPL shmat
387 210 UNIMPL shmctl
388 211 UNIMPL shmdt
389 212 UNIMPL shmget
390 #endif
391 213 UNIMPL
392 214 UNIMPL
393 215 UNIMPL
394 216 UNIMPL
395 217 STD { int linux_sys_msync(caddr_t addr, int len, int fl); }
396 218 UNIMPL
397 219 UNIMPL
398 220 UNIMPL
399 221 UNIMPL
400 222 UNIMPL
401 223 UNIMPL
402 224 UNIMPL
403 225 UNIMPL
404 226 UNIMPL
405 227 UNIMPL
406 228 UNIMPL
407 229 UNIMPL
408 230 UNIMPL
409 231 UNIMPL
410 232 UNIMPL
411 233 STD { int linux_sys_getpgid(int pid); }
412 234 NOARGS { pid_t sys_getsid(pid_t pid); }
413 235 UNIMPL sigaltstack
414 236 UNIMPL
415 237 UNIMPL
416 238 UNIMPL
417 239 UNIMPL
418 240 UNIMPL
419 241 NODEF { int osf1_sys_sysinfo(int cmd, char buf, long len); }
420 242 UNIMPL
421 243 UNIMPL
422 244 UNIMPL osf1_sys_proplist_syscall
423 245 UNIMPL
424 246 UNIMPL
425 247 UNIMPL
426 248 UNIMPL
427 249 UNIMPL
428 250 UNIMPL
429 251 NODEF { int osf1_sys_usleep_thread( \
430 struct osf1_timeval *sleep, \
431 struct osf1_timeval *slept); }
432 252 UNIMPL
433 253 UNIMPL
434 254 UNIMPL
435 255 UNIMPL sysfs
436 256 NODEF { int osf1_sys_getsysinfo(u_long op, caddr_t buffer, \
437 u_long nbytes, caddr_t arg, u_long flag); }
438 257 NODEF { int osf1_sys_setsysinfo(u_long op, caddr_t buffer, \
439 u_long nbytes, caddr_t arg, u_long flag); }
440 258 UNIMPL
441 259 UNIMPL
442 260 UNIMPL
443 ; This entry doesn't exist in the Alpha linux syscall table but the function is
444 ; implemented and used on other ports.
445 261 STD { int linux_sys_fdatasync(int fd); }
446 262 UNIMPL
447 263 UNIMPL
448 264 UNIMPL
449 265 UNIMPL
450 266 UNIMPL
451 267 UNIMPL
452 268 UNIMPL
453 269 UNIMPL
454 270 UNIMPL
455 271 UNIMPL
456 272 UNIMPL
457 273 UNIMPL
458 274 UNIMPL
459 275 UNIMPL
460 276 UNIMPL
461 277 UNIMPL
462 278 UNIMPL
463 279 UNIMPL
464 280 UNIMPL
465 281 UNIMPL
466 282 UNIMPL
467 283 UNIMPL
468 284 UNIMPL
469 285 UNIMPL
470 286 UNIMPL
471 287 UNIMPL
472 288 UNIMPL
473 289 UNIMPL
474 290 UNIMPL
475 291 UNIMPL
476 292 UNIMPL
477 293 UNIMPL
478 294 UNIMPL
479 295 UNIMPL
480 296 UNIMPL
481 297 UNIMPL
482 298 UNIMPL
483 299 UNIMPL
484 300 UNIMPL bdflush
485 301 UNIMPL sethae
486 302 UNIMPL mount
487 303 UNIMPL old_adjtimex
488 304 STD { int linux_sys_swapoff(const char *path); }
489 305 STD { int linux_sys_getdents(int fd, \
490 struct linux_dirent *dent, unsigned int count); }
491 306 UNIMPL alpha_create_module
492 307 UNIMPL init_module
493 308 UNIMPL delete_module
494 309 UNIMPL get_kernel_syms
495 310 UNIMPL syslog
496 311 STD { int linux_sys_reboot(int magic1, int magic2, \
497 int cmd, void *arg); }
498 312 STD { int linux_sys_clone(int flags, void *stack); }
499 #ifdef EXEC_AOUT
500 313 STD { int linux_sys_uselib(const char *path); }
501 #else
502 313 UNIMPL sys_uselib
503 #endif
504 314 NOARGS { int sys_mlock(const void *addr, size_t len); }
505 315 NOARGS { int sys_munlock(const void *addr, size_t len); }
506 316 NOARGS { int sys_mlockall(int flags); }
507 317 NOARGS { int sys_munlockall(void); }
508 318 UNIMPL sysinfo
509 319 STD { int linux_sys___sysctl(struct linux___sysctl *lsp); }
510 320 UNIMPL idle
511 321 UNIMPL oldumount
512 322 STD { int linux_sys_swapon(const char *name); }
513 323 STD { int linux_sys_times(struct times *tms); }
514 324 STD { int linux_sys_personality(int per); }
515 325 STD { int linux_sys_setfsuid(uid_t uid); }
516 326 UNIMPL setfsgid
517 327 UNIMPL ustat
518 328 STD { int linux_sys_statfs(const char *path, \
519 struct linux_statfs *sp); }
520 329 STD { int linux_sys_fstatfs(int fd, \
521 struct linux_statfs *sp); }
522 330 STD { int linux_sys_sched_setparam(pid_t pid, \
523 const struct linux_sched_param *sp); }
524 331 STD { int linux_sys_sched_getparam(pid_t pid, \
525 struct linux_sched_param *sp); }
526 332 STD { int linux_sys_sched_setscheduler(pid_t pid, \
527 int policy, const struct linux_sched_param *sp); }
528 333 STD { int linux_sys_sched_getscheduler(pid_t pid); }
529 334 STD { int linux_sys_sched_yield(void); }
530 335 STD { int linux_sys_sched_get_priority_max(int policy); }
531 336 STD { int linux_sys_sched_get_priority_min(int policy); }
532 337 UNIMPL sched_rr_get_interval
533 338 UNIMPL afs_syscall
534 339 STD { int linux_sys_uname(struct linux_utsname *up); }
535 340 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \
536 struct timespec *rmtp); }
537 341 STD { void *linux_sys_mremap(void *old_address, \
538 size_t old_size, size_t new_size, u_long flags); }
539 342 UNIMPL nfsservctl
540 343 STD { int linux_sys_setresuid(uid_t ruid, uid_t euid, \
541 uid_t suid); }
542 344 STD { int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
543 uid_t *suid); }
544 345 UNIMPL pciconfig_read
545 346 UNIMPL pciconfig_write
546 347 UNIMPL query_module
547 348 UNIMPL prctl
548 349 STD { int linux_sys_pread(int fd, char *buf, \
549 size_t nbyte, linux_off_t offset); }
550 350 STD { int linux_sys_pwrite(int fd, char *buf, \
551 size_t nbyte, linux_off_t offset); }
552 351 STD { int linux_sys_rt_sigreturn( \
553 struct linux_rt_sigframe *sfp); }
554 352 STD { int linux_sys_rt_sigaction(int signum, \
555 const struct linux_sigaction *nsa, \
556 struct linux_sigaction *osa, \
557 size_t sigsetsize); }
558 353 STD { int linux_sys_rt_sigprocmask(int how, \
559 const linux_sigset_t *set, \
560 linux_sigset_t *oset, \
561 size_t sigsetsize); }
562 354 STD { int linux_sys_rt_sigpending( \
563 linux_sigset_t *set, \
564 size_t sigsetsize); }
565 355 UNIMPL rt_sigtimedwait
566 ; XXX XAX int here? sigset_t here?
567 356 STD { int linux_sys_rt_queueinfo(int pid, int signum, \
568 linux_siginfo_t *uinfo); }
569 357 STD { int linux_sys_rt_sigsuspend(linux_sigset_t *unewset, \
570 size_t sigsetsize); }
571 358 STD { int linux_sys_select(int nfds, fd_set *readfds, \
572 fd_set *writefds, fd_set *exceptfds, \
573 struct timeval *timeout); }
574 359 NOARGS { int sys_gettimeofday(struct timeval *tp, \
575 struct timezone *tzp); }
576 360 NOARGS { int sys_settimeofday(const struct timeval *tp, \
577 const struct timezone *tzp); }
578 361 NOARGS { int sys_getitimer(int which, \
579 struct itimerval *itv); }
580 362 NOARGS { int sys_setitimer(int which, \
581 const struct itimerval *itv, \
582 struct itimerval *oitv); }
583 363 NOARGS { int sys_utimes(char *path, \
584 struct timeval *times); }
585 364 NOARGS { int sys_getrusage(int who, struct rusage *rusage); }
586 365 STD { int linux_sys_wait4(int pid, int *status, \
587 int options, struct rusage *rusage); }
588 366 UNIMPL adjtimex
589 367 NOARGS { int sys___getcwd(char *bufp, size_t length); }
590 368 UNIMPL capget
591 369 UNIMPL capset
592 370 UNIMPL sendfile
593