Project

General

Profile

Statistics
| Revision:

root / lab4 / .minix-src / include / sys / syscallargs.h @ 13

History | View | Annotate | Download (105 KB)

1
/* $NetBSD: syscallargs.h,v 1.269 2015/10/10 03:30:17 pgoyette Exp $ */
2

    
3
/*
4
 * System call argument lists.
5
 *
6
 * DO NOT EDIT-- this file is automatically generated.
7
 * created from        NetBSD: syscalls.master,v 1.280 2015/10/10 03:27:30 pgoyette Exp
8
 */
9

    
10
#ifndef _SYS_SYSCALLARGS_H_
11
#define        _SYS_SYSCALLARGS_H_
12

    
13
#ifndef RUMP_CLIENT
14
#include <sys/mount.h>
15
#include <sys/sched.h>
16
#endif
17
#include <sys/socket.h>
18

    
19
#define        SYS_MAXSYSARGS        8
20

    
21
#undef        syscallarg
22
#define        syscallarg(x)                                                        \
23
        union {                                                                \
24
                register_t pad;                                                \
25
                struct { x datum; } le;                                        \
26
                struct { /* LINTED zero array dimension */                \
27
                        int8_t pad[  /* CONSTCOND */                        \
28
                                (sizeof (register_t) < sizeof (x))        \
29
                                ? 0                                        \
30
                                : sizeof (register_t) - sizeof (x)];        \
31
                        x datum;                                        \
32
                } be;                                                        \
33
        }
34

    
35
#undef check_syscall_args
36
#define check_syscall_args(call) /*LINTED*/ \
37
        typedef char call##_check_args[sizeof (struct call##_args) \
38
                <= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
39

    
40
#ifndef RUMP_CLIENT
41
struct sys_syscall_args {
42
        syscallarg(int) code;
43
        syscallarg(register_t) args[SYS_MAXSYSARGS];
44
};
45
#endif /* !RUMP_CLIENT */
46

    
47
#ifndef RUMP_CLIENT
48
struct sys_exit_args {
49
        syscallarg(int) rval;
50
};
51
check_syscall_args(sys_exit)
52
#endif /* !RUMP_CLIENT */
53

    
54
struct sys_read_args {
55
        syscallarg(int) fd;
56
        syscallarg(void *) buf;
57
        syscallarg(size_t) nbyte;
58
};
59
check_syscall_args(sys_read)
60

    
61
struct sys_write_args {
62
        syscallarg(int) fd;
63
        syscallarg(const void *) buf;
64
        syscallarg(size_t) nbyte;
65
};
66
check_syscall_args(sys_write)
67

    
68
struct sys_open_args {
69
        syscallarg(const char *) path;
70
        syscallarg(int) flags;
71
        syscallarg(mode_t) mode;
72
};
73
check_syscall_args(sys_open)
74

    
75
struct sys_close_args {
76
        syscallarg(int) fd;
77
};
78
check_syscall_args(sys_close)
79

    
80
#ifndef RUMP_CLIENT
81
struct compat_50_sys_wait4_args {
82
        syscallarg(pid_t) pid;
83
        syscallarg(int *) status;
84
        syscallarg(int) options;
85
        syscallarg(struct rusage50 *) rusage;
86
};
87
check_syscall_args(compat_50_sys_wait4)
88
#endif /* !RUMP_CLIENT */
89

    
90
#ifndef RUMP_CLIENT
91
struct compat_43_sys_creat_args {
92
        syscallarg(const char *) path;
93
        syscallarg(mode_t) mode;
94
};
95
check_syscall_args(compat_43_sys_creat)
96
#endif /* !RUMP_CLIENT */
97

    
98
struct sys_link_args {
99
        syscallarg(const char *) path;
100
        syscallarg(const char *) link;
101
};
102
check_syscall_args(sys_link)
103

    
104
struct sys_unlink_args {
105
        syscallarg(const char *) path;
106
};
107
check_syscall_args(sys_unlink)
108

    
109
struct sys_chdir_args {
110
        syscallarg(const char *) path;
111
};
112
check_syscall_args(sys_chdir)
113

    
114
struct sys_fchdir_args {
115
        syscallarg(int) fd;
116
};
117
check_syscall_args(sys_fchdir)
118

    
119
struct compat_50_sys_mknod_args {
120
        syscallarg(const char *) path;
121
        syscallarg(mode_t) mode;
122
        syscallarg(uint32_t) dev;
123
};
124
check_syscall_args(compat_50_sys_mknod)
125

    
126
struct sys_chmod_args {
127
        syscallarg(const char *) path;
128
        syscallarg(mode_t) mode;
129
};
130
check_syscall_args(sys_chmod)
131

    
132
struct sys_chown_args {
133
        syscallarg(const char *) path;
134
        syscallarg(uid_t) uid;
135
        syscallarg(gid_t) gid;
136
};
137
check_syscall_args(sys_chown)
138

    
139
#ifndef RUMP_CLIENT
140
struct sys_obreak_args {
141
        syscallarg(char *) nsize;
142
};
143
check_syscall_args(sys_obreak)
144
#endif /* !RUMP_CLIENT */
145

    
146
#ifndef RUMP_CLIENT
147
struct compat_20_sys_getfsstat_args {
148
        syscallarg(struct statfs12 *) buf;
149
        syscallarg(long) bufsize;
150
        syscallarg(int) flags;
151
};
152
check_syscall_args(compat_20_sys_getfsstat)
153
#endif /* !RUMP_CLIENT */
154

    
155
#ifndef RUMP_CLIENT
156
struct compat_43_sys_lseek_args {
157
        syscallarg(int) fd;
158
        syscallarg(long) offset;
159
        syscallarg(int) whence;
160
};
161
check_syscall_args(compat_43_sys_lseek)
162
#endif /* !RUMP_CLIENT */
163

    
164
#ifndef RUMP_CLIENT
165
struct compat_40_sys_mount_args {
166
        syscallarg(const char *) type;
167
        syscallarg(const char *) path;
168
        syscallarg(int) flags;
169
        syscallarg(void *) data;
170
};
171
check_syscall_args(compat_40_sys_mount)
172
#endif /* !RUMP_CLIENT */
173

    
174
struct sys_unmount_args {
175
        syscallarg(const char *) path;
176
        syscallarg(int) flags;
177
};
178
check_syscall_args(sys_unmount)
179

    
180
struct sys_setuid_args {
181
        syscallarg(uid_t) uid;
182
};
183
check_syscall_args(sys_setuid)
184

    
185
#ifndef RUMP_CLIENT
186
struct sys_ptrace_args {
187
        syscallarg(int) req;
188
        syscallarg(pid_t) pid;
189
        syscallarg(void *) addr;
190
        syscallarg(int) data;
191
};
192
check_syscall_args(sys_ptrace)
193
#endif /* !RUMP_CLIENT */
194

    
195
struct sys_recvmsg_args {
196
        syscallarg(int) s;
197
        syscallarg(struct msghdr *) msg;
198
        syscallarg(int) flags;
199
};
200
check_syscall_args(sys_recvmsg)
201

    
202
struct sys_sendmsg_args {
203
        syscallarg(int) s;
204
        syscallarg(const struct msghdr *) msg;
205
        syscallarg(int) flags;
206
};
207
check_syscall_args(sys_sendmsg)
208

    
209
struct sys_recvfrom_args {
210
        syscallarg(int) s;
211
        syscallarg(void *) buf;
212
        syscallarg(size_t) len;
213
        syscallarg(int) flags;
214
        syscallarg(struct sockaddr *) from;
215
        syscallarg(socklen_t *) fromlenaddr;
216
};
217
check_syscall_args(sys_recvfrom)
218

    
219
struct sys_accept_args {
220
        syscallarg(int) s;
221
        syscallarg(struct sockaddr *) name;
222
        syscallarg(socklen_t *) anamelen;
223
};
224
check_syscall_args(sys_accept)
225

    
226
struct sys_getpeername_args {
227
        syscallarg(int) fdes;
228
        syscallarg(struct sockaddr *) asa;
229
        syscallarg(socklen_t *) alen;
230
};
231
check_syscall_args(sys_getpeername)
232

    
233
struct sys_getsockname_args {
234
        syscallarg(int) fdes;
235
        syscallarg(struct sockaddr *) asa;
236
        syscallarg(socklen_t *) alen;
237
};
238
check_syscall_args(sys_getsockname)
239

    
240
struct sys_access_args {
241
        syscallarg(const char *) path;
242
        syscallarg(int) flags;
243
};
244
check_syscall_args(sys_access)
245

    
246
struct sys_chflags_args {
247
        syscallarg(const char *) path;
248
        syscallarg(u_long) flags;
249
};
250
check_syscall_args(sys_chflags)
251

    
252
struct sys_fchflags_args {
253
        syscallarg(int) fd;
254
        syscallarg(u_long) flags;
255
};
256
check_syscall_args(sys_fchflags)
257

    
258
#ifndef RUMP_CLIENT
259
struct sys_kill_args {
260
        syscallarg(pid_t) pid;
261
        syscallarg(int) signum;
262
};
263
check_syscall_args(sys_kill)
264
#endif /* !RUMP_CLIENT */
265

    
266
#ifndef RUMP_CLIENT
267
struct compat_43_sys_stat_args {
268
        syscallarg(const char *) path;
269
        syscallarg(struct stat43 *) ub;
270
};
271
check_syscall_args(compat_43_sys_stat)
272
#endif /* !RUMP_CLIENT */
273

    
274
#ifndef RUMP_CLIENT
275
struct compat_43_sys_lstat_args {
276
        syscallarg(const char *) path;
277
        syscallarg(struct stat43 *) ub;
278
};
279
check_syscall_args(compat_43_sys_lstat)
280
#endif /* !RUMP_CLIENT */
281

    
282
struct sys_dup_args {
283
        syscallarg(int) fd;
284
};
285
check_syscall_args(sys_dup)
286

    
287
#ifndef RUMP_CLIENT
288
struct sys_profil_args {
289
        syscallarg(char *) samples;
290
        syscallarg(size_t) size;
291
        syscallarg(u_long) offset;
292
        syscallarg(u_int) scale;
293
};
294
check_syscall_args(sys_profil)
295
#endif /* !RUMP_CLIENT */
296

    
297
struct sys_ktrace_args {
298
        syscallarg(const char *) fname;
299
        syscallarg(int) ops;
300
        syscallarg(int) facs;
301
        syscallarg(pid_t) pid;
302
};
303
check_syscall_args(sys_ktrace)
304

    
305
#ifndef RUMP_CLIENT
306
struct compat_13_sys_sigaction_args {
307
        syscallarg(int) signum;
308
        syscallarg(const struct sigaction13 *) nsa;
309
        syscallarg(struct sigaction13 *) osa;
310
};
311
check_syscall_args(compat_13_sys_sigaction)
312
#endif /* !RUMP_CLIENT */
313

    
314
#ifndef RUMP_CLIENT
315
struct compat_13_sys_sigprocmask_args {
316
        syscallarg(int) how;
317
        syscallarg(int) mask;
318
};
319
check_syscall_args(compat_13_sys_sigprocmask)
320
#endif /* !RUMP_CLIENT */
321

    
322
struct sys___getlogin_args {
323
        syscallarg(char *) namebuf;
324
        syscallarg(size_t) namelen;
325
};
326
check_syscall_args(sys___getlogin)
327

    
328
struct sys___setlogin_args {
329
        syscallarg(const char *) namebuf;
330
};
331
check_syscall_args(sys___setlogin)
332

    
333
#ifndef RUMP_CLIENT
334
struct sys_acct_args {
335
        syscallarg(const char *) path;
336
};
337
check_syscall_args(sys_acct)
338
#endif /* !RUMP_CLIENT */
339

    
340
#ifndef RUMP_CLIENT
341
struct compat_13_sys_sigaltstack_args {
342
        syscallarg(const struct sigaltstack13 *) nss;
343
        syscallarg(struct sigaltstack13 *) oss;
344
};
345
check_syscall_args(compat_13_sys_sigaltstack)
346
#endif /* !RUMP_CLIENT */
347

    
348
struct sys_ioctl_args {
349
        syscallarg(int) fd;
350
        syscallarg(u_long) com;
351
        syscallarg(void *) data;
352
};
353
check_syscall_args(sys_ioctl)
354

    
355
#ifndef RUMP_CLIENT
356
struct compat_12_sys_reboot_args {
357
        syscallarg(int) opt;
358
};
359
check_syscall_args(compat_12_sys_reboot)
360
#endif /* !RUMP_CLIENT */
361

    
362
struct sys_revoke_args {
363
        syscallarg(const char *) path;
364
};
365
check_syscall_args(sys_revoke)
366

    
367
struct sys_symlink_args {
368
        syscallarg(const char *) path;
369
        syscallarg(const char *) link;
370
};
371
check_syscall_args(sys_symlink)
372

    
373
struct sys_readlink_args {
374
        syscallarg(const char *) path;
375
        syscallarg(char *) buf;
376
        syscallarg(size_t) count;
377
};
378
check_syscall_args(sys_readlink)
379

    
380
#ifndef RUMP_CLIENT
381
struct sys_execve_args {
382
        syscallarg(const char *) path;
383
        syscallarg(char *const *) argp;
384
        syscallarg(char *const *) envp;
385
};
386
check_syscall_args(sys_execve)
387
#endif /* !RUMP_CLIENT */
388

    
389
struct sys_umask_args {
390
        syscallarg(mode_t) newmask;
391
};
392
check_syscall_args(sys_umask)
393

    
394
struct sys_chroot_args {
395
        syscallarg(const char *) path;
396
};
397
check_syscall_args(sys_chroot)
398

    
399
#ifndef RUMP_CLIENT
400
struct compat_43_sys_fstat_args {
401
        syscallarg(int) fd;
402
        syscallarg(struct stat43 *) sb;
403
};
404
check_syscall_args(compat_43_sys_fstat)
405
#endif /* !RUMP_CLIENT */
406

    
407
#ifndef RUMP_CLIENT
408
struct compat_43_sys_getkerninfo_args {
409
        syscallarg(int) op;
410
        syscallarg(char *) where;
411
        syscallarg(int *) size;
412
        syscallarg(int) arg;
413
};
414
check_syscall_args(compat_43_sys_getkerninfo)
415
#endif /* !RUMP_CLIENT */
416

    
417
#ifndef RUMP_CLIENT
418
struct compat_12_sys_msync_args {
419
        syscallarg(void *) addr;
420
        syscallarg(size_t) len;
421
};
422
check_syscall_args(compat_12_sys_msync)
423
#endif /* !RUMP_CLIENT */
424

    
425
#ifndef RUMP_CLIENT
426
struct sys_sbrk_args {
427
        syscallarg(intptr_t) incr;
428
};
429
check_syscall_args(sys_sbrk)
430
#endif /* !RUMP_CLIENT */
431

    
432
#ifndef RUMP_CLIENT
433
struct sys_sstk_args {
434
        syscallarg(int) incr;
435
};
436
check_syscall_args(sys_sstk)
437
#endif /* !RUMP_CLIENT */
438

    
439
#ifndef RUMP_CLIENT
440
struct compat_43_sys_mmap_args {
441
        syscallarg(void *) addr;
442
        syscallarg(size_t) len;
443
        syscallarg(int) prot;
444
        syscallarg(int) flags;
445
        syscallarg(int) fd;
446
        syscallarg(long) pos;
447
};
448
check_syscall_args(compat_43_sys_mmap)
449
#endif /* !RUMP_CLIENT */
450

    
451
#ifndef RUMP_CLIENT
452
struct sys_ovadvise_args {
453
        syscallarg(int) anom;
454
};
455
check_syscall_args(sys_ovadvise)
456
#endif /* !RUMP_CLIENT */
457

    
458
#ifndef RUMP_CLIENT
459
struct sys_munmap_args {
460
        syscallarg(void *) addr;
461
        syscallarg(size_t) len;
462
};
463
check_syscall_args(sys_munmap)
464
#endif /* !RUMP_CLIENT */
465

    
466
#ifndef RUMP_CLIENT
467
struct sys_mprotect_args {
468
        syscallarg(void *) addr;
469
        syscallarg(size_t) len;
470
        syscallarg(int) prot;
471
};
472
check_syscall_args(sys_mprotect)
473
#endif /* !RUMP_CLIENT */
474

    
475
#ifndef RUMP_CLIENT
476
struct sys_madvise_args {
477
        syscallarg(void *) addr;
478
        syscallarg(size_t) len;
479
        syscallarg(int) behav;
480
};
481
check_syscall_args(sys_madvise)
482
#endif /* !RUMP_CLIENT */
483

    
484
#ifndef RUMP_CLIENT
485
struct sys_mincore_args {
486
        syscallarg(void *) addr;
487
        syscallarg(size_t) len;
488
        syscallarg(char *) vec;
489
};
490
check_syscall_args(sys_mincore)
491
#endif /* !RUMP_CLIENT */
492

    
493
struct sys_getgroups_args {
494
        syscallarg(int) gidsetsize;
495
        syscallarg(gid_t *) gidset;
496
};
497
check_syscall_args(sys_getgroups)
498

    
499
struct sys_setgroups_args {
500
        syscallarg(int) gidsetsize;
501
        syscallarg(const gid_t *) gidset;
502
};
503
check_syscall_args(sys_setgroups)
504

    
505
struct sys_setpgid_args {
506
        syscallarg(pid_t) pid;
507
        syscallarg(pid_t) pgid;
508
};
509
check_syscall_args(sys_setpgid)
510

    
511
#ifndef RUMP_CLIENT
512
struct compat_50_sys_setitimer_args {
513
        syscallarg(int) which;
514
        syscallarg(const struct itimerval50 *) itv;
515
        syscallarg(struct itimerval50 *) oitv;
516
};
517
check_syscall_args(compat_50_sys_setitimer)
518
#endif /* !RUMP_CLIENT */
519

    
520
#ifndef RUMP_CLIENT
521
struct compat_12_sys_swapon_args {
522
        syscallarg(const char *) name;
523
};
524
check_syscall_args(compat_12_sys_swapon)
525
#endif /* !RUMP_CLIENT */
526

    
527
#ifndef RUMP_CLIENT
528
struct compat_50_sys_getitimer_args {
529
        syscallarg(int) which;
530
        syscallarg(struct itimerval50 *) itv;
531
};
532
check_syscall_args(compat_50_sys_getitimer)
533
#endif /* !RUMP_CLIENT */
534

    
535
#ifndef RUMP_CLIENT
536
struct compat_43_sys_gethostname_args {
537
        syscallarg(char *) hostname;
538
        syscallarg(u_int) len;
539
};
540
check_syscall_args(compat_43_sys_gethostname)
541
#endif /* !RUMP_CLIENT */
542

    
543
#ifndef RUMP_CLIENT
544
struct compat_43_sys_sethostname_args {
545
        syscallarg(char *) hostname;
546
        syscallarg(u_int) len;
547
};
548
check_syscall_args(compat_43_sys_sethostname)
549
#endif /* !RUMP_CLIENT */
550

    
551
struct sys_dup2_args {
552
        syscallarg(int) from;
553
        syscallarg(int) to;
554
};
555
check_syscall_args(sys_dup2)
556

    
557
struct sys_fcntl_args {
558
        syscallarg(int) fd;
559
        syscallarg(int) cmd;
560
        syscallarg(void *) arg;
561
};
562
check_syscall_args(sys_fcntl)
563

    
564
struct compat_50_sys_select_args {
565
        syscallarg(int) nd;
566
        syscallarg(fd_set *) in;
567
        syscallarg(fd_set *) ou;
568
        syscallarg(fd_set *) ex;
569
        syscallarg(struct timeval50 *) tv;
570
};
571
check_syscall_args(compat_50_sys_select)
572

    
573
struct sys_fsync_args {
574
        syscallarg(int) fd;
575
};
576
check_syscall_args(sys_fsync)
577

    
578
#ifndef RUMP_CLIENT
579
struct sys_setpriority_args {
580
        syscallarg(int) which;
581
        syscallarg(id_t) who;
582
        syscallarg(int) prio;
583
};
584
check_syscall_args(sys_setpriority)
585
#endif /* !RUMP_CLIENT */
586

    
587
#ifndef RUMP_CLIENT
588
struct compat_30_sys_socket_args {
589
        syscallarg(int) domain;
590
        syscallarg(int) type;
591
        syscallarg(int) protocol;
592
};
593
check_syscall_args(compat_30_sys_socket)
594
#endif /* !RUMP_CLIENT */
595

    
596
struct sys_connect_args {
597
        syscallarg(int) s;
598
        syscallarg(const struct sockaddr *) name;
599
        syscallarg(socklen_t) namelen;
600
};
601
check_syscall_args(sys_connect)
602

    
603
#ifndef RUMP_CLIENT
604
struct compat_43_sys_accept_args {
605
        syscallarg(int) s;
606
        syscallarg(void *) name;
607
        syscallarg(socklen_t *) anamelen;
608
};
609
check_syscall_args(compat_43_sys_accept)
610
#endif /* !RUMP_CLIENT */
611

    
612
#ifndef RUMP_CLIENT
613
struct sys_getpriority_args {
614
        syscallarg(int) which;
615
        syscallarg(id_t) who;
616
};
617
check_syscall_args(sys_getpriority)
618
#endif /* !RUMP_CLIENT */
619

    
620
#ifndef RUMP_CLIENT
621
struct compat_43_sys_send_args {
622
        syscallarg(int) s;
623
        syscallarg(void *) buf;
624
        syscallarg(int) len;
625
        syscallarg(int) flags;
626
};
627
check_syscall_args(compat_43_sys_send)
628
#endif /* !RUMP_CLIENT */
629

    
630
#ifndef RUMP_CLIENT
631
struct compat_43_sys_recv_args {
632
        syscallarg(int) s;
633
        syscallarg(void *) buf;
634
        syscallarg(int) len;
635
        syscallarg(int) flags;
636
};
637
check_syscall_args(compat_43_sys_recv)
638
#endif /* !RUMP_CLIENT */
639

    
640
#ifndef RUMP_CLIENT
641
struct compat_13_sys_sigreturn_args {
642
        syscallarg(struct sigcontext13 *) sigcntxp;
643
};
644
check_syscall_args(compat_13_sys_sigreturn)
645
#endif /* !RUMP_CLIENT */
646

    
647
struct sys_bind_args {
648
        syscallarg(int) s;
649
        syscallarg(const struct sockaddr *) name;
650
        syscallarg(socklen_t) namelen;
651
};
652
check_syscall_args(sys_bind)
653

    
654
struct sys_setsockopt_args {
655
        syscallarg(int) s;
656
        syscallarg(int) level;
657
        syscallarg(int) name;
658
        syscallarg(const void *) val;
659
        syscallarg(socklen_t) valsize;
660
};
661
check_syscall_args(sys_setsockopt)
662

    
663
struct sys_listen_args {
664
        syscallarg(int) s;
665
        syscallarg(int) backlog;
666
};
667
check_syscall_args(sys_listen)
668

    
669
#ifndef RUMP_CLIENT
670
struct compat_43_sys_sigvec_args {
671
        syscallarg(int) signum;
672
        syscallarg(struct sigvec *) nsv;
673
        syscallarg(struct sigvec *) osv;
674
};
675
check_syscall_args(compat_43_sys_sigvec)
676
#endif /* !RUMP_CLIENT */
677

    
678
#ifndef RUMP_CLIENT
679
struct compat_43_sys_sigblock_args {
680
        syscallarg(int) mask;
681
};
682
check_syscall_args(compat_43_sys_sigblock)
683
#endif /* !RUMP_CLIENT */
684

    
685
#ifndef RUMP_CLIENT
686
struct compat_43_sys_sigsetmask_args {
687
        syscallarg(int) mask;
688
};
689
check_syscall_args(compat_43_sys_sigsetmask)
690
#endif /* !RUMP_CLIENT */
691

    
692
#ifndef RUMP_CLIENT
693
struct compat_13_sys_sigsuspend_args {
694
        syscallarg(int) mask;
695
};
696
check_syscall_args(compat_13_sys_sigsuspend)
697
#endif /* !RUMP_CLIENT */
698

    
699
#ifndef RUMP_CLIENT
700
struct compat_43_sys_sigstack_args {
701
        syscallarg(struct sigstack *) nss;
702
        syscallarg(struct sigstack *) oss;
703
};
704
check_syscall_args(compat_43_sys_sigstack)
705
#endif /* !RUMP_CLIENT */
706

    
707
#ifndef RUMP_CLIENT
708
struct compat_43_sys_recvmsg_args {
709
        syscallarg(int) s;
710
        syscallarg(struct omsghdr *) msg;
711
        syscallarg(int) flags;
712
};
713
check_syscall_args(compat_43_sys_recvmsg)
714
#endif /* !RUMP_CLIENT */
715

    
716
#ifndef RUMP_CLIENT
717
struct compat_43_sys_sendmsg_args {
718
        syscallarg(int) s;
719
        syscallarg(void *) msg;
720
        syscallarg(int) flags;
721
};
722
check_syscall_args(compat_43_sys_sendmsg)
723
#endif /* !RUMP_CLIENT */
724

    
725
#ifndef RUMP_CLIENT
726
struct compat_50_sys_gettimeofday_args {
727
        syscallarg(struct timeval50 *) tp;
728
        syscallarg(void *) tzp;
729
};
730
check_syscall_args(compat_50_sys_gettimeofday)
731
#endif /* !RUMP_CLIENT */
732

    
733
#ifndef RUMP_CLIENT
734
struct compat_50_sys_getrusage_args {
735
        syscallarg(int) who;
736
        syscallarg(struct rusage50 *) rusage;
737
};
738
check_syscall_args(compat_50_sys_getrusage)
739
#endif /* !RUMP_CLIENT */
740

    
741
struct sys_getsockopt_args {
742
        syscallarg(int) s;
743
        syscallarg(int) level;
744
        syscallarg(int) name;
745
        syscallarg(void *) val;
746
        syscallarg(socklen_t *) avalsize;
747
};
748
check_syscall_args(sys_getsockopt)
749

    
750
struct sys_readv_args {
751
        syscallarg(int) fd;
752
        syscallarg(const struct iovec *) iovp;
753
        syscallarg(int) iovcnt;
754
};
755
check_syscall_args(sys_readv)
756

    
757
struct sys_writev_args {
758
        syscallarg(int) fd;
759
        syscallarg(const struct iovec *) iovp;
760
        syscallarg(int) iovcnt;
761
};
762
check_syscall_args(sys_writev)
763

    
764
#ifndef RUMP_CLIENT
765
struct compat_50_sys_settimeofday_args {
766
        syscallarg(const struct timeval50 *) tv;
767
        syscallarg(const void *) tzp;
768
};
769
check_syscall_args(compat_50_sys_settimeofday)
770
#endif /* !RUMP_CLIENT */
771

    
772
struct sys_fchown_args {
773
        syscallarg(int) fd;
774
        syscallarg(uid_t) uid;
775
        syscallarg(gid_t) gid;
776
};
777
check_syscall_args(sys_fchown)
778

    
779
struct sys_fchmod_args {
780
        syscallarg(int) fd;
781
        syscallarg(mode_t) mode;
782
};
783
check_syscall_args(sys_fchmod)
784

    
785
#ifndef RUMP_CLIENT
786
struct compat_43_sys_recvfrom_args {
787
        syscallarg(int) s;
788
        syscallarg(void *) buf;
789
        syscallarg(size_t) len;
790
        syscallarg(int) flags;
791
        syscallarg(void *) from;
792
        syscallarg(socklen_t *) fromlenaddr;
793
};
794
check_syscall_args(compat_43_sys_recvfrom)
795
#endif /* !RUMP_CLIENT */
796

    
797
struct sys_setreuid_args {
798
        syscallarg(uid_t) ruid;
799
        syscallarg(uid_t) euid;
800
};
801
check_syscall_args(sys_setreuid)
802

    
803
struct sys_setregid_args {
804
        syscallarg(gid_t) rgid;
805
        syscallarg(gid_t) egid;
806
};
807
check_syscall_args(sys_setregid)
808

    
809
struct sys_rename_args {
810
        syscallarg(const char *) from;
811
        syscallarg(const char *) to;
812
};
813
check_syscall_args(sys_rename)
814

    
815
#ifndef RUMP_CLIENT
816
struct compat_43_sys_truncate_args {
817
        syscallarg(const char *) path;
818
        syscallarg(long) length;
819
};
820
check_syscall_args(compat_43_sys_truncate)
821
#endif /* !RUMP_CLIENT */
822

    
823
#ifndef RUMP_CLIENT
824
struct compat_43_sys_ftruncate_args {
825
        syscallarg(int) fd;
826
        syscallarg(long) length;
827
};
828
check_syscall_args(compat_43_sys_ftruncate)
829
#endif /* !RUMP_CLIENT */
830

    
831
struct sys_flock_args {
832
        syscallarg(int) fd;
833
        syscallarg(int) how;
834
};
835
check_syscall_args(sys_flock)
836

    
837
struct sys_mkfifo_args {
838
        syscallarg(const char *) path;
839
        syscallarg(mode_t) mode;
840
};
841
check_syscall_args(sys_mkfifo)
842

    
843
struct sys_sendto_args {
844
        syscallarg(int) s;
845
        syscallarg(const void *) buf;
846
        syscallarg(size_t) len;
847
        syscallarg(int) flags;
848
        syscallarg(const struct sockaddr *) to;
849
        syscallarg(socklen_t) tolen;
850
};
851
check_syscall_args(sys_sendto)
852

    
853
struct sys_shutdown_args {
854
        syscallarg(int) s;
855
        syscallarg(int) how;
856
};
857
check_syscall_args(sys_shutdown)
858

    
859
struct sys_socketpair_args {
860
        syscallarg(int) domain;
861
        syscallarg(int) type;
862
        syscallarg(int) protocol;
863
        syscallarg(int *) rsv;
864
};
865
check_syscall_args(sys_socketpair)
866

    
867
struct sys_mkdir_args {
868
        syscallarg(const char *) path;
869
        syscallarg(mode_t) mode;
870
};
871
check_syscall_args(sys_mkdir)
872

    
873
struct sys_rmdir_args {
874
        syscallarg(const char *) path;
875
};
876
check_syscall_args(sys_rmdir)
877

    
878
struct compat_50_sys_utimes_args {
879
        syscallarg(const char *) path;
880
        syscallarg(const struct timeval50 *) tptr;
881
};
882
check_syscall_args(compat_50_sys_utimes)
883

    
884
#ifndef RUMP_CLIENT
885
struct compat_50_sys_adjtime_args {
886
        syscallarg(const struct timeval50 *) delta;
887
        syscallarg(struct timeval50 *) olddelta;
888
};
889
check_syscall_args(compat_50_sys_adjtime)
890
#endif /* !RUMP_CLIENT */
891

    
892
#ifndef RUMP_CLIENT
893
struct compat_43_sys_getpeername_args {
894
        syscallarg(int) fdes;
895
        syscallarg(void *) asa;
896
        syscallarg(socklen_t *) alen;
897
};
898
check_syscall_args(compat_43_sys_getpeername)
899
#endif /* !RUMP_CLIENT */
900

    
901
#ifndef RUMP_CLIENT
902
struct compat_43_sys_sethostid_args {
903
        syscallarg(int32_t) hostid;
904
};
905
check_syscall_args(compat_43_sys_sethostid)
906
#endif /* !RUMP_CLIENT */
907

    
908
#ifndef RUMP_CLIENT
909
struct compat_43_sys_getrlimit_args {
910
        syscallarg(int) which;
911
        syscallarg(struct orlimit *) rlp;
912
};
913
check_syscall_args(compat_43_sys_getrlimit)
914
#endif /* !RUMP_CLIENT */
915

    
916
#ifndef RUMP_CLIENT
917
struct compat_43_sys_setrlimit_args {
918
        syscallarg(int) which;
919
        syscallarg(const struct orlimit *) rlp;
920
};
921
check_syscall_args(compat_43_sys_setrlimit)
922
#endif /* !RUMP_CLIENT */
923

    
924
#ifndef RUMP_CLIENT
925
struct compat_43_sys_killpg_args {
926
        syscallarg(int) pgid;
927
        syscallarg(int) signum;
928
};
929
check_syscall_args(compat_43_sys_killpg)
930
#endif /* !RUMP_CLIENT */
931

    
932
#ifndef RUMP_CLIENT
933
struct compat_50_sys_quotactl_args {
934
        syscallarg(const char *) path;
935
        syscallarg(int) cmd;
936
        syscallarg(int) uid;
937
        syscallarg(void *) arg;
938
};
939
check_syscall_args(compat_50_sys_quotactl)
940
#endif /* !RUMP_CLIENT */
941

    
942
#ifndef RUMP_CLIENT
943
struct compat_43_sys_getsockname_args {
944
        syscallarg(int) fdec;
945
        syscallarg(void *) asa;
946
        syscallarg(socklen_t *) alen;
947
};
948
check_syscall_args(compat_43_sys_getsockname)
949
#endif /* !RUMP_CLIENT */
950

    
951
struct sys_nfssvc_args {
952
        syscallarg(int) flag;
953
        syscallarg(void *) argp;
954
};
955
check_syscall_args(sys_nfssvc)
956

    
957
#ifndef RUMP_CLIENT
958
struct compat_43_sys_getdirentries_args {
959
        syscallarg(int) fd;
960
        syscallarg(char *) buf;
961
        syscallarg(u_int) count;
962
        syscallarg(long *) basep;
963
};
964
check_syscall_args(compat_43_sys_getdirentries)
965
#endif /* !RUMP_CLIENT */
966

    
967
#ifndef RUMP_CLIENT
968
struct compat_20_sys_statfs_args {
969
        syscallarg(const char *) path;
970
        syscallarg(struct statfs12 *) buf;
971
};
972
check_syscall_args(compat_20_sys_statfs)
973
#endif /* !RUMP_CLIENT */
974

    
975
#ifndef RUMP_CLIENT
976
struct compat_20_sys_fstatfs_args {
977
        syscallarg(int) fd;
978
        syscallarg(struct statfs12 *) buf;
979
};
980
check_syscall_args(compat_20_sys_fstatfs)
981
#endif /* !RUMP_CLIENT */
982

    
983
#ifndef RUMP_CLIENT
984
struct compat_30_sys_getfh_args {
985
        syscallarg(const char *) fname;
986
        syscallarg(struct compat_30_fhandle *) fhp;
987
};
988
check_syscall_args(compat_30_sys_getfh)
989
#endif /* !RUMP_CLIENT */
990

    
991
#ifndef RUMP_CLIENT
992
struct compat_09_sys_getdomainname_args {
993
        syscallarg(char *) domainname;
994
        syscallarg(int) len;
995
};
996
check_syscall_args(compat_09_sys_getdomainname)
997
#endif /* !RUMP_CLIENT */
998

    
999
#ifndef RUMP_CLIENT
1000
struct compat_09_sys_setdomainname_args {
1001
        syscallarg(char *) domainname;
1002
        syscallarg(int) len;
1003
};
1004
check_syscall_args(compat_09_sys_setdomainname)
1005
#endif /* !RUMP_CLIENT */
1006

    
1007
#ifndef RUMP_CLIENT
1008
struct compat_09_sys_uname_args {
1009
        syscallarg(struct outsname *) name;
1010
};
1011
check_syscall_args(compat_09_sys_uname)
1012
#endif /* !RUMP_CLIENT */
1013

    
1014
#ifndef RUMP_CLIENT
1015
struct sys_sysarch_args {
1016
        syscallarg(int) op;
1017
        syscallarg(void *) parms;
1018
};
1019
check_syscall_args(sys_sysarch)
1020
#endif /* !RUMP_CLIENT */
1021
#if !defined(_LP64)
1022

    
1023
#ifndef RUMP_CLIENT
1024
struct compat_10_sys_semsys_args {
1025
        syscallarg(int) which;
1026
        syscallarg(int) a2;
1027
        syscallarg(int) a3;
1028
        syscallarg(int) a4;
1029
        syscallarg(int) a5;
1030
};
1031
check_syscall_args(compat_10_sys_semsys)
1032
#endif /* !RUMP_CLIENT */
1033
#else
1034
#endif
1035
#if !defined(_LP64)
1036

    
1037
#ifndef RUMP_CLIENT
1038
struct compat_10_sys_msgsys_args {
1039
        syscallarg(int) which;
1040
        syscallarg(int) a2;
1041
        syscallarg(int) a3;
1042
        syscallarg(int) a4;
1043
        syscallarg(int) a5;
1044
        syscallarg(int) a6;
1045
};
1046
check_syscall_args(compat_10_sys_msgsys)
1047
#endif /* !RUMP_CLIENT */
1048
#else
1049
#endif
1050
#if !defined(_LP64)
1051

    
1052
#ifndef RUMP_CLIENT
1053
struct compat_10_sys_shmsys_args {
1054
        syscallarg(int) which;
1055
        syscallarg(int) a2;
1056
        syscallarg(int) a3;
1057
        syscallarg(int) a4;
1058
};
1059
check_syscall_args(compat_10_sys_shmsys)
1060
#endif /* !RUMP_CLIENT */
1061
#else
1062
#endif
1063

    
1064
struct sys_pread_args {
1065
        syscallarg(int) fd;
1066
        syscallarg(void *) buf;
1067
        syscallarg(size_t) nbyte;
1068
        syscallarg(int) PAD;
1069
        syscallarg(off_t) offset;
1070
};
1071
check_syscall_args(sys_pread)
1072

    
1073
struct sys_pwrite_args {
1074
        syscallarg(int) fd;
1075
        syscallarg(const void *) buf;
1076
        syscallarg(size_t) nbyte;
1077
        syscallarg(int) PAD;
1078
        syscallarg(off_t) offset;
1079
};
1080
check_syscall_args(sys_pwrite)
1081

    
1082
#ifndef RUMP_CLIENT
1083
struct compat_30_sys_ntp_gettime_args {
1084
        syscallarg(struct ntptimeval30 *) ntvp;
1085
};
1086
check_syscall_args(compat_30_sys_ntp_gettime)
1087
#endif /* !RUMP_CLIENT */
1088
#if defined(NTP) || !defined(_KERNEL_OPT)
1089

    
1090
#ifndef RUMP_CLIENT
1091
struct sys_ntp_adjtime_args {
1092
        syscallarg(struct timex *) tp;
1093
};
1094
check_syscall_args(sys_ntp_adjtime)
1095
#endif /* !RUMP_CLIENT */
1096
#else
1097
#endif
1098

    
1099
struct sys_setgid_args {
1100
        syscallarg(gid_t) gid;
1101
};
1102
check_syscall_args(sys_setgid)
1103

    
1104
struct sys_setegid_args {
1105
        syscallarg(gid_t) egid;
1106
};
1107
check_syscall_args(sys_setegid)
1108

    
1109
struct sys_seteuid_args {
1110
        syscallarg(uid_t) euid;
1111
};
1112
check_syscall_args(sys_seteuid)
1113

    
1114
#ifndef RUMP_CLIENT
1115
struct sys_lfs_bmapv_args {
1116
        syscallarg(fsid_t *) fsidp;
1117
        syscallarg(struct block_info *) blkiov;
1118
        syscallarg(int) blkcnt;
1119
};
1120
check_syscall_args(sys_lfs_bmapv)
1121
#endif /* !RUMP_CLIENT */
1122

    
1123
#ifndef RUMP_CLIENT
1124
struct sys_lfs_markv_args {
1125
        syscallarg(fsid_t *) fsidp;
1126
        syscallarg(struct block_info *) blkiov;
1127
        syscallarg(int) blkcnt;
1128
};
1129
check_syscall_args(sys_lfs_markv)
1130
#endif /* !RUMP_CLIENT */
1131

    
1132
#ifndef RUMP_CLIENT
1133
struct sys_lfs_segclean_args {
1134
        syscallarg(fsid_t *) fsidp;
1135
        syscallarg(u_long) segment;
1136
};
1137
check_syscall_args(sys_lfs_segclean)
1138
#endif /* !RUMP_CLIENT */
1139

    
1140
#ifndef RUMP_CLIENT
1141
struct compat_50_sys_lfs_segwait_args {
1142
        syscallarg(fsid_t *) fsidp;
1143
        syscallarg(struct timeval50 *) tv;
1144
};
1145
check_syscall_args(compat_50_sys_lfs_segwait)
1146
#endif /* !RUMP_CLIENT */
1147

    
1148
#ifndef RUMP_CLIENT
1149
struct compat_12_sys_stat_args {
1150
        syscallarg(const char *) path;
1151
        syscallarg(struct stat12 *) ub;
1152
};
1153
check_syscall_args(compat_12_sys_stat)
1154
#endif /* !RUMP_CLIENT */
1155

    
1156
#ifndef RUMP_CLIENT
1157
struct compat_12_sys_fstat_args {
1158
        syscallarg(int) fd;
1159
        syscallarg(struct stat12 *) sb;
1160
};
1161
check_syscall_args(compat_12_sys_fstat)
1162
#endif /* !RUMP_CLIENT */
1163

    
1164
#ifndef RUMP_CLIENT
1165
struct compat_12_sys_lstat_args {
1166
        syscallarg(const char *) path;
1167
        syscallarg(struct stat12 *) ub;
1168
};
1169
check_syscall_args(compat_12_sys_lstat)
1170
#endif /* !RUMP_CLIENT */
1171

    
1172
struct sys_pathconf_args {
1173
        syscallarg(const char *) path;
1174
        syscallarg(int) name;
1175
};
1176
check_syscall_args(sys_pathconf)
1177

    
1178
struct sys_fpathconf_args {
1179
        syscallarg(int) fd;
1180
        syscallarg(int) name;
1181
};
1182
check_syscall_args(sys_fpathconf)
1183

    
1184
struct sys_getrlimit_args {
1185
        syscallarg(int) which;
1186
        syscallarg(struct rlimit *) rlp;
1187
};
1188
check_syscall_args(sys_getrlimit)
1189

    
1190
struct sys_setrlimit_args {
1191
        syscallarg(int) which;
1192
        syscallarg(const struct rlimit *) rlp;
1193
};
1194
check_syscall_args(sys_setrlimit)
1195

    
1196
#ifndef RUMP_CLIENT
1197
struct compat_12_sys_getdirentries_args {
1198
        syscallarg(int) fd;
1199
        syscallarg(char *) buf;
1200
        syscallarg(u_int) count;
1201
        syscallarg(long *) basep;
1202
};
1203
check_syscall_args(compat_12_sys_getdirentries)
1204
#endif /* !RUMP_CLIENT */
1205

    
1206
#ifndef RUMP_CLIENT
1207
struct sys_mmap_args {
1208
        syscallarg(void *) addr;
1209
        syscallarg(size_t) len;
1210
        syscallarg(int) prot;
1211
        syscallarg(int) flags;
1212
        syscallarg(int) fd;
1213
        syscallarg(long) PAD;
1214
        syscallarg(off_t) pos;
1215
};
1216
check_syscall_args(sys_mmap)
1217
#endif /* !RUMP_CLIENT */
1218

    
1219
#ifndef RUMP_CLIENT
1220
struct sys___syscall_args {
1221
        syscallarg(quad_t) code;
1222
        syscallarg(register_t) args[SYS_MAXSYSARGS];
1223
};
1224
#endif /* !RUMP_CLIENT */
1225

    
1226
struct sys_lseek_args {
1227
        syscallarg(int) fd;
1228
        syscallarg(int) PAD;
1229
        syscallarg(off_t) offset;
1230
        syscallarg(int) whence;
1231
};
1232
check_syscall_args(sys_lseek)
1233

    
1234
struct sys_truncate_args {
1235
        syscallarg(const char *) path;
1236
        syscallarg(int) PAD;
1237
        syscallarg(off_t) length;
1238
};
1239
check_syscall_args(sys_truncate)
1240

    
1241
struct sys_ftruncate_args {
1242
        syscallarg(int) fd;
1243
        syscallarg(int) PAD;
1244
        syscallarg(off_t) length;
1245
};
1246
check_syscall_args(sys_ftruncate)
1247

    
1248
struct sys___sysctl_args {
1249
        syscallarg(const int *) name;
1250
        syscallarg(u_int) namelen;
1251
        syscallarg(void *) oldv;
1252
        syscallarg(size_t *) oldlenp;
1253
        syscallarg(const void *) newv;
1254
        syscallarg(size_t) newlen;
1255
};
1256
check_syscall_args(sys___sysctl)
1257

    
1258
#ifndef RUMP_CLIENT
1259
struct sys_mlock_args {
1260
        syscallarg(const void *) addr;
1261
        syscallarg(size_t) len;
1262
};
1263
check_syscall_args(sys_mlock)
1264
#endif /* !RUMP_CLIENT */
1265

    
1266
#ifndef RUMP_CLIENT
1267
struct sys_munlock_args {
1268
        syscallarg(const void *) addr;
1269
        syscallarg(size_t) len;
1270
};
1271
check_syscall_args(sys_munlock)
1272
#endif /* !RUMP_CLIENT */
1273

    
1274
#ifndef RUMP_CLIENT
1275
struct sys_undelete_args {
1276
        syscallarg(const char *) path;
1277
};
1278
check_syscall_args(sys_undelete)
1279
#endif /* !RUMP_CLIENT */
1280

    
1281
struct compat_50_sys_futimes_args {
1282
        syscallarg(int) fd;
1283
        syscallarg(const struct timeval50 *) tptr;
1284
};
1285
check_syscall_args(compat_50_sys_futimes)
1286

    
1287
struct sys_getpgid_args {
1288
        syscallarg(pid_t) pid;
1289
};
1290
check_syscall_args(sys_getpgid)
1291

    
1292
struct sys_reboot_args {
1293
        syscallarg(int) opt;
1294
        syscallarg(char *) bootstr;
1295
};
1296
check_syscall_args(sys_reboot)
1297

    
1298
struct sys_poll_args {
1299
        syscallarg(struct pollfd *) fds;
1300
        syscallarg(u_int) nfds;
1301
        syscallarg(int) timeout;
1302
};
1303
check_syscall_args(sys_poll)
1304

    
1305
#ifndef RUMP_CLIENT
1306
struct sys_afssys_args {
1307
        syscallarg(long) id;
1308
        syscallarg(long) a1;
1309
        syscallarg(long) a2;
1310
        syscallarg(long) a3;
1311
        syscallarg(long) a4;
1312
        syscallarg(long) a5;
1313
        syscallarg(long) a6;
1314
};
1315
check_syscall_args(sys_afssys)
1316
#endif /* !RUMP_CLIENT */
1317

    
1318
#ifndef RUMP_CLIENT
1319
struct compat_14_sys___semctl_args {
1320
        syscallarg(int) semid;
1321
        syscallarg(int) semnum;
1322
        syscallarg(int) cmd;
1323
        syscallarg(union __semun *) arg;
1324
};
1325
check_syscall_args(compat_14_sys___semctl)
1326
#endif /* !RUMP_CLIENT */
1327

    
1328
#ifndef RUMP_CLIENT
1329
struct sys_semget_args {
1330
        syscallarg(key_t) key;
1331
        syscallarg(int) nsems;
1332
        syscallarg(int) semflg;
1333
};
1334
check_syscall_args(sys_semget)
1335
#endif /* !RUMP_CLIENT */
1336

    
1337
#ifndef RUMP_CLIENT
1338
struct sys_semop_args {
1339
        syscallarg(int) semid;
1340
        syscallarg(struct sembuf *) sops;
1341
        syscallarg(size_t) nsops;
1342
};
1343
check_syscall_args(sys_semop)
1344
#endif /* !RUMP_CLIENT */
1345

    
1346
#ifndef RUMP_CLIENT
1347
struct sys_semconfig_args {
1348
        syscallarg(int) flag;
1349
};
1350
check_syscall_args(sys_semconfig)
1351
#endif /* !RUMP_CLIENT */
1352

    
1353
#ifndef RUMP_CLIENT
1354
struct compat_14_sys_msgctl_args {
1355
        syscallarg(int) msqid;
1356
        syscallarg(int) cmd;
1357
        syscallarg(struct msqid_ds14 *) buf;
1358
};
1359
check_syscall_args(compat_14_sys_msgctl)
1360
#endif /* !RUMP_CLIENT */
1361

    
1362
#ifndef RUMP_CLIENT
1363
struct sys_msgget_args {
1364
        syscallarg(key_t) key;
1365
        syscallarg(int) msgflg;
1366
};
1367
check_syscall_args(sys_msgget)
1368
#endif /* !RUMP_CLIENT */
1369

    
1370
#ifndef RUMP_CLIENT
1371
struct sys_msgsnd_args {
1372
        syscallarg(int) msqid;
1373
        syscallarg(const void *) msgp;
1374
        syscallarg(size_t) msgsz;
1375
        syscallarg(int) msgflg;
1376
};
1377
check_syscall_args(sys_msgsnd)
1378
#endif /* !RUMP_CLIENT */
1379

    
1380
#ifndef RUMP_CLIENT
1381
struct sys_msgrcv_args {
1382
        syscallarg(int) msqid;
1383
        syscallarg(void *) msgp;
1384
        syscallarg(size_t) msgsz;
1385
        syscallarg(long) msgtyp;
1386
        syscallarg(int) msgflg;
1387
};
1388
check_syscall_args(sys_msgrcv)
1389
#endif /* !RUMP_CLIENT */
1390

    
1391
#ifndef RUMP_CLIENT
1392
struct sys_shmat_args {
1393
        syscallarg(int) shmid;
1394
        syscallarg(const void *) shmaddr;
1395
        syscallarg(int) shmflg;
1396
};
1397
check_syscall_args(sys_shmat)
1398
#endif /* !RUMP_CLIENT */
1399

    
1400
#ifndef RUMP_CLIENT
1401
struct compat_14_sys_shmctl_args {
1402
        syscallarg(int) shmid;
1403
        syscallarg(int) cmd;
1404
        syscallarg(struct shmid_ds14 *) buf;
1405
};
1406
check_syscall_args(compat_14_sys_shmctl)
1407
#endif /* !RUMP_CLIENT */
1408

    
1409
#ifndef RUMP_CLIENT
1410
struct sys_shmdt_args {
1411
        syscallarg(const void *) shmaddr;
1412
};
1413
check_syscall_args(sys_shmdt)
1414
#endif /* !RUMP_CLIENT */
1415

    
1416
#ifndef RUMP_CLIENT
1417
struct sys_shmget_args {
1418
        syscallarg(key_t) key;
1419
        syscallarg(size_t) size;
1420
        syscallarg(int) shmflg;
1421
};
1422
check_syscall_args(sys_shmget)
1423
#endif /* !RUMP_CLIENT */
1424

    
1425
#ifndef RUMP_CLIENT
1426
struct compat_50_sys_clock_gettime_args {
1427
        syscallarg(clockid_t) clock_id;
1428
        syscallarg(struct timespec50 *) tp;
1429
};
1430
check_syscall_args(compat_50_sys_clock_gettime)
1431
#endif /* !RUMP_CLIENT */
1432

    
1433
#ifndef RUMP_CLIENT
1434
struct compat_50_sys_clock_settime_args {
1435
        syscallarg(clockid_t) clock_id;
1436
        syscallarg(const struct timespec50 *) tp;
1437
};
1438
check_syscall_args(compat_50_sys_clock_settime)
1439
#endif /* !RUMP_CLIENT */
1440

    
1441
#ifndef RUMP_CLIENT
1442
struct compat_50_sys_clock_getres_args {
1443
        syscallarg(clockid_t) clock_id;
1444
        syscallarg(struct timespec50 *) tp;
1445
};
1446
check_syscall_args(compat_50_sys_clock_getres)
1447
#endif /* !RUMP_CLIENT */
1448

    
1449
struct sys_timer_create_args {
1450
        syscallarg(clockid_t) clock_id;
1451
        syscallarg(struct sigevent *) evp;
1452
        syscallarg(timer_t *) timerid;
1453
};
1454
check_syscall_args(sys_timer_create)
1455

    
1456
struct sys_timer_delete_args {
1457
        syscallarg(timer_t) timerid;
1458
};
1459
check_syscall_args(sys_timer_delete)
1460

    
1461
#ifndef RUMP_CLIENT
1462
struct compat_50_sys_timer_settime_args {
1463
        syscallarg(timer_t) timerid;
1464
        syscallarg(int) flags;
1465
        syscallarg(const struct itimerspec50 *) value;
1466
        syscallarg(struct itimerspec50 *) ovalue;
1467
};
1468
check_syscall_args(compat_50_sys_timer_settime)
1469
#endif /* !RUMP_CLIENT */
1470

    
1471
#ifndef RUMP_CLIENT
1472
struct compat_50_sys_timer_gettime_args {
1473
        syscallarg(timer_t) timerid;
1474
        syscallarg(struct itimerspec50 *) value;
1475
};
1476
check_syscall_args(compat_50_sys_timer_gettime)
1477
#endif /* !RUMP_CLIENT */
1478

    
1479
struct sys_timer_getoverrun_args {
1480
        syscallarg(timer_t) timerid;
1481
};
1482
check_syscall_args(sys_timer_getoverrun)
1483

    
1484
#ifndef RUMP_CLIENT
1485
struct compat_50_sys_nanosleep_args {
1486
        syscallarg(const struct timespec50 *) rqtp;
1487
        syscallarg(struct timespec50 *) rmtp;
1488
};
1489
check_syscall_args(compat_50_sys_nanosleep)
1490
#endif /* !RUMP_CLIENT */
1491

    
1492
struct sys_fdatasync_args {
1493
        syscallarg(int) fd;
1494
};
1495
check_syscall_args(sys_fdatasync)
1496

    
1497
#ifndef RUMP_CLIENT
1498
struct sys_mlockall_args {
1499
        syscallarg(int) flags;
1500
};
1501
check_syscall_args(sys_mlockall)
1502
#endif /* !RUMP_CLIENT */
1503

    
1504
#ifndef RUMP_CLIENT
1505
struct compat_50_sys___sigtimedwait_args {
1506
        syscallarg(const sigset_t *) set;
1507
        syscallarg(siginfo_t *) info;
1508
        syscallarg(struct timespec50 *) timeout;
1509
};
1510
check_syscall_args(compat_50_sys___sigtimedwait)
1511
#endif /* !RUMP_CLIENT */
1512

    
1513
#ifndef RUMP_CLIENT
1514
struct sys_sigqueueinfo_args {
1515
        syscallarg(pid_t) pid;
1516
        syscallarg(const siginfo_t *) info;
1517
};
1518
check_syscall_args(sys_sigqueueinfo)
1519
#endif /* !RUMP_CLIENT */
1520

    
1521
struct sys_modctl_args {
1522
        syscallarg(int) cmd;
1523
        syscallarg(void *) arg;
1524
};
1525
check_syscall_args(sys_modctl)
1526

    
1527
struct sys__ksem_init_args {
1528
        syscallarg(unsigned int) value;
1529
        syscallarg(intptr_t *) idp;
1530
};
1531
check_syscall_args(sys__ksem_init)
1532

    
1533
struct sys__ksem_open_args {
1534
        syscallarg(const char *) name;
1535
        syscallarg(int) oflag;
1536
        syscallarg(mode_t) mode;
1537
        syscallarg(unsigned int) value;
1538
        syscallarg(intptr_t *) idp;
1539
};
1540
check_syscall_args(sys__ksem_open)
1541

    
1542
struct sys__ksem_unlink_args {
1543
        syscallarg(const char *) name;
1544
};
1545
check_syscall_args(sys__ksem_unlink)
1546

    
1547
struct sys__ksem_close_args {
1548
        syscallarg(intptr_t) id;
1549
};
1550
check_syscall_args(sys__ksem_close)
1551

    
1552
struct sys__ksem_post_args {
1553
        syscallarg(intptr_t) id;
1554
};
1555
check_syscall_args(sys__ksem_post)
1556

    
1557
struct sys__ksem_wait_args {
1558
        syscallarg(intptr_t) id;
1559
};
1560
check_syscall_args(sys__ksem_wait)
1561

    
1562
struct sys__ksem_trywait_args {
1563
        syscallarg(intptr_t) id;
1564
};
1565
check_syscall_args(sys__ksem_trywait)
1566

    
1567
struct sys__ksem_getvalue_args {
1568
        syscallarg(intptr_t) id;
1569
        syscallarg(unsigned int *) value;
1570
};
1571
check_syscall_args(sys__ksem_getvalue)
1572

    
1573
struct sys__ksem_destroy_args {
1574
        syscallarg(intptr_t) id;
1575
};
1576
check_syscall_args(sys__ksem_destroy)
1577

    
1578
struct sys__ksem_timedwait_args {
1579
        syscallarg(intptr_t) id;
1580
        syscallarg(const struct timespec *) abstime;
1581
};
1582
check_syscall_args(sys__ksem_timedwait)
1583

    
1584
#ifndef RUMP_CLIENT
1585
struct sys_mq_open_args {
1586
        syscallarg(const char *) name;
1587
        syscallarg(int) oflag;
1588
        syscallarg(mode_t) mode;
1589
        syscallarg(struct mq_attr *) attr;
1590
};
1591
check_syscall_args(sys_mq_open)
1592
#endif /* !RUMP_CLIENT */
1593

    
1594
#ifndef RUMP_CLIENT
1595
struct sys_mq_close_args {
1596
        syscallarg(mqd_t) mqdes;
1597
};
1598
check_syscall_args(sys_mq_close)
1599
#endif /* !RUMP_CLIENT */
1600

    
1601
#ifndef RUMP_CLIENT
1602
struct sys_mq_unlink_args {
1603
        syscallarg(const char *) name;
1604
};
1605
check_syscall_args(sys_mq_unlink)
1606
#endif /* !RUMP_CLIENT */
1607

    
1608
#ifndef RUMP_CLIENT
1609
struct sys_mq_getattr_args {
1610
        syscallarg(mqd_t) mqdes;
1611
        syscallarg(struct mq_attr *) mqstat;
1612
};
1613
check_syscall_args(sys_mq_getattr)
1614
#endif /* !RUMP_CLIENT */
1615

    
1616
#ifndef RUMP_CLIENT
1617
struct sys_mq_setattr_args {
1618
        syscallarg(mqd_t) mqdes;
1619
        syscallarg(const struct mq_attr *) mqstat;
1620
        syscallarg(struct mq_attr *) omqstat;
1621
};
1622
check_syscall_args(sys_mq_setattr)
1623
#endif /* !RUMP_CLIENT */
1624

    
1625
#ifndef RUMP_CLIENT
1626
struct sys_mq_notify_args {
1627
        syscallarg(mqd_t) mqdes;
1628
        syscallarg(const struct sigevent *) notification;
1629
};
1630
check_syscall_args(sys_mq_notify)
1631
#endif /* !RUMP_CLIENT */
1632

    
1633
#ifndef RUMP_CLIENT
1634
struct sys_mq_send_args {
1635
        syscallarg(mqd_t) mqdes;
1636
        syscallarg(const char *) msg_ptr;
1637
        syscallarg(size_t) msg_len;
1638
        syscallarg(unsigned) msg_prio;
1639
};
1640
check_syscall_args(sys_mq_send)
1641
#endif /* !RUMP_CLIENT */
1642

    
1643
#ifndef RUMP_CLIENT
1644
struct sys_mq_receive_args {
1645
        syscallarg(mqd_t) mqdes;
1646
        syscallarg(char *) msg_ptr;
1647
        syscallarg(size_t) msg_len;
1648
        syscallarg(unsigned *) msg_prio;
1649
};
1650
check_syscall_args(sys_mq_receive)
1651
#endif /* !RUMP_CLIENT */
1652

    
1653
#ifndef RUMP_CLIENT
1654
struct compat_50_sys_mq_timedsend_args {
1655
        syscallarg(mqd_t) mqdes;
1656
        syscallarg(const char *) msg_ptr;
1657
        syscallarg(size_t) msg_len;
1658
        syscallarg(unsigned) msg_prio;
1659
        syscallarg(const struct timespec50 *) abs_timeout;
1660
};
1661
check_syscall_args(compat_50_sys_mq_timedsend)
1662
#endif /* !RUMP_CLIENT */
1663

    
1664
#ifndef RUMP_CLIENT
1665
struct compat_50_sys_mq_timedreceive_args {
1666
        syscallarg(mqd_t) mqdes;
1667
        syscallarg(char *) msg_ptr;
1668
        syscallarg(size_t) msg_len;
1669
        syscallarg(unsigned *) msg_prio;
1670
        syscallarg(const struct timespec50 *) abs_timeout;
1671
};
1672
check_syscall_args(compat_50_sys_mq_timedreceive)
1673
#endif /* !RUMP_CLIENT */
1674

    
1675
struct sys___posix_rename_args {
1676
        syscallarg(const char *) from;
1677
        syscallarg(const char *) to;
1678
};
1679
check_syscall_args(sys___posix_rename)
1680

    
1681
#ifndef RUMP_CLIENT
1682
struct sys_swapctl_args {
1683
        syscallarg(int) cmd;
1684
        syscallarg(void *) arg;
1685
        syscallarg(int) misc;
1686
};
1687
check_syscall_args(sys_swapctl)
1688
#endif /* !RUMP_CLIENT */
1689

    
1690
#ifndef RUMP_CLIENT
1691
struct compat_30_sys_getdents_args {
1692
        syscallarg(int) fd;
1693
        syscallarg(char *) buf;
1694
        syscallarg(size_t) count;
1695
};
1696
check_syscall_args(compat_30_sys_getdents)
1697
#endif /* !RUMP_CLIENT */
1698

    
1699
#ifndef RUMP_CLIENT
1700
struct sys_minherit_args {
1701
        syscallarg(void *) addr;
1702
        syscallarg(size_t) len;
1703
        syscallarg(int) inherit;
1704
};
1705
check_syscall_args(sys_minherit)
1706
#endif /* !RUMP_CLIENT */
1707

    
1708
struct sys_lchmod_args {
1709
        syscallarg(const char *) path;
1710
        syscallarg(mode_t) mode;
1711
};
1712
check_syscall_args(sys_lchmod)
1713

    
1714
struct sys_lchown_args {
1715
        syscallarg(const char *) path;
1716
        syscallarg(uid_t) uid;
1717
        syscallarg(gid_t) gid;
1718
};
1719
check_syscall_args(sys_lchown)
1720

    
1721
struct compat_50_sys_lutimes_args {
1722
        syscallarg(const char *) path;
1723
        syscallarg(const struct timeval50 *) tptr;
1724
};
1725
check_syscall_args(compat_50_sys_lutimes)
1726

    
1727
#ifndef RUMP_CLIENT
1728
struct sys___msync13_args {
1729
        syscallarg(void *) addr;
1730
        syscallarg(size_t) len;
1731
        syscallarg(int) flags;
1732
};
1733
check_syscall_args(sys___msync13)
1734
#endif /* !RUMP_CLIENT */
1735

    
1736
#ifndef RUMP_CLIENT
1737
struct compat_30_sys___stat13_args {
1738
        syscallarg(const char *) path;
1739
        syscallarg(struct stat13 *) ub;
1740
};
1741
check_syscall_args(compat_30_sys___stat13)
1742
#endif /* !RUMP_CLIENT */
1743

    
1744
#ifndef RUMP_CLIENT
1745
struct compat_30_sys___fstat13_args {
1746
        syscallarg(int) fd;
1747
        syscallarg(struct stat13 *) sb;
1748
};
1749
check_syscall_args(compat_30_sys___fstat13)
1750
#endif /* !RUMP_CLIENT */
1751

    
1752
#ifndef RUMP_CLIENT
1753
struct compat_30_sys___lstat13_args {
1754
        syscallarg(const char *) path;
1755
        syscallarg(struct stat13 *) ub;
1756
};
1757
check_syscall_args(compat_30_sys___lstat13)
1758
#endif /* !RUMP_CLIENT */
1759

    
1760
#ifndef RUMP_CLIENT
1761
struct sys___sigaltstack14_args {
1762
        syscallarg(const struct sigaltstack *) nss;
1763
        syscallarg(struct sigaltstack *) oss;
1764
};
1765
check_syscall_args(sys___sigaltstack14)
1766
#endif /* !RUMP_CLIENT */
1767

    
1768
struct sys___posix_chown_args {
1769
        syscallarg(const char *) path;
1770
        syscallarg(uid_t) uid;
1771
        syscallarg(gid_t) gid;
1772
};
1773
check_syscall_args(sys___posix_chown)
1774

    
1775
struct sys___posix_fchown_args {
1776
        syscallarg(int) fd;
1777
        syscallarg(uid_t) uid;
1778
        syscallarg(gid_t) gid;
1779
};
1780
check_syscall_args(sys___posix_fchown)
1781

    
1782
struct sys___posix_lchown_args {
1783
        syscallarg(const char *) path;
1784
        syscallarg(uid_t) uid;
1785
        syscallarg(gid_t) gid;
1786
};
1787
check_syscall_args(sys___posix_lchown)
1788

    
1789
struct sys_getsid_args {
1790
        syscallarg(pid_t) pid;
1791
};
1792
check_syscall_args(sys_getsid)
1793

    
1794
#ifndef RUMP_CLIENT
1795
struct sys___clone_args {
1796
        syscallarg(int) flags;
1797
        syscallarg(void *) stack;
1798
};
1799
check_syscall_args(sys___clone)
1800
#endif /* !RUMP_CLIENT */
1801

    
1802
struct sys_fktrace_args {
1803
        syscallarg(int) fd;
1804
        syscallarg(int) ops;
1805
        syscallarg(int) facs;
1806
        syscallarg(pid_t) pid;
1807
};
1808
check_syscall_args(sys_fktrace)
1809

    
1810
struct sys_preadv_args {
1811
        syscallarg(int) fd;
1812
        syscallarg(const struct iovec *) iovp;
1813
        syscallarg(int) iovcnt;
1814
        syscallarg(int) PAD;
1815
        syscallarg(off_t) offset;
1816
};
1817
check_syscall_args(sys_preadv)
1818

    
1819
struct sys_pwritev_args {
1820
        syscallarg(int) fd;
1821
        syscallarg(const struct iovec *) iovp;
1822
        syscallarg(int) iovcnt;
1823
        syscallarg(int) PAD;
1824
        syscallarg(off_t) offset;
1825
};
1826
check_syscall_args(sys_pwritev)
1827

    
1828
#ifndef RUMP_CLIENT
1829
struct compat_16_sys___sigaction14_args {
1830
        syscallarg(int) signum;
1831
        syscallarg(const struct sigaction *) nsa;
1832
        syscallarg(struct sigaction *) osa;
1833
};
1834
check_syscall_args(compat_16_sys___sigaction14)
1835
#endif /* !RUMP_CLIENT */
1836

    
1837
#ifndef RUMP_CLIENT
1838
struct sys___sigpending14_args {
1839
        syscallarg(sigset_t *) set;
1840
};
1841
check_syscall_args(sys___sigpending14)
1842
#endif /* !RUMP_CLIENT */
1843

    
1844
#ifndef RUMP_CLIENT
1845
struct sys___sigprocmask14_args {
1846
        syscallarg(int) how;
1847
        syscallarg(const sigset_t *) set;
1848
        syscallarg(sigset_t *) oset;
1849
};
1850
check_syscall_args(sys___sigprocmask14)
1851
#endif /* !RUMP_CLIENT */
1852

    
1853
#ifndef RUMP_CLIENT
1854
struct sys___sigsuspend14_args {
1855
        syscallarg(const sigset_t *) set;
1856
};
1857
check_syscall_args(sys___sigsuspend14)
1858
#endif /* !RUMP_CLIENT */
1859

    
1860
#ifndef RUMP_CLIENT
1861
struct compat_16_sys___sigreturn14_args {
1862
        syscallarg(struct sigcontext *) sigcntxp;
1863
};
1864
check_syscall_args(compat_16_sys___sigreturn14)
1865
#endif /* !RUMP_CLIENT */
1866

    
1867
struct sys___getcwd_args {
1868
        syscallarg(char *) bufp;
1869
        syscallarg(size_t) length;
1870
};
1871
check_syscall_args(sys___getcwd)
1872

    
1873
struct sys_fchroot_args {
1874
        syscallarg(int) fd;
1875
};
1876
check_syscall_args(sys_fchroot)
1877

    
1878
#ifndef RUMP_CLIENT
1879
struct compat_30_sys_fhopen_args {
1880
        syscallarg(const struct compat_30_fhandle *) fhp;
1881
        syscallarg(int) flags;
1882
};
1883
check_syscall_args(compat_30_sys_fhopen)
1884
#endif /* !RUMP_CLIENT */
1885

    
1886
#ifndef RUMP_CLIENT
1887
struct compat_30_sys_fhstat_args {
1888
        syscallarg(const struct compat_30_fhandle *) fhp;
1889
        syscallarg(struct stat13 *) sb;
1890
};
1891
check_syscall_args(compat_30_sys_fhstat)
1892
#endif /* !RUMP_CLIENT */
1893

    
1894
#ifndef RUMP_CLIENT
1895
struct compat_20_sys_fhstatfs_args {
1896
        syscallarg(const struct compat_30_fhandle *) fhp;
1897
        syscallarg(struct statfs12 *) buf;
1898
};
1899
check_syscall_args(compat_20_sys_fhstatfs)
1900
#endif /* !RUMP_CLIENT */
1901

    
1902
#ifndef RUMP_CLIENT
1903
struct compat_50_sys_____semctl13_args {
1904
        syscallarg(int) semid;
1905
        syscallarg(int) semnum;
1906
        syscallarg(int) cmd;
1907
        syscallarg(union __semun *) arg;
1908
};
1909
check_syscall_args(compat_50_sys_____semctl13)
1910
#endif /* !RUMP_CLIENT */
1911

    
1912
#ifndef RUMP_CLIENT
1913
struct compat_50_sys___msgctl13_args {
1914
        syscallarg(int) msqid;
1915
        syscallarg(int) cmd;
1916
        syscallarg(struct msqid_ds *) buf;
1917
};
1918
check_syscall_args(compat_50_sys___msgctl13)
1919
#endif /* !RUMP_CLIENT */
1920

    
1921
#ifndef RUMP_CLIENT
1922
struct compat_50_sys___shmctl13_args {
1923
        syscallarg(int) shmid;
1924
        syscallarg(int) cmd;
1925
        syscallarg(struct shmid_ds13 *) buf;
1926
};
1927
check_syscall_args(compat_50_sys___shmctl13)
1928
#endif /* !RUMP_CLIENT */
1929

    
1930
struct sys_lchflags_args {
1931
        syscallarg(const char *) path;
1932
        syscallarg(u_long) flags;
1933
};
1934
check_syscall_args(sys_lchflags)
1935

    
1936
struct sys_utrace_args {
1937
        syscallarg(const char *) label;
1938
        syscallarg(void *) addr;
1939
        syscallarg(size_t) len;
1940
};
1941
check_syscall_args(sys_utrace)
1942

    
1943
#ifndef RUMP_CLIENT
1944
struct sys_getcontext_args {
1945
        syscallarg(struct __ucontext *) ucp;
1946
};
1947
check_syscall_args(sys_getcontext)
1948
#endif /* !RUMP_CLIENT */
1949

    
1950
#ifndef RUMP_CLIENT
1951
struct sys_setcontext_args {
1952
        syscallarg(const struct __ucontext *) ucp;
1953
};
1954
check_syscall_args(sys_setcontext)
1955
#endif /* !RUMP_CLIENT */
1956

    
1957
#ifndef RUMP_CLIENT
1958
struct sys__lwp_create_args {
1959
        syscallarg(const struct __ucontext *) ucp;
1960
        syscallarg(u_long) flags;
1961
        syscallarg(lwpid_t *) new_lwp;
1962
};
1963
check_syscall_args(sys__lwp_create)
1964
#endif /* !RUMP_CLIENT */
1965

    
1966
#ifndef RUMP_CLIENT
1967
struct sys__lwp_wait_args {
1968
        syscallarg(lwpid_t) wait_for;
1969
        syscallarg(lwpid_t *) departed;
1970
};
1971
check_syscall_args(sys__lwp_wait)
1972
#endif /* !RUMP_CLIENT */
1973

    
1974
#ifndef RUMP_CLIENT
1975
struct sys__lwp_suspend_args {
1976
        syscallarg(lwpid_t) target;
1977
};
1978
check_syscall_args(sys__lwp_suspend)
1979
#endif /* !RUMP_CLIENT */
1980

    
1981
#ifndef RUMP_CLIENT
1982
struct sys__lwp_continue_args {
1983
        syscallarg(lwpid_t) target;
1984
};
1985
check_syscall_args(sys__lwp_continue)
1986
#endif /* !RUMP_CLIENT */
1987

    
1988
#ifndef RUMP_CLIENT
1989
struct sys__lwp_wakeup_args {
1990
        syscallarg(lwpid_t) target;
1991
};
1992
check_syscall_args(sys__lwp_wakeup)
1993
#endif /* !RUMP_CLIENT */
1994

    
1995
#ifndef RUMP_CLIENT
1996
struct sys__lwp_setprivate_args {
1997
        syscallarg(void *) ptr;
1998
};
1999
check_syscall_args(sys__lwp_setprivate)
2000
#endif /* !RUMP_CLIENT */
2001

    
2002
#ifndef RUMP_CLIENT
2003
struct sys__lwp_kill_args {
2004
        syscallarg(lwpid_t) target;
2005
        syscallarg(int) signo;
2006
};
2007
check_syscall_args(sys__lwp_kill)
2008
#endif /* !RUMP_CLIENT */
2009

    
2010
#ifndef RUMP_CLIENT
2011
struct sys__lwp_detach_args {
2012
        syscallarg(lwpid_t) target;
2013
};
2014
check_syscall_args(sys__lwp_detach)
2015
#endif /* !RUMP_CLIENT */
2016

    
2017
#ifndef RUMP_CLIENT
2018
struct compat_50_sys__lwp_park_args {
2019
        syscallarg(const struct timespec50 *) ts;
2020
        syscallarg(lwpid_t) unpark;
2021
        syscallarg(const void *) hint;
2022
        syscallarg(const void *) unparkhint;
2023
};
2024
check_syscall_args(compat_50_sys__lwp_park)
2025
#endif /* !RUMP_CLIENT */
2026

    
2027
#ifndef RUMP_CLIENT
2028
struct sys__lwp_unpark_args {
2029
        syscallarg(lwpid_t) target;
2030
        syscallarg(const void *) hint;
2031
};
2032
check_syscall_args(sys__lwp_unpark)
2033
#endif /* !RUMP_CLIENT */
2034

    
2035
#ifndef RUMP_CLIENT
2036
struct sys__lwp_unpark_all_args {
2037
        syscallarg(const lwpid_t *) targets;
2038
        syscallarg(size_t) ntargets;
2039
        syscallarg(const void *) hint;
2040
};
2041
check_syscall_args(sys__lwp_unpark_all)
2042
#endif /* !RUMP_CLIENT */
2043

    
2044
#ifndef RUMP_CLIENT
2045
struct sys__lwp_setname_args {
2046
        syscallarg(lwpid_t) target;
2047
        syscallarg(const char *) name;
2048
};
2049
check_syscall_args(sys__lwp_setname)
2050
#endif /* !RUMP_CLIENT */
2051

    
2052
#ifndef RUMP_CLIENT
2053
struct sys__lwp_getname_args {
2054
        syscallarg(lwpid_t) target;
2055
        syscallarg(char *) name;
2056
        syscallarg(size_t) len;
2057
};
2058
check_syscall_args(sys__lwp_getname)
2059
#endif /* !RUMP_CLIENT */
2060

    
2061
#ifndef RUMP_CLIENT
2062
struct sys__lwp_ctl_args {
2063
        syscallarg(int) features;
2064
        syscallarg(struct lwpctl **) address;
2065
};
2066
check_syscall_args(sys__lwp_ctl)
2067
#endif /* !RUMP_CLIENT */
2068

    
2069
#ifndef RUMP_CLIENT
2070
struct compat_60_sys_sa_register_args {
2071
        syscallarg(void *) newv;
2072
        syscallarg(void **) oldv;
2073
        syscallarg(int) flags;
2074
        syscallarg(ssize_t) stackinfo_offset;
2075
};
2076
check_syscall_args(compat_60_sys_sa_register)
2077
#endif /* !RUMP_CLIENT */
2078

    
2079
#ifndef RUMP_CLIENT
2080
struct compat_60_sys_sa_stacks_args {
2081
        syscallarg(int) num;
2082
        syscallarg(stack_t *) stacks;
2083
};
2084
check_syscall_args(compat_60_sys_sa_stacks)
2085
#endif /* !RUMP_CLIENT */
2086

    
2087
#ifndef RUMP_CLIENT
2088
struct compat_60_sys_sa_setconcurrency_args {
2089
        syscallarg(int) concurrency;
2090
};
2091
check_syscall_args(compat_60_sys_sa_setconcurrency)
2092
#endif /* !RUMP_CLIENT */
2093

    
2094
#ifndef RUMP_CLIENT
2095
struct compat_60_sys_sa_preempt_args {
2096
        syscallarg(int) sa_id;
2097
};
2098
check_syscall_args(compat_60_sys_sa_preempt)
2099
#endif /* !RUMP_CLIENT */
2100

    
2101
#ifndef RUMP_CLIENT
2102
struct sys___sigaction_sigtramp_args {
2103
        syscallarg(int) signum;
2104
        syscallarg(const struct sigaction *) nsa;
2105
        syscallarg(struct sigaction *) osa;
2106
        syscallarg(const void *) tramp;
2107
        syscallarg(int) vers;
2108
};
2109
check_syscall_args(sys___sigaction_sigtramp)
2110
#endif /* !RUMP_CLIENT */
2111

    
2112
#ifndef RUMP_CLIENT
2113
struct sys_pmc_get_info_args {
2114
        syscallarg(int) ctr;
2115
        syscallarg(int) op;
2116
        syscallarg(void *) args;
2117
};
2118
check_syscall_args(sys_pmc_get_info)
2119
#endif /* !RUMP_CLIENT */
2120

    
2121
#ifndef RUMP_CLIENT
2122
struct sys_pmc_control_args {
2123
        syscallarg(int) ctr;
2124
        syscallarg(int) op;
2125
        syscallarg(void *) args;
2126
};
2127
check_syscall_args(sys_pmc_control)
2128
#endif /* !RUMP_CLIENT */
2129

    
2130
#ifndef RUMP_CLIENT
2131
struct sys_rasctl_args {
2132
        syscallarg(void *) addr;
2133
        syscallarg(size_t) len;
2134
        syscallarg(int) op;
2135
};
2136
check_syscall_args(sys_rasctl)
2137
#endif /* !RUMP_CLIENT */
2138

    
2139
struct compat_50_sys_kevent_args {
2140
        syscallarg(int) fd;
2141
        syscallarg(const struct kevent *) changelist;
2142
        syscallarg(size_t) nchanges;
2143
        syscallarg(struct kevent *) eventlist;
2144
        syscallarg(size_t) nevents;
2145
        syscallarg(const struct timespec50 *) timeout;
2146
};
2147
check_syscall_args(compat_50_sys_kevent)
2148

    
2149
#ifndef RUMP_CLIENT
2150
struct sys__sched_setparam_args {
2151
        syscallarg(pid_t) pid;
2152
        syscallarg(lwpid_t) lid;
2153
        syscallarg(int) policy;
2154
        syscallarg(const struct sched_param *) params;
2155
};
2156
check_syscall_args(sys__sched_setparam)
2157
#endif /* !RUMP_CLIENT */
2158

    
2159
#ifndef RUMP_CLIENT
2160
struct sys__sched_getparam_args {
2161
        syscallarg(pid_t) pid;
2162
        syscallarg(lwpid_t) lid;
2163
        syscallarg(int *) policy;
2164
        syscallarg(struct sched_param *) params;
2165
};
2166
check_syscall_args(sys__sched_getparam)
2167
#endif /* !RUMP_CLIENT */
2168

    
2169
#ifndef RUMP_CLIENT
2170
struct sys__sched_setaffinity_args {
2171
        syscallarg(pid_t) pid;
2172
        syscallarg(lwpid_t) lid;
2173
        syscallarg(size_t) size;
2174
        syscallarg(const cpuset_t *) cpuset;
2175
};
2176
check_syscall_args(sys__sched_setaffinity)
2177
#endif /* !RUMP_CLIENT */
2178

    
2179
#ifndef RUMP_CLIENT
2180
struct sys__sched_getaffinity_args {
2181
        syscallarg(pid_t) pid;
2182
        syscallarg(lwpid_t) lid;
2183
        syscallarg(size_t) size;
2184
        syscallarg(cpuset_t *) cpuset;
2185
};
2186
check_syscall_args(sys__sched_getaffinity)
2187
#endif /* !RUMP_CLIENT */
2188

    
2189
struct sys_fsync_range_args {
2190
        syscallarg(int) fd;
2191
        syscallarg(int) flags;
2192
        syscallarg(off_t) start;
2193
        syscallarg(off_t) length;
2194
};
2195
check_syscall_args(sys_fsync_range)
2196

    
2197
#ifndef RUMP_CLIENT
2198
struct sys_uuidgen_args {
2199
        syscallarg(struct uuid *) store;
2200
        syscallarg(int) count;
2201
};
2202
check_syscall_args(sys_uuidgen)
2203
#endif /* !RUMP_CLIENT */
2204

    
2205
struct sys_getvfsstat_args {
2206
        syscallarg(struct statvfs *) buf;
2207
        syscallarg(size_t) bufsize;
2208
        syscallarg(int) flags;
2209
};
2210
check_syscall_args(sys_getvfsstat)
2211

    
2212
struct sys_statvfs1_args {
2213
        syscallarg(const char *) path;
2214
        syscallarg(struct statvfs *) buf;
2215
        syscallarg(int) flags;
2216
};
2217
check_syscall_args(sys_statvfs1)
2218

    
2219
struct sys_fstatvfs1_args {
2220
        syscallarg(int) fd;
2221
        syscallarg(struct statvfs *) buf;
2222
        syscallarg(int) flags;
2223
};
2224
check_syscall_args(sys_fstatvfs1)
2225

    
2226
#ifndef RUMP_CLIENT
2227
struct compat_30_sys_fhstatvfs1_args {
2228
        syscallarg(const struct compat_30_fhandle *) fhp;
2229
        syscallarg(struct statvfs *) buf;
2230
        syscallarg(int) flags;
2231
};
2232
check_syscall_args(compat_30_sys_fhstatvfs1)
2233
#endif /* !RUMP_CLIENT */
2234

    
2235
struct sys_extattrctl_args {
2236
        syscallarg(const char *) path;
2237
        syscallarg(int) cmd;
2238
        syscallarg(const char *) filename;
2239
        syscallarg(int) attrnamespace;
2240
        syscallarg(const char *) attrname;
2241
};
2242
check_syscall_args(sys_extattrctl)
2243

    
2244
struct sys_extattr_set_file_args {
2245
        syscallarg(const char *) path;
2246
        syscallarg(int) attrnamespace;
2247
        syscallarg(const char *) attrname;
2248
        syscallarg(const void *) data;
2249
        syscallarg(size_t) nbytes;
2250
};
2251
check_syscall_args(sys_extattr_set_file)
2252

    
2253
struct sys_extattr_get_file_args {
2254
        syscallarg(const char *) path;
2255
        syscallarg(int) attrnamespace;
2256
        syscallarg(const char *) attrname;
2257
        syscallarg(void *) data;
2258
        syscallarg(size_t) nbytes;
2259
};
2260
check_syscall_args(sys_extattr_get_file)
2261

    
2262
struct sys_extattr_delete_file_args {
2263
        syscallarg(const char *) path;
2264
        syscallarg(int) attrnamespace;
2265
        syscallarg(const char *) attrname;
2266
};
2267
check_syscall_args(sys_extattr_delete_file)
2268

    
2269
struct sys_extattr_set_fd_args {
2270
        syscallarg(int) fd;
2271
        syscallarg(int) attrnamespace;
2272
        syscallarg(const char *) attrname;
2273
        syscallarg(const void *) data;
2274
        syscallarg(size_t) nbytes;
2275
};
2276
check_syscall_args(sys_extattr_set_fd)
2277

    
2278
struct sys_extattr_get_fd_args {
2279
        syscallarg(int) fd;
2280
        syscallarg(int) attrnamespace;
2281
        syscallarg(const char *) attrname;
2282
        syscallarg(void *) data;
2283
        syscallarg(size_t) nbytes;
2284
};
2285
check_syscall_args(sys_extattr_get_fd)
2286

    
2287
struct sys_extattr_delete_fd_args {
2288
        syscallarg(int) fd;
2289
        syscallarg(int) attrnamespace;
2290
        syscallarg(const char *) attrname;
2291
};
2292
check_syscall_args(sys_extattr_delete_fd)
2293

    
2294
struct sys_extattr_set_link_args {
2295
        syscallarg(const char *) path;
2296
        syscallarg(int) attrnamespace;
2297
        syscallarg(const char *) attrname;
2298
        syscallarg(const void *) data;
2299
        syscallarg(size_t) nbytes;
2300
};
2301
check_syscall_args(sys_extattr_set_link)
2302

    
2303
struct sys_extattr_get_link_args {
2304
        syscallarg(const char *) path;
2305
        syscallarg(int) attrnamespace;
2306
        syscallarg(const char *) attrname;
2307
        syscallarg(void *) data;
2308
        syscallarg(size_t) nbytes;
2309
};
2310
check_syscall_args(sys_extattr_get_link)
2311

    
2312
struct sys_extattr_delete_link_args {
2313
        syscallarg(const char *) path;
2314
        syscallarg(int) attrnamespace;
2315
        syscallarg(const char *) attrname;
2316
};
2317
check_syscall_args(sys_extattr_delete_link)
2318

    
2319
struct sys_extattr_list_fd_args {
2320
        syscallarg(int) fd;
2321
        syscallarg(int) attrnamespace;
2322
        syscallarg(void *) data;
2323
        syscallarg(size_t) nbytes;
2324
};
2325
check_syscall_args(sys_extattr_list_fd)
2326

    
2327
struct sys_extattr_list_file_args {
2328
        syscallarg(const char *) path;
2329
        syscallarg(int) attrnamespace;
2330
        syscallarg(void *) data;
2331
        syscallarg(size_t) nbytes;
2332
};
2333
check_syscall_args(sys_extattr_list_file)
2334

    
2335
struct sys_extattr_list_link_args {
2336
        syscallarg(const char *) path;
2337
        syscallarg(int) attrnamespace;
2338
        syscallarg(void *) data;
2339
        syscallarg(size_t) nbytes;
2340
};
2341
check_syscall_args(sys_extattr_list_link)
2342

    
2343
struct compat_50_sys_pselect_args {
2344
        syscallarg(int) nd;
2345
        syscallarg(fd_set *) in;
2346
        syscallarg(fd_set *) ou;
2347
        syscallarg(fd_set *) ex;
2348
        syscallarg(const struct timespec50 *) ts;
2349
        syscallarg(const sigset_t *) mask;
2350
};
2351
check_syscall_args(compat_50_sys_pselect)
2352

    
2353
struct compat_50_sys_pollts_args {
2354
        syscallarg(struct pollfd *) fds;
2355
        syscallarg(u_int) nfds;
2356
        syscallarg(const struct timespec50 *) ts;
2357
        syscallarg(const sigset_t *) mask;
2358
};
2359
check_syscall_args(compat_50_sys_pollts)
2360

    
2361
struct sys_setxattr_args {
2362
        syscallarg(const char *) path;
2363
        syscallarg(const char *) name;
2364
        syscallarg(const void *) value;
2365
        syscallarg(size_t) size;
2366
        syscallarg(int) flags;
2367
};
2368
check_syscall_args(sys_setxattr)
2369

    
2370
struct sys_lsetxattr_args {
2371
        syscallarg(const char *) path;
2372
        syscallarg(const char *) name;
2373
        syscallarg(const void *) value;
2374
        syscallarg(size_t) size;
2375
        syscallarg(int) flags;
2376
};
2377
check_syscall_args(sys_lsetxattr)
2378

    
2379
struct sys_fsetxattr_args {
2380
        syscallarg(int) fd;
2381
        syscallarg(const char *) name;
2382
        syscallarg(const void *) value;
2383
        syscallarg(size_t) size;
2384
        syscallarg(int) flags;
2385
};
2386
check_syscall_args(sys_fsetxattr)
2387

    
2388
struct sys_getxattr_args {
2389
        syscallarg(const char *) path;
2390
        syscallarg(const char *) name;
2391
        syscallarg(void *) value;
2392
        syscallarg(size_t) size;
2393
};
2394
check_syscall_args(sys_getxattr)
2395

    
2396
struct sys_lgetxattr_args {
2397
        syscallarg(const char *) path;
2398
        syscallarg(const char *) name;
2399
        syscallarg(void *) value;
2400
        syscallarg(size_t) size;
2401
};
2402
check_syscall_args(sys_lgetxattr)
2403

    
2404
struct sys_fgetxattr_args {
2405
        syscallarg(int) fd;
2406
        syscallarg(const char *) name;
2407
        syscallarg(void *) value;
2408
        syscallarg(size_t) size;
2409
};
2410
check_syscall_args(sys_fgetxattr)
2411

    
2412
struct sys_listxattr_args {
2413
        syscallarg(const char *) path;
2414
        syscallarg(char *) list;
2415
        syscallarg(size_t) size;
2416
};
2417
check_syscall_args(sys_listxattr)
2418

    
2419
struct sys_llistxattr_args {
2420
        syscallarg(const char *) path;
2421
        syscallarg(char *) list;
2422
        syscallarg(size_t) size;
2423
};
2424
check_syscall_args(sys_llistxattr)
2425

    
2426
struct sys_flistxattr_args {
2427
        syscallarg(int) fd;
2428
        syscallarg(char *) list;
2429
        syscallarg(size_t) size;
2430
};
2431
check_syscall_args(sys_flistxattr)
2432

    
2433
struct sys_removexattr_args {
2434
        syscallarg(const char *) path;
2435
        syscallarg(const char *) name;
2436
};
2437
check_syscall_args(sys_removexattr)
2438

    
2439
struct sys_lremovexattr_args {
2440
        syscallarg(const char *) path;
2441
        syscallarg(const char *) name;
2442
};
2443
check_syscall_args(sys_lremovexattr)
2444

    
2445
struct sys_fremovexattr_args {
2446
        syscallarg(int) fd;
2447
        syscallarg(const char *) name;
2448
};
2449
check_syscall_args(sys_fremovexattr)
2450

    
2451
struct compat_50_sys___stat30_args {
2452
        syscallarg(const char *) path;
2453
        syscallarg(struct stat30 *) ub;
2454
};
2455
check_syscall_args(compat_50_sys___stat30)
2456

    
2457
struct compat_50_sys___fstat30_args {
2458
        syscallarg(int) fd;
2459
        syscallarg(struct stat30 *) sb;
2460
};
2461
check_syscall_args(compat_50_sys___fstat30)
2462

    
2463
struct compat_50_sys___lstat30_args {
2464
        syscallarg(const char *) path;
2465
        syscallarg(struct stat30 *) ub;
2466
};
2467
check_syscall_args(compat_50_sys___lstat30)
2468

    
2469
struct sys___getdents30_args {
2470
        syscallarg(int) fd;
2471
        syscallarg(char *) buf;
2472
        syscallarg(size_t) count;
2473
};
2474
check_syscall_args(sys___getdents30)
2475

    
2476
#ifndef RUMP_CLIENT
2477
struct compat_30_sys___fhstat30_args {
2478
        syscallarg(const struct compat_30_fhandle *) fhp;
2479
        syscallarg(struct stat30 *) sb;
2480
};
2481
check_syscall_args(compat_30_sys___fhstat30)
2482
#endif /* !RUMP_CLIENT */
2483

    
2484
#ifndef RUMP_CLIENT
2485
struct compat_50_sys___ntp_gettime30_args {
2486
        syscallarg(struct ntptimeval50 *) ntvp;
2487
};
2488
check_syscall_args(compat_50_sys___ntp_gettime30)
2489
#endif /* !RUMP_CLIENT */
2490

    
2491
struct sys___socket30_args {
2492
        syscallarg(int) domain;
2493
        syscallarg(int) type;
2494
        syscallarg(int) protocol;
2495
};
2496
check_syscall_args(sys___socket30)
2497

    
2498
struct sys___getfh30_args {
2499
        syscallarg(const char *) fname;
2500
        syscallarg(void *) fhp;
2501
        syscallarg(size_t *) fh_size;
2502
};
2503
check_syscall_args(sys___getfh30)
2504

    
2505
struct sys___fhopen40_args {
2506
        syscallarg(const void *) fhp;
2507
        syscallarg(size_t) fh_size;
2508
        syscallarg(int) flags;
2509
};
2510
check_syscall_args(sys___fhopen40)
2511

    
2512
struct sys___fhstatvfs140_args {
2513
        syscallarg(const void *) fhp;
2514
        syscallarg(size_t) fh_size;
2515
        syscallarg(struct statvfs *) buf;
2516
        syscallarg(int) flags;
2517
};
2518
check_syscall_args(sys___fhstatvfs140)
2519

    
2520
struct compat_50_sys___fhstat40_args {
2521
        syscallarg(const void *) fhp;
2522
        syscallarg(size_t) fh_size;
2523
        syscallarg(struct stat30 *) sb;
2524
};
2525
check_syscall_args(compat_50_sys___fhstat40)
2526

    
2527
struct sys_aio_cancel_args {
2528
        syscallarg(int) fildes;
2529
        syscallarg(struct aiocb *) aiocbp;
2530
};
2531
check_syscall_args(sys_aio_cancel)
2532

    
2533
struct sys_aio_error_args {
2534
        syscallarg(const struct aiocb *) aiocbp;
2535
};
2536
check_syscall_args(sys_aio_error)
2537

    
2538
struct sys_aio_fsync_args {
2539
        syscallarg(int) op;
2540
        syscallarg(struct aiocb *) aiocbp;
2541
};
2542
check_syscall_args(sys_aio_fsync)
2543

    
2544
struct sys_aio_read_args {
2545
        syscallarg(struct aiocb *) aiocbp;
2546
};
2547
check_syscall_args(sys_aio_read)
2548

    
2549
struct sys_aio_return_args {
2550
        syscallarg(struct aiocb *) aiocbp;
2551
};
2552
check_syscall_args(sys_aio_return)
2553

    
2554
#ifndef RUMP_CLIENT
2555
struct compat_50_sys_aio_suspend_args {
2556
        syscallarg(const struct aiocb *const *) list;
2557
        syscallarg(int) nent;
2558
        syscallarg(const struct timespec50 *) timeout;
2559
};
2560
check_syscall_args(compat_50_sys_aio_suspend)
2561
#endif /* !RUMP_CLIENT */
2562

    
2563
struct sys_aio_write_args {
2564
        syscallarg(struct aiocb *) aiocbp;
2565
};
2566
check_syscall_args(sys_aio_write)
2567

    
2568
struct sys_lio_listio_args {
2569
        syscallarg(int) mode;
2570
        syscallarg(struct aiocb *const *) list;
2571
        syscallarg(int) nent;
2572
        syscallarg(struct sigevent *) sig;
2573
};
2574
check_syscall_args(sys_lio_listio)
2575

    
2576
struct sys___mount50_args {
2577
        syscallarg(const char *) type;
2578
        syscallarg(const char *) path;
2579
        syscallarg(int) flags;
2580
        syscallarg(void *) data;
2581
        syscallarg(size_t) data_len;
2582
};
2583
check_syscall_args(sys___mount50)
2584

    
2585
#ifndef RUMP_CLIENT
2586
struct sys_mremap_args {
2587
        syscallarg(void *) old_address;
2588
        syscallarg(size_t) old_size;
2589
        syscallarg(void *) new_address;
2590
        syscallarg(size_t) new_size;
2591
        syscallarg(int) flags;
2592
};
2593
check_syscall_args(sys_mremap)
2594
#endif /* !RUMP_CLIENT */
2595

    
2596
#ifndef RUMP_CLIENT
2597
struct sys_pset_create_args {
2598
        syscallarg(psetid_t *) psid;
2599
};
2600
check_syscall_args(sys_pset_create)
2601
#endif /* !RUMP_CLIENT */
2602

    
2603
#ifndef RUMP_CLIENT
2604
struct sys_pset_destroy_args {
2605
        syscallarg(psetid_t) psid;
2606
};
2607
check_syscall_args(sys_pset_destroy)
2608
#endif /* !RUMP_CLIENT */
2609

    
2610
#ifndef RUMP_CLIENT
2611
struct sys_pset_assign_args {
2612
        syscallarg(psetid_t) psid;
2613
        syscallarg(cpuid_t) cpuid;
2614
        syscallarg(psetid_t *) opsid;
2615
};
2616
check_syscall_args(sys_pset_assign)
2617
#endif /* !RUMP_CLIENT */
2618

    
2619
#ifndef RUMP_CLIENT
2620
struct sys__pset_bind_args {
2621
        syscallarg(idtype_t) idtype;
2622
        syscallarg(id_t) first_id;
2623
        syscallarg(id_t) second_id;
2624
        syscallarg(psetid_t) psid;
2625
        syscallarg(psetid_t *) opsid;
2626
};
2627
check_syscall_args(sys__pset_bind)
2628
#endif /* !RUMP_CLIENT */
2629

    
2630
struct sys___posix_fadvise50_args {
2631
        syscallarg(int) fd;
2632
        syscallarg(int) PAD;
2633
        syscallarg(off_t) offset;
2634
        syscallarg(off_t) len;
2635
        syscallarg(int) advice;
2636
};
2637
check_syscall_args(sys___posix_fadvise50)
2638

    
2639
struct sys___select50_args {
2640
        syscallarg(int) nd;
2641
        syscallarg(fd_set *) in;
2642
        syscallarg(fd_set *) ou;
2643
        syscallarg(fd_set *) ex;
2644
        syscallarg(struct timeval *) tv;
2645
};
2646
check_syscall_args(sys___select50)
2647

    
2648
struct sys___gettimeofday50_args {
2649
        syscallarg(struct timeval *) tp;
2650
        syscallarg(void *) tzp;
2651
};
2652
check_syscall_args(sys___gettimeofday50)
2653

    
2654
struct sys___settimeofday50_args {
2655
        syscallarg(const struct timeval *) tv;
2656
        syscallarg(const void *) tzp;
2657
};
2658
check_syscall_args(sys___settimeofday50)
2659

    
2660
struct sys___utimes50_args {
2661
        syscallarg(const char *) path;
2662
        syscallarg(const struct timeval *) tptr;
2663
};
2664
check_syscall_args(sys___utimes50)
2665

    
2666
struct sys___adjtime50_args {
2667
        syscallarg(const struct timeval *) delta;
2668
        syscallarg(struct timeval *) olddelta;
2669
};
2670
check_syscall_args(sys___adjtime50)
2671

    
2672
#ifndef RUMP_CLIENT
2673
struct sys___lfs_segwait50_args {
2674
        syscallarg(fsid_t *) fsidp;
2675
        syscallarg(struct timeval *) tv;
2676
};
2677
check_syscall_args(sys___lfs_segwait50)
2678
#endif /* !RUMP_CLIENT */
2679

    
2680
struct sys___futimes50_args {
2681
        syscallarg(int) fd;
2682
        syscallarg(const struct timeval *) tptr;
2683
};
2684
check_syscall_args(sys___futimes50)
2685

    
2686
struct sys___lutimes50_args {
2687
        syscallarg(const char *) path;
2688
        syscallarg(const struct timeval *) tptr;
2689
};
2690
check_syscall_args(sys___lutimes50)
2691

    
2692
struct sys___setitimer50_args {
2693
        syscallarg(int) which;
2694
        syscallarg(const struct itimerval *) itv;
2695
        syscallarg(struct itimerval *) oitv;
2696
};
2697
check_syscall_args(sys___setitimer50)
2698

    
2699
struct sys___getitimer50_args {
2700
        syscallarg(int) which;
2701
        syscallarg(struct itimerval *) itv;
2702
};
2703
check_syscall_args(sys___getitimer50)
2704

    
2705
struct sys___clock_gettime50_args {
2706
        syscallarg(clockid_t) clock_id;
2707
        syscallarg(struct timespec *) tp;
2708
};
2709
check_syscall_args(sys___clock_gettime50)
2710

    
2711
struct sys___clock_settime50_args {
2712
        syscallarg(clockid_t) clock_id;
2713
        syscallarg(const struct timespec *) tp;
2714
};
2715
check_syscall_args(sys___clock_settime50)
2716

    
2717
struct sys___clock_getres50_args {
2718
        syscallarg(clockid_t) clock_id;
2719
        syscallarg(struct timespec *) tp;
2720
};
2721
check_syscall_args(sys___clock_getres50)
2722

    
2723
struct sys___nanosleep50_args {
2724
        syscallarg(const struct timespec *) rqtp;
2725
        syscallarg(struct timespec *) rmtp;
2726
};
2727
check_syscall_args(sys___nanosleep50)
2728

    
2729
#ifndef RUMP_CLIENT
2730
struct sys_____sigtimedwait50_args {
2731
        syscallarg(const sigset_t *) set;
2732
        syscallarg(siginfo_t *) info;
2733
        syscallarg(struct timespec *) timeout;
2734
};
2735
check_syscall_args(sys_____sigtimedwait50)
2736
#endif /* !RUMP_CLIENT */
2737

    
2738
#ifndef RUMP_CLIENT
2739
struct sys___mq_timedsend50_args {
2740
        syscallarg(mqd_t) mqdes;
2741
        syscallarg(const char *) msg_ptr;
2742
        syscallarg(size_t) msg_len;
2743
        syscallarg(unsigned) msg_prio;
2744
        syscallarg(const struct timespec *) abs_timeout;
2745
};
2746
check_syscall_args(sys___mq_timedsend50)
2747
#endif /* !RUMP_CLIENT */
2748

    
2749
#ifndef RUMP_CLIENT
2750
struct sys___mq_timedreceive50_args {
2751
        syscallarg(mqd_t) mqdes;
2752
        syscallarg(char *) msg_ptr;
2753
        syscallarg(size_t) msg_len;
2754
        syscallarg(unsigned *) msg_prio;
2755
        syscallarg(const struct timespec *) abs_timeout;
2756
};
2757
check_syscall_args(sys___mq_timedreceive50)
2758
#endif /* !RUMP_CLIENT */
2759

    
2760
#ifndef RUMP_CLIENT
2761
struct compat_60_sys__lwp_park_args {
2762
        syscallarg(const struct timespec *) ts;
2763
        syscallarg(lwpid_t) unpark;
2764
        syscallarg(const void *) hint;
2765
        syscallarg(const void *) unparkhint;
2766
};
2767
check_syscall_args(compat_60_sys__lwp_park)
2768
#endif /* !RUMP_CLIENT */
2769

    
2770
struct sys___kevent50_args {
2771
        syscallarg(int) fd;
2772
        syscallarg(const struct kevent *) changelist;
2773
        syscallarg(size_t) nchanges;
2774
        syscallarg(struct kevent *) eventlist;
2775
        syscallarg(size_t) nevents;
2776
        syscallarg(const struct timespec *) timeout;
2777
};
2778
check_syscall_args(sys___kevent50)
2779

    
2780
struct sys___pselect50_args {
2781
        syscallarg(int) nd;
2782
        syscallarg(fd_set *) in;
2783
        syscallarg(fd_set *) ou;
2784
        syscallarg(fd_set *) ex;
2785
        syscallarg(const struct timespec *) ts;
2786
        syscallarg(const sigset_t *) mask;
2787
};
2788
check_syscall_args(sys___pselect50)
2789

    
2790
struct sys___pollts50_args {
2791
        syscallarg(struct pollfd *) fds;
2792
        syscallarg(u_int) nfds;
2793
        syscallarg(const struct timespec *) ts;
2794
        syscallarg(const sigset_t *) mask;
2795
};
2796
check_syscall_args(sys___pollts50)
2797

    
2798
struct sys___aio_suspend50_args {
2799
        syscallarg(const struct aiocb *const *) list;
2800
        syscallarg(int) nent;
2801
        syscallarg(const struct timespec *) timeout;
2802
};
2803
check_syscall_args(sys___aio_suspend50)
2804

    
2805
struct sys___stat50_args {
2806
        syscallarg(const char *) path;
2807
        syscallarg(struct stat *) ub;
2808
};
2809
check_syscall_args(sys___stat50)
2810

    
2811
struct sys___fstat50_args {
2812
        syscallarg(int) fd;
2813
        syscallarg(struct stat *) sb;
2814
};
2815
check_syscall_args(sys___fstat50)
2816

    
2817
struct sys___lstat50_args {
2818
        syscallarg(const char *) path;
2819
        syscallarg(struct stat *) ub;
2820
};
2821
check_syscall_args(sys___lstat50)
2822

    
2823
#ifndef RUMP_CLIENT
2824
struct sys_____semctl50_args {
2825
        syscallarg(int) semid;
2826
        syscallarg(int) semnum;
2827
        syscallarg(int) cmd;
2828
        syscallarg(union __semun *) arg;
2829
};
2830
check_syscall_args(sys_____semctl50)
2831
#endif /* !RUMP_CLIENT */
2832

    
2833
#ifndef RUMP_CLIENT
2834
struct sys___shmctl50_args {
2835
        syscallarg(int) shmid;
2836
        syscallarg(int) cmd;
2837
        syscallarg(struct shmid_ds *) buf;
2838
};
2839
check_syscall_args(sys___shmctl50)
2840
#endif /* !RUMP_CLIENT */
2841

    
2842
#ifndef RUMP_CLIENT
2843
struct sys___msgctl50_args {
2844
        syscallarg(int) msqid;
2845
        syscallarg(int) cmd;
2846
        syscallarg(struct msqid_ds *) buf;
2847
};
2848
check_syscall_args(sys___msgctl50)
2849
#endif /* !RUMP_CLIENT */
2850

    
2851
#ifndef RUMP_CLIENT
2852
struct sys___getrusage50_args {
2853
        syscallarg(int) who;
2854
        syscallarg(struct rusage *) rusage;
2855
};
2856
check_syscall_args(sys___getrusage50)
2857
#endif /* !RUMP_CLIENT */
2858

    
2859
struct sys___timer_settime50_args {
2860
        syscallarg(timer_t) timerid;
2861
        syscallarg(int) flags;
2862
        syscallarg(const struct itimerspec *) value;
2863
        syscallarg(struct itimerspec *) ovalue;
2864
};
2865
check_syscall_args(sys___timer_settime50)
2866

    
2867
struct sys___timer_gettime50_args {
2868
        syscallarg(timer_t) timerid;
2869
        syscallarg(struct itimerspec *) value;
2870
};
2871
check_syscall_args(sys___timer_gettime50)
2872
#if defined(NTP) || !defined(_KERNEL_OPT)
2873

    
2874
#ifndef RUMP_CLIENT
2875
struct sys___ntp_gettime50_args {
2876
        syscallarg(struct ntptimeval *) ntvp;
2877
};
2878
check_syscall_args(sys___ntp_gettime50)
2879
#endif /* !RUMP_CLIENT */
2880
#else
2881
#endif
2882

    
2883
#ifndef RUMP_CLIENT
2884
struct sys___wait450_args {
2885
        syscallarg(pid_t) pid;
2886
        syscallarg(int *) status;
2887
        syscallarg(int) options;
2888
        syscallarg(struct rusage *) rusage;
2889
};
2890
check_syscall_args(sys___wait450)
2891
#endif /* !RUMP_CLIENT */
2892

    
2893
struct sys___mknod50_args {
2894
        syscallarg(const char *) path;
2895
        syscallarg(mode_t) mode;
2896
        syscallarg(dev_t) dev;
2897
};
2898
check_syscall_args(sys___mknod50)
2899

    
2900
struct sys___fhstat50_args {
2901
        syscallarg(const void *) fhp;
2902
        syscallarg(size_t) fh_size;
2903
        syscallarg(struct stat *) sb;
2904
};
2905
check_syscall_args(sys___fhstat50)
2906

    
2907
struct sys_pipe2_args {
2908
        syscallarg(int *) fildes;
2909
        syscallarg(int) flags;
2910
};
2911
check_syscall_args(sys_pipe2)
2912

    
2913
struct sys_dup3_args {
2914
        syscallarg(int) from;
2915
        syscallarg(int) to;
2916
        syscallarg(int) flags;
2917
};
2918
check_syscall_args(sys_dup3)
2919

    
2920
struct sys_kqueue1_args {
2921
        syscallarg(int) flags;
2922
};
2923
check_syscall_args(sys_kqueue1)
2924

    
2925
struct sys_paccept_args {
2926
        syscallarg(int) s;
2927
        syscallarg(struct sockaddr *) name;
2928
        syscallarg(socklen_t *) anamelen;
2929
        syscallarg(const sigset_t *) mask;
2930
        syscallarg(int) flags;
2931
};
2932
check_syscall_args(sys_paccept)
2933

    
2934
struct sys_linkat_args {
2935
        syscallarg(int) fd1;
2936
        syscallarg(const char *) name1;
2937
        syscallarg(int) fd2;
2938
        syscallarg(const char *) name2;
2939
        syscallarg(int) flags;
2940
};
2941
check_syscall_args(sys_linkat)
2942

    
2943
struct sys_renameat_args {
2944
        syscallarg(int) fromfd;
2945
        syscallarg(const char *) from;
2946
        syscallarg(int) tofd;
2947
        syscallarg(const char *) to;
2948
};
2949
check_syscall_args(sys_renameat)
2950

    
2951
struct sys_mkfifoat_args {
2952
        syscallarg(int) fd;
2953
        syscallarg(const char *) path;
2954
        syscallarg(mode_t) mode;
2955
};
2956
check_syscall_args(sys_mkfifoat)
2957

    
2958
struct sys_mknodat_args {
2959
        syscallarg(int) fd;
2960
        syscallarg(const char *) path;
2961
        syscallarg(mode_t) mode;
2962
        syscallarg(int) PAD;
2963
        syscallarg(dev_t) dev;
2964
};
2965
check_syscall_args(sys_mknodat)
2966

    
2967
struct sys_mkdirat_args {
2968
        syscallarg(int) fd;
2969
        syscallarg(const char *) path;
2970
        syscallarg(mode_t) mode;
2971
};
2972
check_syscall_args(sys_mkdirat)
2973

    
2974
struct sys_faccessat_args {
2975
        syscallarg(int) fd;
2976
        syscallarg(const char *) path;
2977
        syscallarg(int) amode;
2978
        syscallarg(int) flag;
2979
};
2980
check_syscall_args(sys_faccessat)
2981

    
2982
struct sys_fchmodat_args {
2983
        syscallarg(int) fd;
2984
        syscallarg(const char *) path;
2985
        syscallarg(mode_t) mode;
2986
        syscallarg(int) flag;
2987
};
2988
check_syscall_args(sys_fchmodat)
2989

    
2990
struct sys_fchownat_args {
2991
        syscallarg(int) fd;
2992
        syscallarg(const char *) path;
2993
        syscallarg(uid_t) owner;
2994
        syscallarg(gid_t) group;
2995
        syscallarg(int) flag;
2996
};
2997
check_syscall_args(sys_fchownat)
2998

    
2999
#ifndef RUMP_CLIENT
3000
struct sys_fexecve_args {
3001
        syscallarg(int) fd;
3002
        syscallarg(char *const *) argp;
3003
        syscallarg(char *const *) envp;
3004
};
3005
check_syscall_args(sys_fexecve)
3006
#endif /* !RUMP_CLIENT */
3007

    
3008
struct sys_fstatat_args {
3009
        syscallarg(int) fd;
3010
        syscallarg(const char *) path;
3011
        syscallarg(struct stat *) buf;
3012
        syscallarg(int) flag;
3013
};
3014
check_syscall_args(sys_fstatat)
3015

    
3016
struct sys_utimensat_args {
3017
        syscallarg(int) fd;
3018
        syscallarg(const char *) path;
3019
        syscallarg(const struct timespec *) tptr;
3020
        syscallarg(int) flag;
3021
};
3022
check_syscall_args(sys_utimensat)
3023

    
3024
struct sys_openat_args {
3025
        syscallarg(int) fd;
3026
        syscallarg(const char *) path;
3027
        syscallarg(int) oflags;
3028
        syscallarg(mode_t) mode;
3029
};
3030
check_syscall_args(sys_openat)
3031

    
3032
struct sys_readlinkat_args {
3033
        syscallarg(int) fd;
3034
        syscallarg(const char *) path;
3035
        syscallarg(char *) buf;
3036
        syscallarg(size_t) bufsize;
3037
};
3038
check_syscall_args(sys_readlinkat)
3039

    
3040
struct sys_symlinkat_args {
3041
        syscallarg(const char *) path1;
3042
        syscallarg(int) fd;
3043
        syscallarg(const char *) path2;
3044
};
3045
check_syscall_args(sys_symlinkat)
3046

    
3047
struct sys_unlinkat_args {
3048
        syscallarg(int) fd;
3049
        syscallarg(const char *) path;
3050
        syscallarg(int) flag;
3051
};
3052
check_syscall_args(sys_unlinkat)
3053

    
3054
struct sys_futimens_args {
3055
        syscallarg(int) fd;
3056
        syscallarg(const struct timespec *) tptr;
3057
};
3058
check_syscall_args(sys_futimens)
3059

    
3060
struct sys___quotactl_args {
3061
        syscallarg(const char *) path;
3062
        syscallarg(struct quotactl_args *) args;
3063
};
3064
check_syscall_args(sys___quotactl)
3065

    
3066
#ifndef RUMP_CLIENT
3067
struct sys_posix_spawn_args {
3068
        syscallarg(pid_t *) pid;
3069
        syscallarg(const char *) path;
3070
        syscallarg(const struct posix_spawn_file_actions *) file_actions;
3071
        syscallarg(const struct posix_spawnattr *) attrp;
3072
        syscallarg(char *const *) argv;
3073
        syscallarg(char *const *) envp;
3074
};
3075
check_syscall_args(sys_posix_spawn)
3076
#endif /* !RUMP_CLIENT */
3077

    
3078
struct sys_recvmmsg_args {
3079
        syscallarg(int) s;
3080
        syscallarg(struct mmsghdr *) mmsg;
3081
        syscallarg(unsigned int) vlen;
3082
        syscallarg(unsigned int) flags;
3083
        syscallarg(struct timespec *) timeout;
3084
};
3085
check_syscall_args(sys_recvmmsg)
3086

    
3087
struct sys_sendmmsg_args {
3088
        syscallarg(int) s;
3089
        syscallarg(struct mmsghdr *) mmsg;
3090
        syscallarg(unsigned int) vlen;
3091
        syscallarg(unsigned int) flags;
3092
};
3093
check_syscall_args(sys_sendmmsg)
3094

    
3095
struct sys_clock_nanosleep_args {
3096
        syscallarg(clockid_t) clock_id;
3097
        syscallarg(int) flags;
3098
        syscallarg(const struct timespec *) rqtp;
3099
        syscallarg(struct timespec *) rmtp;
3100
};
3101
check_syscall_args(sys_clock_nanosleep)
3102

    
3103
#ifndef RUMP_CLIENT
3104
struct sys____lwp_park60_args {
3105
        syscallarg(clockid_t) clock_id;
3106
        syscallarg(int) flags;
3107
        syscallarg(const struct timespec *) ts;
3108
        syscallarg(lwpid_t) unpark;
3109
        syscallarg(const void *) hint;
3110
        syscallarg(const void *) unparkhint;
3111
};
3112
check_syscall_args(sys____lwp_park60)
3113
#endif /* !RUMP_CLIENT */
3114

    
3115
struct sys_posix_fallocate_args {
3116
        syscallarg(int) fd;
3117
        syscallarg(int) PAD;
3118
        syscallarg(off_t) pos;
3119
        syscallarg(off_t) len;
3120
};
3121
check_syscall_args(sys_posix_fallocate)
3122

    
3123
struct sys_fdiscard_args {
3124
        syscallarg(int) fd;
3125
        syscallarg(int) PAD;
3126
        syscallarg(off_t) pos;
3127
        syscallarg(off_t) len;
3128
};
3129
check_syscall_args(sys_fdiscard)
3130

    
3131
/*
3132
 * System call prototypes.
3133
 */
3134

    
3135
#ifndef RUMP_CLIENT
3136
int        sys_syscall(struct lwp *, const struct sys_syscall_args *, register_t *);
3137

    
3138
int        sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
3139

    
3140
int        sys_fork(struct lwp *, const void *, register_t *);
3141

    
3142
int        sys_read(struct lwp *, const struct sys_read_args *, register_t *);
3143

    
3144
int        sys_write(struct lwp *, const struct sys_write_args *, register_t *);
3145

    
3146
int        sys_open(struct lwp *, const struct sys_open_args *, register_t *);
3147

    
3148
int        sys_close(struct lwp *, const struct sys_close_args *, register_t *);
3149

    
3150
int        compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *);
3151

    
3152
int        compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *);
3153

    
3154
int        sys_link(struct lwp *, const struct sys_link_args *, register_t *);
3155

    
3156
int        sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
3157

    
3158
int        sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
3159

    
3160
int        sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
3161

    
3162
int        compat_50_sys_mknod(struct lwp *, const struct compat_50_sys_mknod_args *, register_t *);
3163

    
3164
int        sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
3165

    
3166
int        sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
3167

    
3168
int        sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
3169

    
3170
int        compat_20_sys_getfsstat(struct lwp *, const struct compat_20_sys_getfsstat_args *, register_t *);
3171

    
3172
int        compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
3173

    
3174
int        sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
3175

    
3176
int        compat_40_sys_mount(struct lwp *, const struct compat_40_sys_mount_args *, register_t *);
3177

    
3178
int        sys_unmount(struct lwp *, const struct sys_unmount_args *, register_t *);
3179

    
3180
int        sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
3181

    
3182
int        sys_getuid_with_euid(struct lwp *, const void *, register_t *);
3183

    
3184
int        sys_geteuid(struct lwp *, const void *, register_t *);
3185

    
3186
int        sys_ptrace(struct lwp *, const struct sys_ptrace_args *, register_t *);
3187

    
3188
int        sys_recvmsg(struct lwp *, const struct sys_recvmsg_args *, register_t *);
3189

    
3190
int        sys_sendmsg(struct lwp *, const struct sys_sendmsg_args *, register_t *);
3191

    
3192
int        sys_recvfrom(struct lwp *, const struct sys_recvfrom_args *, register_t *);
3193

    
3194
int        sys_accept(struct lwp *, const struct sys_accept_args *, register_t *);
3195

    
3196
int        sys_getpeername(struct lwp *, const struct sys_getpeername_args *, register_t *);
3197

    
3198
int        sys_getsockname(struct lwp *, const struct sys_getsockname_args *, register_t *);
3199

    
3200
int        sys_access(struct lwp *, const struct sys_access_args *, register_t *);
3201

    
3202
int        sys_chflags(struct lwp *, const struct sys_chflags_args *, register_t *);
3203

    
3204
int        sys_fchflags(struct lwp *, const struct sys_fchflags_args *, register_t *);
3205

    
3206
int        sys_sync(struct lwp *, const void *, register_t *);
3207

    
3208
int        sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
3209

    
3210
int        compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
3211

    
3212
int        sys_getppid(struct lwp *, const void *, register_t *);
3213

    
3214
int        compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
3215

    
3216
int        sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
3217

    
3218
int        sys_pipe(struct lwp *, const void *, register_t *);
3219

    
3220
int        sys_getegid(struct lwp *, const void *, register_t *);
3221

    
3222
int        sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
3223

    
3224
int        sys_ktrace(struct lwp *, const struct sys_ktrace_args *, register_t *);
3225

    
3226
int        compat_13_sys_sigaction(struct lwp *, const struct compat_13_sys_sigaction_args *, register_t *);
3227

    
3228
int        sys_getgid_with_egid(struct lwp *, const void *, register_t *);
3229

    
3230
int        compat_13_sys_sigprocmask(struct lwp *, const struct compat_13_sys_sigprocmask_args *, register_t *);
3231

    
3232
int        sys___getlogin(struct lwp *, const struct sys___getlogin_args *, register_t *);
3233

    
3234
int        sys___setlogin(struct lwp *, const struct sys___setlogin_args *, register_t *);
3235

    
3236
int        sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
3237

    
3238
int        compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
3239

    
3240
int        compat_13_sys_sigaltstack(struct lwp *, const struct compat_13_sys_sigaltstack_args *, register_t *);
3241

    
3242
int        sys_ioctl(struct lwp *, const struct sys_ioctl_args *, register_t *);
3243

    
3244
int        compat_12_sys_reboot(struct lwp *, const struct compat_12_sys_reboot_args *, register_t *);
3245

    
3246
int        sys_revoke(struct lwp *, const struct sys_revoke_args *, register_t *);
3247

    
3248
int        sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
3249

    
3250
int        sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
3251

    
3252
int        sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
3253

    
3254
int        sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
3255

    
3256
int        sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
3257

    
3258
int        compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
3259

    
3260
int        compat_43_sys_getkerninfo(struct lwp *, const struct compat_43_sys_getkerninfo_args *, register_t *);
3261

    
3262
int        compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
3263

    
3264
int        compat_12_sys_msync(struct lwp *, const struct compat_12_sys_msync_args *, register_t *);
3265

    
3266
int        sys_vfork(struct lwp *, const void *, register_t *);
3267

    
3268
int        sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
3269

    
3270
int        sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
3271

    
3272
int        compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
3273

    
3274
int        sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
3275

    
3276
int        sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
3277

    
3278
int        sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
3279

    
3280
int        sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
3281

    
3282
int        sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
3283

    
3284
int        sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
3285

    
3286
int        sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
3287

    
3288
int        sys_getpgrp(struct lwp *, const void *, register_t *);
3289

    
3290
int        sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
3291

    
3292
int        compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
3293

    
3294
int        compat_43_sys_wait(struct lwp *, const void *, register_t *);
3295

    
3296
int        compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
3297

    
3298
int        compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
3299

    
3300
int        compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
3301

    
3302
int        compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
3303

    
3304
int        compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
3305

    
3306
int        sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
3307

    
3308
int        sys_fcntl(struct lwp *, const struct sys_fcntl_args *, register_t *);
3309

    
3310
int        compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
3311

    
3312
int        sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
3313

    
3314
int        sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
3315

    
3316
int        compat_30_sys_socket(struct lwp *, const struct compat_30_sys_socket_args *, register_t *);
3317

    
3318
int        sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
3319

    
3320
int        compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
3321

    
3322
int        sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
3323

    
3324
int        compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
3325

    
3326
int        compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
3327

    
3328
int        compat_13_sys_sigreturn(struct lwp *, const struct compat_13_sys_sigreturn_args *, register_t *);
3329

    
3330
int        sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
3331

    
3332
int        sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
3333

    
3334
int        sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
3335

    
3336
int        compat_43_sys_sigvec(struct lwp *, const struct compat_43_sys_sigvec_args *, register_t *);
3337

    
3338
int        compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
3339

    
3340
int        compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
3341

    
3342
int        compat_13_sys_sigsuspend(struct lwp *, const struct compat_13_sys_sigsuspend_args *, register_t *);
3343

    
3344
int        compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
3345

    
3346
int        compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
3347

    
3348
int        compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
3349

    
3350
int        compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
3351

    
3352
int        compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
3353

    
3354
int        sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
3355

    
3356
int        sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
3357

    
3358
int        sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
3359

    
3360
int        compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
3361

    
3362
int        sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
3363

    
3364
int        sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
3365

    
3366
int        compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
3367

    
3368
int        sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
3369

    
3370
int        sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
3371

    
3372
int        sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
3373

    
3374
int        compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
3375

    
3376
int        compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
3377

    
3378
int        sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
3379

    
3380
int        sys_mkfifo(struct lwp *, const struct sys_mkfifo_args *, register_t *);
3381

    
3382
int        sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
3383

    
3384
int        sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
3385

    
3386
int        sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
3387

    
3388
int        sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
3389

    
3390
int        sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
3391

    
3392
int        compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
3393

    
3394
int        compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
3395

    
3396
int        compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
3397

    
3398
int        compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
3399

    
3400
int        compat_43_sys_sethostid(struct lwp *, const struct compat_43_sys_sethostid_args *, register_t *);
3401

    
3402
int        compat_43_sys_getrlimit(struct lwp *, const struct compat_43_sys_getrlimit_args *, register_t *);
3403

    
3404
int        compat_43_sys_setrlimit(struct lwp *, const struct compat_43_sys_setrlimit_args *, register_t *);
3405

    
3406
int        compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
3407

    
3408
int        sys_setsid(struct lwp *, const void *, register_t *);
3409

    
3410
int        compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *);
3411

    
3412
int        compat_43_sys_quota(struct lwp *, const void *, register_t *);
3413

    
3414
int        compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
3415

    
3416
int        sys_nfssvc(struct lwp *, const struct sys_nfssvc_args *, register_t *);
3417

    
3418
int        compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
3419

    
3420
int        compat_20_sys_statfs(struct lwp *, const struct compat_20_sys_statfs_args *, register_t *);
3421

    
3422
int        compat_20_sys_fstatfs(struct lwp *, const struct compat_20_sys_fstatfs_args *, register_t *);
3423

    
3424
int        compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
3425

    
3426
int        compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
3427

    
3428
int        compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
3429

    
3430
int        compat_09_sys_uname(struct lwp *, const struct compat_09_sys_uname_args *, register_t *);
3431

    
3432
int        sys_sysarch(struct lwp *, const struct sys_sysarch_args *, register_t *);
3433

    
3434
#if !defined(_LP64)
3435
int        compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *);
3436

    
3437
#else
3438
#endif
3439
#if !defined(_LP64)
3440
int        compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *);
3441

    
3442
#else
3443
#endif
3444
#if !defined(_LP64)
3445
int        compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *);
3446

    
3447
#else
3448
#endif
3449
int        sys_pread(struct lwp *, const struct sys_pread_args *, register_t *);
3450

    
3451
int        sys_pwrite(struct lwp *, const struct sys_pwrite_args *, register_t *);
3452

    
3453
int        compat_30_sys_ntp_gettime(struct lwp *, const struct compat_30_sys_ntp_gettime_args *, register_t *);
3454

    
3455
#if defined(NTP) || !defined(_KERNEL_OPT)
3456
int        sys_ntp_adjtime(struct lwp *, const struct sys_ntp_adjtime_args *, register_t *);
3457

    
3458
#else
3459
#endif
3460
int        sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
3461

    
3462
int        sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
3463

    
3464
int        sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
3465

    
3466
int        sys_lfs_bmapv(struct lwp *, const struct sys_lfs_bmapv_args *, register_t *);
3467

    
3468
int        sys_lfs_markv(struct lwp *, const struct sys_lfs_markv_args *, register_t *);
3469

    
3470
int        sys_lfs_segclean(struct lwp *, const struct sys_lfs_segclean_args *, register_t *);
3471

    
3472
int        compat_50_sys_lfs_segwait(struct lwp *, const struct compat_50_sys_lfs_segwait_args *, register_t *);
3473

    
3474
int        compat_12_sys_stat(struct lwp *, const struct compat_12_sys_stat_args *, register_t *);
3475

    
3476
int        compat_12_sys_fstat(struct lwp *, const struct compat_12_sys_fstat_args *, register_t *);
3477

    
3478
int        compat_12_sys_lstat(struct lwp *, const struct compat_12_sys_lstat_args *, register_t *);
3479

    
3480
int        sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
3481

    
3482
int        sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
3483

    
3484
int        sys_getrlimit(struct lwp *, const struct sys_getrlimit_args *, register_t *);
3485

    
3486
int        sys_setrlimit(struct lwp *, const struct sys_setrlimit_args *, register_t *);
3487

    
3488
int        compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
3489

    
3490
int        sys_mmap(struct lwp *, const struct sys_mmap_args *, register_t *);
3491

    
3492
int        sys___syscall(struct lwp *, const struct sys___syscall_args *, register_t *);
3493

    
3494
int        sys_lseek(struct lwp *, const struct sys_lseek_args *, register_t *);
3495

    
3496
int        sys_truncate(struct lwp *, const struct sys_truncate_args *, register_t *);
3497

    
3498
int        sys_ftruncate(struct lwp *, const struct sys_ftruncate_args *, register_t *);
3499

    
3500
int        sys___sysctl(struct lwp *, const struct sys___sysctl_args *, register_t *);
3501

    
3502
int        sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
3503

    
3504
int        sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
3505

    
3506
int        sys_undelete(struct lwp *, const struct sys_undelete_args *, register_t *);
3507

    
3508
int        compat_50_sys_futimes(struct lwp *, const struct compat_50_sys_futimes_args *, register_t *);
3509

    
3510
int        sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
3511

    
3512
int        sys_reboot(struct lwp *, const struct sys_reboot_args *, register_t *);
3513

    
3514
int        sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
3515

    
3516
int        sys_afssys(struct lwp *, const struct sys_afssys_args *, register_t *);
3517

    
3518
int        compat_14_sys___semctl(struct lwp *, const struct compat_14_sys___semctl_args *, register_t *);
3519

    
3520
int        sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
3521

    
3522
int        sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
3523

    
3524
int        sys_semconfig(struct lwp *, const struct sys_semconfig_args *, register_t *);
3525

    
3526
int        compat_14_sys_msgctl(struct lwp *, const struct compat_14_sys_msgctl_args *, register_t *);
3527

    
3528
int        sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
3529

    
3530
int        sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
3531

    
3532
int        sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
3533

    
3534
int        sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
3535

    
3536
int        compat_14_sys_shmctl(struct lwp *, const struct compat_14_sys_shmctl_args *, register_t *);
3537

    
3538
int        sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
3539

    
3540
int        sys_shmget(struct lwp *, const struct sys_shmget_args *, register_t *);
3541

    
3542
int        compat_50_sys_clock_gettime(struct lwp *, const struct compat_50_sys_clock_gettime_args *, register_t *);
3543

    
3544
int        compat_50_sys_clock_settime(struct lwp *, const struct compat_50_sys_clock_settime_args *, register_t *);
3545

    
3546
int        compat_50_sys_clock_getres(struct lwp *, const struct compat_50_sys_clock_getres_args *, register_t *);
3547

    
3548
int        sys_timer_create(struct lwp *, const struct sys_timer_create_args *, register_t *);
3549

    
3550
int        sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
3551

    
3552
int        compat_50_sys_timer_settime(struct lwp *, const struct compat_50_sys_timer_settime_args *, register_t *);
3553

    
3554
int        compat_50_sys_timer_gettime(struct lwp *, const struct compat_50_sys_timer_gettime_args *, register_t *);
3555

    
3556
int        sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
3557

    
3558
int        compat_50_sys_nanosleep(struct lwp *, const struct compat_50_sys_nanosleep_args *, register_t *);
3559

    
3560
int        sys_fdatasync(struct lwp *, const struct sys_fdatasync_args *, register_t *);
3561

    
3562
int        sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
3563

    
3564
int        sys_munlockall(struct lwp *, const void *, register_t *);
3565

    
3566
int        compat_50_sys___sigtimedwait(struct lwp *, const struct compat_50_sys___sigtimedwait_args *, register_t *);
3567

    
3568
int        sys_sigqueueinfo(struct lwp *, const struct sys_sigqueueinfo_args *, register_t *);
3569

    
3570
int        sys_modctl(struct lwp *, const struct sys_modctl_args *, register_t *);
3571

    
3572
int        sys__ksem_init(struct lwp *, const struct sys__ksem_init_args *, register_t *);
3573

    
3574
int        sys__ksem_open(struct lwp *, const struct sys__ksem_open_args *, register_t *);
3575

    
3576
int        sys__ksem_unlink(struct lwp *, const struct sys__ksem_unlink_args *, register_t *);
3577

    
3578
int        sys__ksem_close(struct lwp *, const struct sys__ksem_close_args *, register_t *);
3579

    
3580
int        sys__ksem_post(struct lwp *, const struct sys__ksem_post_args *, register_t *);
3581

    
3582
int        sys__ksem_wait(struct lwp *, const struct sys__ksem_wait_args *, register_t *);
3583

    
3584
int        sys__ksem_trywait(struct lwp *, const struct sys__ksem_trywait_args *, register_t *);
3585

    
3586
int        sys__ksem_getvalue(struct lwp *, const struct sys__ksem_getvalue_args *, register_t *);
3587

    
3588
int        sys__ksem_destroy(struct lwp *, const struct sys__ksem_destroy_args *, register_t *);
3589

    
3590
int        sys__ksem_timedwait(struct lwp *, const struct sys__ksem_timedwait_args *, register_t *);
3591

    
3592
int        sys_mq_open(struct lwp *, const struct sys_mq_open_args *, register_t *);
3593

    
3594
int        sys_mq_close(struct lwp *, const struct sys_mq_close_args *, register_t *);
3595

    
3596
int        sys_mq_unlink(struct lwp *, const struct sys_mq_unlink_args *, register_t *);
3597

    
3598
int        sys_mq_getattr(struct lwp *, const struct sys_mq_getattr_args *, register_t *);
3599

    
3600
int        sys_mq_setattr(struct lwp *, const struct sys_mq_setattr_args *, register_t *);
3601

    
3602
int        sys_mq_notify(struct lwp *, const struct sys_mq_notify_args *, register_t *);
3603

    
3604
int        sys_mq_send(struct lwp *, const struct sys_mq_send_args *, register_t *);
3605

    
3606
int        sys_mq_receive(struct lwp *, const struct sys_mq_receive_args *, register_t *);
3607

    
3608
int        compat_50_sys_mq_timedsend(struct lwp *, const struct compat_50_sys_mq_timedsend_args *, register_t *);
3609

    
3610
int        compat_50_sys_mq_timedreceive(struct lwp *, const struct compat_50_sys_mq_timedreceive_args *, register_t *);
3611

    
3612
int        sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
3613

    
3614
int        sys_swapctl(struct lwp *, const struct sys_swapctl_args *, register_t *);
3615

    
3616
int        compat_30_sys_getdents(struct lwp *, const struct compat_30_sys_getdents_args *, register_t *);
3617

    
3618
int        sys_minherit(struct lwp *, const struct sys_minherit_args *, register_t *);
3619

    
3620
int        sys_lchmod(struct lwp *, const struct sys_lchmod_args *, register_t *);
3621

    
3622
int        sys_lchown(struct lwp *, const struct sys_lchown_args *, register_t *);
3623

    
3624
int        compat_50_sys_lutimes(struct lwp *, const struct compat_50_sys_lutimes_args *, register_t *);
3625

    
3626
int        sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
3627

    
3628
int        compat_30_sys___stat13(struct lwp *, const struct compat_30_sys___stat13_args *, register_t *);
3629

    
3630
int        compat_30_sys___fstat13(struct lwp *, const struct compat_30_sys___fstat13_args *, register_t *);
3631

    
3632
int        compat_30_sys___lstat13(struct lwp *, const struct compat_30_sys___lstat13_args *, register_t *);
3633

    
3634
int        sys___sigaltstack14(struct lwp *, const struct sys___sigaltstack14_args *, register_t *);
3635

    
3636
int        sys___vfork14(struct lwp *, const void *, register_t *);
3637

    
3638
int        sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
3639

    
3640
int        sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
3641

    
3642
int        sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
3643

    
3644
int        sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
3645

    
3646
int        sys___clone(struct lwp *, const struct sys___clone_args *, register_t *);
3647

    
3648
int        sys_fktrace(struct lwp *, const struct sys_fktrace_args *, register_t *);
3649

    
3650
int        sys_preadv(struct lwp *, const struct sys_preadv_args *, register_t *);
3651

    
3652
int        sys_pwritev(struct lwp *, const struct sys_pwritev_args *, register_t *);
3653

    
3654
int        compat_16_sys___sigaction14(struct lwp *, const struct compat_16_sys___sigaction14_args *, register_t *);
3655

    
3656
int        sys___sigpending14(struct lwp *, const struct sys___sigpending14_args *, register_t *);
3657

    
3658
int        sys___sigprocmask14(struct lwp *, const struct sys___sigprocmask14_args *, register_t *);
3659

    
3660
int        sys___sigsuspend14(struct lwp *, const struct sys___sigsuspend14_args *, register_t *);
3661

    
3662
int        compat_16_sys___sigreturn14(struct lwp *, const struct compat_16_sys___sigreturn14_args *, register_t *);
3663

    
3664
int        sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
3665

    
3666
int        sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
3667

    
3668
int        compat_30_sys_fhopen(struct lwp *, const struct compat_30_sys_fhopen_args *, register_t *);
3669

    
3670
int        compat_30_sys_fhstat(struct lwp *, const struct compat_30_sys_fhstat_args *, register_t *);
3671

    
3672
int        compat_20_sys_fhstatfs(struct lwp *, const struct compat_20_sys_fhstatfs_args *, register_t *);
3673

    
3674
int        compat_50_sys_____semctl13(struct lwp *, const struct compat_50_sys_____semctl13_args *, register_t *);
3675

    
3676
int        compat_50_sys___msgctl13(struct lwp *, const struct compat_50_sys___msgctl13_args *, register_t *);
3677

    
3678
int        compat_50_sys___shmctl13(struct lwp *, const struct compat_50_sys___shmctl13_args *, register_t *);
3679

    
3680
int        sys_lchflags(struct lwp *, const struct sys_lchflags_args *, register_t *);
3681

    
3682
int        sys_issetugid(struct lwp *, const void *, register_t *);
3683

    
3684
int        sys_utrace(struct lwp *, const struct sys_utrace_args *, register_t *);
3685

    
3686
int        sys_getcontext(struct lwp *, const struct sys_getcontext_args *, register_t *);
3687

    
3688
int        sys_setcontext(struct lwp *, const struct sys_setcontext_args *, register_t *);
3689

    
3690
int        sys__lwp_create(struct lwp *, const struct sys__lwp_create_args *, register_t *);
3691

    
3692
int        sys__lwp_exit(struct lwp *, const void *, register_t *);
3693

    
3694
int        sys__lwp_self(struct lwp *, const void *, register_t *);
3695

    
3696
int        sys__lwp_wait(struct lwp *, const struct sys__lwp_wait_args *, register_t *);
3697

    
3698
int        sys__lwp_suspend(struct lwp *, const struct sys__lwp_suspend_args *, register_t *);
3699

    
3700
int        sys__lwp_continue(struct lwp *, const struct sys__lwp_continue_args *, register_t *);
3701

    
3702
int        sys__lwp_wakeup(struct lwp *, const struct sys__lwp_wakeup_args *, register_t *);
3703

    
3704
int        sys__lwp_getprivate(struct lwp *, const void *, register_t *);
3705

    
3706
int        sys__lwp_setprivate(struct lwp *, const struct sys__lwp_setprivate_args *, register_t *);
3707

    
3708
int        sys__lwp_kill(struct lwp *, const struct sys__lwp_kill_args *, register_t *);
3709

    
3710
int        sys__lwp_detach(struct lwp *, const struct sys__lwp_detach_args *, register_t *);
3711

    
3712
int        compat_50_sys__lwp_park(struct lwp *, const struct compat_50_sys__lwp_park_args *, register_t *);
3713

    
3714
int        sys__lwp_unpark(struct lwp *, const struct sys__lwp_unpark_args *, register_t *);
3715

    
3716
int        sys__lwp_unpark_all(struct lwp *, const struct sys__lwp_unpark_all_args *, register_t *);
3717

    
3718
int        sys__lwp_setname(struct lwp *, const struct sys__lwp_setname_args *, register_t *);
3719

    
3720
int        sys__lwp_getname(struct lwp *, const struct sys__lwp_getname_args *, register_t *);
3721

    
3722
int        sys__lwp_ctl(struct lwp *, const struct sys__lwp_ctl_args *, register_t *);
3723

    
3724
int        compat_60_sys_sa_register(struct lwp *, const struct compat_60_sys_sa_register_args *, register_t *);
3725

    
3726
int        compat_60_sys_sa_stacks(struct lwp *, const struct compat_60_sys_sa_stacks_args *, register_t *);
3727

    
3728
int        compat_60_sys_sa_enable(struct lwp *, const void *, register_t *);
3729

    
3730
int        compat_60_sys_sa_setconcurrency(struct lwp *, const struct compat_60_sys_sa_setconcurrency_args *, register_t *);
3731

    
3732
int        compat_60_sys_sa_yield(struct lwp *, const void *, register_t *);
3733

    
3734
int        compat_60_sys_sa_preempt(struct lwp *, const struct compat_60_sys_sa_preempt_args *, register_t *);
3735

    
3736
int        sys___sigaction_sigtramp(struct lwp *, const struct sys___sigaction_sigtramp_args *, register_t *);
3737

    
3738
int        sys_pmc_get_info(struct lwp *, const struct sys_pmc_get_info_args *, register_t *);
3739

    
3740
int        sys_pmc_control(struct lwp *, const struct sys_pmc_control_args *, register_t *);
3741

    
3742
int        sys_rasctl(struct lwp *, const struct sys_rasctl_args *, register_t *);
3743

    
3744
int        sys_kqueue(struct lwp *, const void *, register_t *);
3745

    
3746
int        compat_50_sys_kevent(struct lwp *, const struct compat_50_sys_kevent_args *, register_t *);
3747

    
3748
int        sys__sched_setparam(struct lwp *, const struct sys__sched_setparam_args *, register_t *);
3749

    
3750
int        sys__sched_getparam(struct lwp *, const struct sys__sched_getparam_args *, register_t *);
3751

    
3752
int        sys__sched_setaffinity(struct lwp *, const struct sys__sched_setaffinity_args *, register_t *);
3753

    
3754
int        sys__sched_getaffinity(struct lwp *, const struct sys__sched_getaffinity_args *, register_t *);
3755

    
3756
int        sys_sched_yield(struct lwp *, const void *, register_t *);
3757

    
3758
int        sys_fsync_range(struct lwp *, const struct sys_fsync_range_args *, register_t *);
3759

    
3760
int        sys_uuidgen(struct lwp *, const struct sys_uuidgen_args *, register_t *);
3761

    
3762
int        sys_getvfsstat(struct lwp *, const struct sys_getvfsstat_args *, register_t *);
3763

    
3764
int        sys_statvfs1(struct lwp *, const struct sys_statvfs1_args *, register_t *);
3765

    
3766
int        sys_fstatvfs1(struct lwp *, const struct sys_fstatvfs1_args *, register_t *);
3767

    
3768
int        compat_30_sys_fhstatvfs1(struct lwp *, const struct compat_30_sys_fhstatvfs1_args *, register_t *);
3769

    
3770
int        sys_extattrctl(struct lwp *, const struct sys_extattrctl_args *, register_t *);
3771

    
3772
int        sys_extattr_set_file(struct lwp *, const struct sys_extattr_set_file_args *, register_t *);
3773

    
3774
int        sys_extattr_get_file(struct lwp *, const struct sys_extattr_get_file_args *, register_t *);
3775

    
3776
int        sys_extattr_delete_file(struct lwp *, const struct sys_extattr_delete_file_args *, register_t *);
3777

    
3778
int        sys_extattr_set_fd(struct lwp *, const struct sys_extattr_set_fd_args *, register_t *);
3779

    
3780
int        sys_extattr_get_fd(struct lwp *, const struct sys_extattr_get_fd_args *, register_t *);
3781

    
3782
int        sys_extattr_delete_fd(struct lwp *, const struct sys_extattr_delete_fd_args *, register_t *);
3783

    
3784
int        sys_extattr_set_link(struct lwp *, const struct sys_extattr_set_link_args *, register_t *);
3785

    
3786
int        sys_extattr_get_link(struct lwp *, const struct sys_extattr_get_link_args *, register_t *);
3787

    
3788
int        sys_extattr_delete_link(struct lwp *, const struct sys_extattr_delete_link_args *, register_t *);
3789

    
3790
int        sys_extattr_list_fd(struct lwp *, const struct sys_extattr_list_fd_args *, register_t *);
3791

    
3792
int        sys_extattr_list_file(struct lwp *, const struct sys_extattr_list_file_args *, register_t *);
3793

    
3794
int        sys_extattr_list_link(struct lwp *, const struct sys_extattr_list_link_args *, register_t *);
3795

    
3796
int        compat_50_sys_pselect(struct lwp *, const struct compat_50_sys_pselect_args *, register_t *);
3797

    
3798
int        compat_50_sys_pollts(struct lwp *, const struct compat_50_sys_pollts_args *, register_t *);
3799

    
3800
int        sys_setxattr(struct lwp *, const struct sys_setxattr_args *, register_t *);
3801

    
3802
int        sys_lsetxattr(struct lwp *, const struct sys_lsetxattr_args *, register_t *);
3803

    
3804
int        sys_fsetxattr(struct lwp *, const struct sys_fsetxattr_args *, register_t *);
3805

    
3806
int        sys_getxattr(struct lwp *, const struct sys_getxattr_args *, register_t *);
3807

    
3808
int        sys_lgetxattr(struct lwp *, const struct sys_lgetxattr_args *, register_t *);
3809

    
3810
int        sys_fgetxattr(struct lwp *, const struct sys_fgetxattr_args *, register_t *);
3811

    
3812
int        sys_listxattr(struct lwp *, const struct sys_listxattr_args *, register_t *);
3813

    
3814
int        sys_llistxattr(struct lwp *, const struct sys_llistxattr_args *, register_t *);
3815

    
3816
int        sys_flistxattr(struct lwp *, const struct sys_flistxattr_args *, register_t *);
3817

    
3818
int        sys_removexattr(struct lwp *, const struct sys_removexattr_args *, register_t *);
3819

    
3820
int        sys_lremovexattr(struct lwp *, const struct sys_lremovexattr_args *, register_t *);
3821

    
3822
int        sys_fremovexattr(struct lwp *, const struct sys_fremovexattr_args *, register_t *);
3823

    
3824
int        compat_50_sys___stat30(struct lwp *, const struct compat_50_sys___stat30_args *, register_t *);
3825

    
3826
int        compat_50_sys___fstat30(struct lwp *, const struct compat_50_sys___fstat30_args *, register_t *);
3827

    
3828
int        compat_50_sys___lstat30(struct lwp *, const struct compat_50_sys___lstat30_args *, register_t *);
3829

    
3830
int        sys___getdents30(struct lwp *, const struct sys___getdents30_args *, register_t *);
3831

    
3832
int        compat_30_sys___fhstat30(struct lwp *, const struct compat_30_sys___fhstat30_args *, register_t *);
3833

    
3834
int        compat_50_sys___ntp_gettime30(struct lwp *, const struct compat_50_sys___ntp_gettime30_args *, register_t *);
3835

    
3836
int        sys___socket30(struct lwp *, const struct sys___socket30_args *, register_t *);
3837

    
3838
int        sys___getfh30(struct lwp *, const struct sys___getfh30_args *, register_t *);
3839

    
3840
int        sys___fhopen40(struct lwp *, const struct sys___fhopen40_args *, register_t *);
3841

    
3842
int        sys___fhstatvfs140(struct lwp *, const struct sys___fhstatvfs140_args *, register_t *);
3843

    
3844
int        compat_50_sys___fhstat40(struct lwp *, const struct compat_50_sys___fhstat40_args *, register_t *);
3845

    
3846
int        sys_aio_cancel(struct lwp *, const struct sys_aio_cancel_args *, register_t *);
3847

    
3848
int        sys_aio_error(struct lwp *, const struct sys_aio_error_args *, register_t *);
3849

    
3850
int        sys_aio_fsync(struct lwp *, const struct sys_aio_fsync_args *, register_t *);
3851

    
3852
int        sys_aio_read(struct lwp *, const struct sys_aio_read_args *, register_t *);
3853

    
3854
int        sys_aio_return(struct lwp *, const struct sys_aio_return_args *, register_t *);
3855

    
3856
int        compat_50_sys_aio_suspend(struct lwp *, const struct compat_50_sys_aio_suspend_args *, register_t *);
3857

    
3858
int        sys_aio_write(struct lwp *, const struct sys_aio_write_args *, register_t *);
3859

    
3860
int        sys_lio_listio(struct lwp *, const struct sys_lio_listio_args *, register_t *);
3861

    
3862
int        sys___mount50(struct lwp *, const struct sys___mount50_args *, register_t *);
3863

    
3864
int        sys_mremap(struct lwp *, const struct sys_mremap_args *, register_t *);
3865

    
3866
int        sys_pset_create(struct lwp *, const struct sys_pset_create_args *, register_t *);
3867

    
3868
int        sys_pset_destroy(struct lwp *, const struct sys_pset_destroy_args *, register_t *);
3869

    
3870
int        sys_pset_assign(struct lwp *, const struct sys_pset_assign_args *, register_t *);
3871

    
3872
int        sys__pset_bind(struct lwp *, const struct sys__pset_bind_args *, register_t *);
3873

    
3874
int        sys___posix_fadvise50(struct lwp *, const struct sys___posix_fadvise50_args *, register_t *);
3875

    
3876
int        sys___select50(struct lwp *, const struct sys___select50_args *, register_t *);
3877

    
3878
int        sys___gettimeofday50(struct lwp *, const struct sys___gettimeofday50_args *, register_t *);
3879

    
3880
int        sys___settimeofday50(struct lwp *, const struct sys___settimeofday50_args *, register_t *);
3881

    
3882
int        sys___utimes50(struct lwp *, const struct sys___utimes50_args *, register_t *);
3883

    
3884
int        sys___adjtime50(struct lwp *, const struct sys___adjtime50_args *, register_t *);
3885

    
3886
int        sys___lfs_segwait50(struct lwp *, const struct sys___lfs_segwait50_args *, register_t *);
3887

    
3888
int        sys___futimes50(struct lwp *, const struct sys___futimes50_args *, register_t *);
3889

    
3890
int        sys___lutimes50(struct lwp *, const struct sys___lutimes50_args *, register_t *);
3891

    
3892
int        sys___setitimer50(struct lwp *, const struct sys___setitimer50_args *, register_t *);
3893

    
3894
int        sys___getitimer50(struct lwp *, const struct sys___getitimer50_args *, register_t *);
3895

    
3896
int        sys___clock_gettime50(struct lwp *, const struct sys___clock_gettime50_args *, register_t *);
3897

    
3898
int        sys___clock_settime50(struct lwp *, const struct sys___clock_settime50_args *, register_t *);
3899

    
3900
int        sys___clock_getres50(struct lwp *, const struct sys___clock_getres50_args *, register_t *);
3901

    
3902
int        sys___nanosleep50(struct lwp *, const struct sys___nanosleep50_args *, register_t *);
3903

    
3904
int        sys_____sigtimedwait50(struct lwp *, const struct sys_____sigtimedwait50_args *, register_t *);
3905

    
3906
int        sys___mq_timedsend50(struct lwp *, const struct sys___mq_timedsend50_args *, register_t *);
3907

    
3908
int        sys___mq_timedreceive50(struct lwp *, const struct sys___mq_timedreceive50_args *, register_t *);
3909

    
3910
int        compat_60_sys__lwp_park(struct lwp *, const struct compat_60_sys__lwp_park_args *, register_t *);
3911

    
3912
int        sys___kevent50(struct lwp *, const struct sys___kevent50_args *, register_t *);
3913

    
3914
int        sys___pselect50(struct lwp *, const struct sys___pselect50_args *, register_t *);
3915

    
3916
int        sys___pollts50(struct lwp *, const struct sys___pollts50_args *, register_t *);
3917

    
3918
int        sys___aio_suspend50(struct lwp *, const struct sys___aio_suspend50_args *, register_t *);
3919

    
3920
int        sys___stat50(struct lwp *, const struct sys___stat50_args *, register_t *);
3921

    
3922
int        sys___fstat50(struct lwp *, const struct sys___fstat50_args *, register_t *);
3923

    
3924
int        sys___lstat50(struct lwp *, const struct sys___lstat50_args *, register_t *);
3925

    
3926
int        sys_____semctl50(struct lwp *, const struct sys_____semctl50_args *, register_t *);
3927

    
3928
int        sys___shmctl50(struct lwp *, const struct sys___shmctl50_args *, register_t *);
3929

    
3930
int        sys___msgctl50(struct lwp *, const struct sys___msgctl50_args *, register_t *);
3931

    
3932
int        sys___getrusage50(struct lwp *, const struct sys___getrusage50_args *, register_t *);
3933

    
3934
int        sys___timer_settime50(struct lwp *, const struct sys___timer_settime50_args *, register_t *);
3935

    
3936
int        sys___timer_gettime50(struct lwp *, const struct sys___timer_gettime50_args *, register_t *);
3937

    
3938
#if defined(NTP) || !defined(_KERNEL_OPT)
3939
int        sys___ntp_gettime50(struct lwp *, const struct sys___ntp_gettime50_args *, register_t *);
3940

    
3941
#else
3942
#endif
3943
int        sys___wait450(struct lwp *, const struct sys___wait450_args *, register_t *);
3944

    
3945
int        sys___mknod50(struct lwp *, const struct sys___mknod50_args *, register_t *);
3946

    
3947
int        sys___fhstat50(struct lwp *, const struct sys___fhstat50_args *, register_t *);
3948

    
3949
int        sys_pipe2(struct lwp *, const struct sys_pipe2_args *, register_t *);
3950

    
3951
int        sys_dup3(struct lwp *, const struct sys_dup3_args *, register_t *);
3952

    
3953
int        sys_kqueue1(struct lwp *, const struct sys_kqueue1_args *, register_t *);
3954

    
3955
int        sys_paccept(struct lwp *, const struct sys_paccept_args *, register_t *);
3956

    
3957
int        sys_linkat(struct lwp *, const struct sys_linkat_args *, register_t *);
3958

    
3959
int        sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
3960

    
3961
int        sys_mkfifoat(struct lwp *, const struct sys_mkfifoat_args *, register_t *);
3962

    
3963
int        sys_mknodat(struct lwp *, const struct sys_mknodat_args *, register_t *);
3964

    
3965
int        sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
3966

    
3967
int        sys_faccessat(struct lwp *, const struct sys_faccessat_args *, register_t *);
3968

    
3969
int        sys_fchmodat(struct lwp *, const struct sys_fchmodat_args *, register_t *);
3970

    
3971
int        sys_fchownat(struct lwp *, const struct sys_fchownat_args *, register_t *);
3972

    
3973
int        sys_fexecve(struct lwp *, const struct sys_fexecve_args *, register_t *);
3974

    
3975
int        sys_fstatat(struct lwp *, const struct sys_fstatat_args *, register_t *);
3976

    
3977
int        sys_utimensat(struct lwp *, const struct sys_utimensat_args *, register_t *);
3978

    
3979
int        sys_openat(struct lwp *, const struct sys_openat_args *, register_t *);
3980

    
3981
int        sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
3982

    
3983
int        sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
3984

    
3985
int        sys_unlinkat(struct lwp *, const struct sys_unlinkat_args *, register_t *);
3986

    
3987
int        sys_futimens(struct lwp *, const struct sys_futimens_args *, register_t *);
3988

    
3989
int        sys___quotactl(struct lwp *, const struct sys___quotactl_args *, register_t *);
3990

    
3991
int        sys_posix_spawn(struct lwp *, const struct sys_posix_spawn_args *, register_t *);
3992

    
3993
int        sys_recvmmsg(struct lwp *, const struct sys_recvmmsg_args *, register_t *);
3994

    
3995
int        sys_sendmmsg(struct lwp *, const struct sys_sendmmsg_args *, register_t *);
3996

    
3997
int        sys_clock_nanosleep(struct lwp *, const struct sys_clock_nanosleep_args *, register_t *);
3998

    
3999
int        sys____lwp_park60(struct lwp *, const struct sys____lwp_park60_args *, register_t *);
4000

    
4001
int        sys_posix_fallocate(struct lwp *, const struct sys_posix_fallocate_args *, register_t *);
4002

    
4003
int        sys_fdiscard(struct lwp *, const struct sys_fdiscard_args *, register_t *);
4004

    
4005
#endif /* !RUMP_CLIENT */
4006
#endif /* _SYS_SYSCALLARGS_H_ */