1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
|
/*
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.48 2001/09/08 18:49:31 marcel Exp
*/
#ifndef _LINUX_SYSPROTO_H_
#define _LINUX_SYSPROTO_H_
#include <sys/signal.h>
#include <sys/acl.h>
struct proc;
struct thread;
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
0 : sizeof(register_t) - sizeof(t))
#if BYTE_ORDER == LITTLE_ENDIAN
#define PADL_(t) 0
#define PADR_(t) PAD_(t)
#else
#define PADL_(t) PAD_(t)
#define PADR_(t) 0
#endif
struct linux_fork_args {
register_t dummy;
};
struct osf1_wait4_args {
char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
char rusage_l_[PADL_(struct osf1_rusage *)]; struct osf1_rusage * rusage; char rusage_r_[PADR_(struct osf1_rusage *)];
};
struct linux_link_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
};
struct linux_unlink_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
};
struct linux_chdir_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
};
struct linux_mknod_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
};
struct linux_chmod_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char mode_l_[PADL_(l_mode_t)]; l_mode_t mode; char mode_r_[PADR_(l_mode_t)];
};
struct linux_chown_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
};
struct linux_brk_args {
char dsend_l_[PADL_(l_ulong)]; l_ulong dsend; char dsend_r_[PADR_(l_ulong)];
};
struct linux_lseek_args {
char fdes_l_[PADL_(l_uint)]; l_uint fdes; char fdes_r_[PADR_(l_uint)];
char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)];
char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)];
};
struct linux_getpid_args {
register_t dummy;
};
struct linux_umount_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
};
struct linux_getuid_args {
register_t dummy;
};
struct linux_ptrace_args {
register_t dummy;
};
struct linux_access_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
};
struct linux_kill_args {
char pid_l_[PADL_(l_int)]; l_int pid; char pid_r_[PADR_(l_int)];
char signum_l_[PADL_(l_int)]; l_int signum; char signum_r_[PADR_(l_int)];
};
struct linux_open_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
};
struct linux_getgid_args {
register_t dummy;
};
struct osf1_sigprocmask_args {
char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
char mask_l_[PADL_(u_long)]; u_long mask; char mask_r_[PADR_(u_long)];
};
struct linux_sigpending_args {
register_t dummy;
};
struct linux_ioctl_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
char arg_l_[PADL_(l_ulong)]; l_ulong arg; char arg_r_[PADR_(l_ulong)];
};
struct linux_symlink_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
};
struct linux_readlink_args {
char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
};
struct linux_execve_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)];
char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)];
};
struct linux_getpagesize_args {
register_t dummy;
};
struct linux_vfork_args {
register_t dummy;
};
struct linux_newstat_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
};
struct linux_newlstat_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
};
struct linux_mmap_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
char len_l_[PADL_(l_ulong)]; l_ulong len; char len_r_[PADR_(l_ulong)];
char prot_l_[PADL_(l_ulong)]; l_ulong prot; char prot_r_[PADR_(l_ulong)];
char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
char pos_l_[PADL_(l_ulong)]; l_ulong pos; char pos_r_[PADR_(l_ulong)];
};
struct linux_munmap_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
};
struct linux_mprotect_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char prot_l_[PADL_(l_ulong)]; l_ulong prot; char prot_r_[PADR_(l_ulong)];
};
struct linux_madvise_args {
register_t dummy;
};
struct linux_vhangup_args {
register_t dummy;
};
struct linux_setgroups_args {
char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
};
struct linux_getgroups_args {
char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
};
struct linux_setpgid_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
char pgid_l_[PADL_(l_pid_t)]; l_pid_t pgid; char pgid_r_[PADR_(l_pid_t)];
};
struct osf1_setitimer_args {
char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)];
char oitv_l_[PADL_(struct itimerval *)]; struct itimerval * oitv; char oitv_r_[PADR_(struct itimerval *)];
};
struct linux_gethostname_args {
register_t dummy;
};
struct linux_getdtablesize_args {
register_t dummy;
};
struct linux_newfstat_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
};
struct linux_fcntl_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
char arg_l_[PADL_(l_ulong)]; l_ulong arg; char arg_r_[PADR_(l_ulong)];
};
struct osf1_select_args {
char nd_l_[PADL_(u_int)]; u_int nd; char nd_r_[PADR_(u_int)];
char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)];
};
struct osf1_socket_args {
char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)];
char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)];
char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)];
};
struct linux_connect_args {
char s_l_[PADL_(l_int)]; l_int s; char s_r_[PADR_(l_int)];
char name_l_[PADL_(struct l_sockaddr *)]; struct l_sockaddr * name; char name_r_[PADR_(struct l_sockaddr *)];
char namelen_l_[PADL_(l_int)]; l_int namelen; char namelen_r_[PADR_(l_int)];
};
struct osf1_sigreturn_args {
char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)];
};
struct osf1_sigsuspend_args {
char ss_l_[PADL_(unsigned long)]; unsigned long ss; char ss_r_[PADR_(unsigned long)];
};
struct linux_recvmsg_args {
register_t dummy;
};
struct linux_sendmsg_args {
register_t dummy;
};
struct osf1_gettimeofday_args {
char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)];
char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
};
struct osf1_getrusage_args {
char who_l_[PADL_(long)]; long who; char who_r_[PADR_(long)];
char rusage_l_[PADL_(void *)]; void * rusage; char rusage_r_[PADR_(void *)];
};
struct linux_rename_args {
char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
};
struct linux_truncate_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)];
};
struct osf1_sendto_args {
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
char to_l_[PADL_(struct sockaddr *)]; struct sockaddr * to; char to_r_[PADR_(struct sockaddr *)];
char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)];
};
struct linux_socketpair_args {
register_t dummy;
};
struct linux_mkdir_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
};
struct linux_rmdir_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
};
struct linux_getrlimit_args {
char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
};
struct linux_setrlimit_args {
char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
};
struct linux_quotactl_args {
register_t dummy;
};
struct osf1_sigaction_args {
char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
char nsa_l_[PADL_(struct osf1_sigaction *)]; struct osf1_sigaction * nsa; char nsa_r_[PADR_(struct osf1_sigaction *)];
char osa_l_[PADL_(struct osf1_sigaction *)]; struct osf1_sigaction * osa; char osa_r_[PADR_(struct osf1_sigaction *)];
};
struct linux_msgctl_args {
char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)];
char cmd_l_[PADL_(l_int)]; l_int cmd; char cmd_r_[PADR_(l_int)];
char buf_l_[PADL_(struct l_msqid_ds *)]; struct l_msqid_ds * buf; char buf_r_[PADR_(struct l_msqid_ds *)];
};
struct linux_msgget_args {
char key_l_[PADL_(l_key_t)]; l_key_t key; char key_r_[PADR_(l_key_t)];
char msgflg_l_[PADL_(l_int)]; l_int msgflg; char msgflg_r_[PADR_(l_int)];
};
struct linux_msgrcv_args {
char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)];
char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf *)];
char msgsz_l_[PADL_(l_size_t)]; l_size_t msgsz; char msgsz_r_[PADR_(l_size_t)];
char msgtyp_l_[PADL_(l_long)]; l_long msgtyp; char msgtyp_r_[PADR_(l_long)];
char msgflg_l_[PADL_(l_int)]; l_int msgflg; char msgflg_r_[PADR_(l_int)];
};
struct linux_msgsnd_args {
char msqid_l_[PADL_(l_int)]; l_int msqid; char msqid_r_[PADR_(l_int)];
char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf *)];
char msgsz_l_[PADL_(l_size_t)]; l_size_t msgsz; char msgsz_r_[PADR_(l_size_t)];
char msgflg_l_[PADL_(l_int)]; l_int msgflg; char msgflg_r_[PADR_(l_int)];
};
struct linux_semctl_args {
char semid_l_[PADL_(l_int)]; l_int semid; char semid_r_[PADR_(l_int)];
char semnum_l_[PADL_(l_int)]; l_int semnum; char semnum_r_[PADR_(l_int)];
char cmd_l_[PADL_(l_int)]; l_int cmd; char cmd_r_[PADR_(l_int)];
char arg_l_[PADL_(union l_semun)]; union l_semun arg; char arg_r_[PADR_(union l_semun)];
};
struct linux_semget_args {
char key_l_[PADL_(l_key_t)]; l_key_t key; char key_r_[PADR_(l_key_t)];
char nsems_l_[PADL_(l_int)]; l_int nsems; char nsems_r_[PADR_(l_int)];
char semflg_l_[PADL_(l_int)]; l_int semflg; char semflg_r_[PADR_(l_int)];
};
struct linux_semop_args {
char semid_l_[PADL_(l_int)]; l_int semid; char semid_r_[PADR_(l_int)];
char tsops_l_[PADL_(struct l_sembuf *)]; struct l_sembuf * tsops; char tsops_r_[PADR_(struct l_sembuf *)];
char nsops_l_[PADL_(l_uint)]; l_uint nsops; char nsops_r_[PADR_(l_uint)];
};
struct linux_lchown_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
};
struct linux_shmat_args {
char shmid_l_[PADL_(l_int)]; l_int shmid; char shmid_r_[PADR_(l_int)];
char shmaddr_l_[PADL_(char *)]; char * shmaddr; char shmaddr_r_[PADR_(char *)];
char shmflg_l_[PADL_(l_int)]; l_int shmflg; char shmflg_r_[PADR_(l_int)];
};
struct linux_shmctl_args {
char shmid_l_[PADL_(l_int)]; l_int shmid; char shmid_r_[PADR_(l_int)];
char cmd_l_[PADL_(l_int)]; l_int cmd; char cmd_r_[PADR_(l_int)];
char buf_l_[PADL_(struct l_shmid_ds *)]; struct l_shmid_ds * buf; char buf_r_[PADR_(struct l_shmid_ds *)];
};
struct linux_shmdt_args {
char shmaddr_l_[PADL_(char *)]; char * shmaddr; char shmaddr_r_[PADR_(char *)];
};
struct linux_shmget_args {
char key_l_[PADL_(l_key_t)]; l_key_t key; char key_r_[PADR_(l_key_t)];
char size_l_[PADL_(l_size_t)]; l_size_t size; char size_r_[PADR_(l_size_t)];
char shmflg_l_[PADL_(l_int)]; l_int shmflg; char shmflg_r_[PADR_(l_int)];
};
struct linux_msync_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char fl_l_[PADL_(l_int)]; l_int fl; char fl_r_[PADR_(l_int)];
};
struct linux_getpgid_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
};
struct linux_getsid_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
};
struct linux_sigaltstack_args {
register_t dummy;
};
struct osf1_sysinfo_args {
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
char count_l_[PADL_(long)]; long count; char count_r_[PADR_(long)];
};
struct linux_sysfs_args {
char option_l_[PADL_(l_int)]; l_int option; char option_r_[PADR_(l_int)];
char arg1_l_[PADL_(l_ulong)]; l_ulong arg1; char arg1_r_[PADR_(l_ulong)];
char arg2_l_[PADL_(l_ulong)]; l_ulong arg2; char arg2_r_[PADR_(l_ulong)];
};
struct osf1_getsysinfo_args {
char op_l_[PADL_(u_long)]; u_long op; char op_r_[PADR_(u_long)];
char buffer_l_[PADL_(caddr_t)]; caddr_t buffer; char buffer_r_[PADR_(caddr_t)];
char nbytes_l_[PADL_(u_long)]; u_long nbytes; char nbytes_r_[PADR_(u_long)];
char arg_l_[PADL_(caddr_t)]; caddr_t arg; char arg_r_[PADR_(caddr_t)];
char flag_l_[PADL_(u_long)]; u_long flag; char flag_r_[PADR_(u_long)];
};
struct osf1_setsysinfo_args {
char op_l_[PADL_(u_long)]; u_long op; char op_r_[PADR_(u_long)];
char buffer_l_[PADL_(caddr_t)]; caddr_t buffer; char buffer_r_[PADR_(caddr_t)];
char nbytes_l_[PADL_(u_long)]; u_long nbytes; char nbytes_r_[PADR_(u_long)];
char arg_l_[PADL_(caddr_t)]; caddr_t arg; char arg_r_[PADR_(caddr_t)];
char flag_l_[PADL_(u_long)]; u_long flag; char flag_r_[PADR_(u_long)];
};
struct linux_bdflush_args {
register_t dummy;
};
struct linux_sethae_args {
register_t dummy;
};
struct linux_mount_args {
char specialfile_l_[PADL_(char *)]; char * specialfile; char specialfile_r_[PADR_(char *)];
char dir_l_[PADL_(char *)]; char * dir; char dir_r_[PADR_(char *)];
char filesystemtype_l_[PADL_(char *)]; char * filesystemtype; char filesystemtype_r_[PADR_(char *)];
char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)];
char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
};
struct linux_old_adjtimex_args {
register_t dummy;
};
struct linux_swapoff_args {
register_t dummy;
};
struct linux_getdents_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char dent_l_[PADL_(void *)]; void * dent; char dent_r_[PADR_(void *)];
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
};
struct linux_create_module_args {
register_t dummy;
};
struct linux_init_module_args {
register_t dummy;
};
struct linux_delete_module_args {
register_t dummy;
};
struct linux_get_kernel_syms_args {
register_t dummy;
};
struct linux_syslog_args {
char type_l_[PADL_(l_int)]; l_int type; char type_r_[PADR_(l_int)];
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
char len_l_[PADL_(l_int)]; l_int len; char len_r_[PADR_(l_int)];
};
struct linux_reboot_args {
char magic1_l_[PADL_(l_int)]; l_int magic1; char magic1_r_[PADR_(l_int)];
char magic2_l_[PADL_(l_int)]; l_int magic2; char magic2_r_[PADR_(l_int)];
char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
};
struct linux_clone_args {
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
};
struct linux_uselib_args {
char library_l_[PADL_(char *)]; char * library; char library_r_[PADR_(char *)];
};
struct linux_sysinfo_args {
register_t dummy;
};
struct linux_sysctl_args {
char args_l_[PADL_(struct l___sysctl_args *)]; struct l___sysctl_args * args; char args_r_[PADR_(struct l___sysctl_args *)];
};
struct linux_oldumount_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
};
struct linux_times_args {
char buf_l_[PADL_(struct l_times_argv *)]; struct l_times_argv * buf; char buf_r_[PADR_(struct l_times_argv *)];
};
struct linux_personality_args {
char per_l_[PADL_(l_ulong)]; l_ulong per; char per_r_[PADR_(l_ulong)];
};
struct linux_setfsuid_args {
char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
};
struct linux_setfsgid_args {
char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
};
struct linux_ustat_args {
char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
char ubuf_l_[PADL_(struct l_ustat *)]; struct l_ustat * ubuf; char ubuf_r_[PADR_(struct l_ustat *)];
};
struct linux_statfs_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
};
struct linux_fstatfs_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
};
struct linux_sched_setscheduler_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
char param_l_[PADL_(struct l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
};
struct linux_sched_getscheduler_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
};
struct linux_sched_get_priority_max_args {
char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
};
struct linux_sched_get_priority_min_args {
char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
};
struct linux_newuname_args {
char buf_l_[PADL_(struct l_newuname_t *)]; struct l_newuname_t * buf; char buf_r_[PADR_(struct l_newuname_t *)];
};
struct linux_mremap_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
char old_len_l_[PADL_(l_ulong)]; l_ulong old_len; char old_len_r_[PADR_(l_ulong)];
char new_len_l_[PADL_(l_ulong)]; l_ulong new_len; char new_len_r_[PADR_(l_ulong)];
char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
char new_addr_l_[PADL_(l_ulong)]; l_ulong new_addr; char new_addr_r_[PADR_(l_ulong)];
};
struct linux_nfsservctl_args {
register_t dummy;
};
struct linux_pciconfig_read_args {
register_t dummy;
};
struct linux_pciconfig_write_args {
register_t dummy;
};
struct linux_query_module_args {
register_t dummy;
};
struct linux_prctl_args {
register_t dummy;
};
struct linux_pread_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
};
struct linux_pwrite_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
};
struct linux_rt_sigreturn_args {
register_t dummy;
};
struct linux_rt_sigaction_args {
char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
char act_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * act; char act_r_[PADR_(l_sigaction_t *)];
char oact_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * oact; char oact_r_[PADR_(l_sigaction_t *)];
char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
};
struct linux_rt_sigprocmask_args {
char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
char mask_l_[PADL_(l_sigset_t *)]; l_sigset_t * mask; char mask_r_[PADR_(l_sigset_t *)];
char omask_l_[PADL_(l_sigset_t *)]; l_sigset_t * omask; char omask_r_[PADR_(l_sigset_t *)];
char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
};
struct linux_rt_sigpending_args {
register_t dummy;
};
struct linux_rt_sigtimedwait_args {
register_t dummy;
};
struct linux_rt_sigqueueinfo_args {
register_t dummy;
};
struct linux_rt_sigsuspend_args {
char newset_l_[PADL_(l_sigset_t *)]; l_sigset_t * newset; char newset_r_[PADR_(l_sigset_t *)];
char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
};
struct linux_select_args {
char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)];
char readfds_l_[PADL_(l_fd_set *)]; l_fd_set * readfds; char readfds_r_[PADR_(l_fd_set *)];
char writefds_l_[PADL_(l_fd_set *)]; l_fd_set * writefds; char writefds_r_[PADR_(l_fd_set *)];
char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)];
char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
};
struct linux_getitimer_args {
char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
};
struct linux_setitimer_args {
char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
char oitv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * oitv; char oitv_r_[PADR_(struct l_itimerval *)];
};
struct linux_utimes_args {
char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
char times_l_[PADL_(struct l_timeval *)]; struct l_timeval * times; char times_r_[PADR_(struct l_timeval *)];
};
struct linux_wait4_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
char status_l_[PADL_(l_uint *)]; l_uint * status; char status_r_[PADR_(l_uint *)];
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
};
struct linux_adjtimex_args {
register_t dummy;
};
struct linux_getcwd_args {
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
char bufsize_l_[PADL_(l_ulong)]; l_ulong bufsize; char bufsize_r_[PADR_(l_ulong)];
};
struct linux_capget_args {
register_t dummy;
};
struct linux_capset_args {
register_t dummy;
};
struct linux_sendfile_args {
register_t dummy;
};
struct linux_pivot_root_args {
char new_root_l_[PADL_(char *)]; char * new_root; char new_root_r_[PADR_(char *)];
char put_old_l_[PADL_(char *)]; char * put_old; char put_old_r_[PADR_(char *)];
};
struct linux_mincore_args {
char start_l_[PADL_(l_ulong)]; l_ulong start; char start_r_[PADR_(l_ulong)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
};
struct linux_pciconfig_iobase_args {
register_t dummy;
};
struct linux_getdents64_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
};
int linux_fork __P((struct thread *, struct linux_fork_args *));
int osf1_wait4 __P((struct thread *, struct osf1_wait4_args *));
int linux_link __P((struct thread *, struct linux_link_args *));
int linux_unlink __P((struct thread *, struct linux_unlink_args *));
int linux_chdir __P((struct thread *, struct linux_chdir_args *));
int linux_mknod __P((struct thread *, struct linux_mknod_args *));
int linux_chmod __P((struct thread *, struct linux_chmod_args *));
int linux_chown __P((struct thread *, struct linux_chown_args *));
int linux_brk __P((struct thread *, struct linux_brk_args *));
int linux_lseek __P((struct thread *, struct linux_lseek_args *));
int linux_getpid __P((struct thread *, struct linux_getpid_args *));
int linux_umount __P((struct thread *, struct linux_umount_args *));
int linux_getuid __P((struct thread *, struct linux_getuid_args *));
int linux_ptrace __P((struct thread *, struct linux_ptrace_args *));
int linux_access __P((struct thread *, struct linux_access_args *));
int linux_kill __P((struct thread *, struct linux_kill_args *));
int linux_open __P((struct thread *, struct linux_open_args *));
int linux_getgid __P((struct thread *, struct linux_getgid_args *));
int osf1_sigprocmask __P((struct thread *, struct osf1_sigprocmask_args *));
int linux_sigpending __P((struct thread *, struct linux_sigpending_args *));
int linux_ioctl __P((struct thread *, struct linux_ioctl_args *));
int linux_symlink __P((struct thread *, struct linux_symlink_args *));
int linux_readlink __P((struct thread *, struct linux_readlink_args *));
int linux_execve __P((struct thread *, struct linux_execve_args *));
int linux_getpagesize __P((struct thread *, struct linux_getpagesize_args *));
int linux_vfork __P((struct thread *, struct linux_vfork_args *));
int linux_newstat __P((struct thread *, struct linux_newstat_args *));
int linux_newlstat __P((struct thread *, struct linux_newlstat_args *));
int linux_mmap __P((struct thread *, struct linux_mmap_args *));
int linux_munmap __P((struct thread *, struct linux_munmap_args *));
int linux_mprotect __P((struct thread *, struct linux_mprotect_args *));
int linux_madvise __P((struct thread *, struct linux_madvise_args *));
int linux_vhangup __P((struct thread *, struct linux_vhangup_args *));
int linux_setgroups __P((struct thread *, struct linux_setgroups_args *));
int linux_getgroups __P((struct thread *, struct linux_getgroups_args *));
int linux_setpgid __P((struct thread *, struct linux_setpgid_args *));
int osf1_setitimer __P((struct thread *, struct osf1_setitimer_args *));
int linux_gethostname __P((struct thread *, struct linux_gethostname_args *));
int linux_getdtablesize __P((struct thread *, struct linux_getdtablesize_args *));
int linux_newfstat __P((struct thread *, struct linux_newfstat_args *));
int linux_fcntl __P((struct thread *, struct linux_fcntl_args *));
int osf1_select __P((struct thread *, struct osf1_select_args *));
int osf1_socket __P((struct thread *, struct osf1_socket_args *));
int linux_connect __P((struct thread *, struct linux_connect_args *));
int osf1_sigreturn __P((struct thread *, struct osf1_sigreturn_args *));
int osf1_sigsuspend __P((struct thread *, struct osf1_sigsuspend_args *));
int linux_recvmsg __P((struct thread *, struct linux_recvmsg_args *));
int linux_sendmsg __P((struct thread *, struct linux_sendmsg_args *));
int osf1_gettimeofday __P((struct thread *, struct osf1_gettimeofday_args *));
int osf1_getrusage __P((struct thread *, struct osf1_getrusage_args *));
int linux_rename __P((struct thread *, struct linux_rename_args *));
int linux_truncate __P((struct thread *, struct linux_truncate_args *));
int osf1_sendto __P((struct thread *, struct osf1_sendto_args *));
int linux_socketpair __P((struct thread *, struct linux_socketpair_args *));
int linux_mkdir __P((struct thread *, struct linux_mkdir_args *));
int linux_rmdir __P((struct thread *, struct linux_rmdir_args *));
int linux_getrlimit __P((struct thread *, struct linux_getrlimit_args *));
int linux_setrlimit __P((struct thread *, struct linux_setrlimit_args *));
int linux_quotactl __P((struct thread *, struct linux_quotactl_args *));
int osf1_sigaction __P((struct thread *, struct osf1_sigaction_args *));
int linux_msgctl __P((struct thread *, struct linux_msgctl_args *));
int linux_msgget __P((struct thread *, struct linux_msgget_args *));
int linux_msgrcv __P((struct thread *, struct linux_msgrcv_args *));
int linux_msgsnd __P((struct thread *, struct linux_msgsnd_args *));
int linux_semctl __P((struct thread *, struct linux_semctl_args *));
int linux_semget __P((struct thread *, struct linux_semget_args *));
int linux_semop __P((struct thread *, struct linux_semop_args *));
int linux_lchown __P((struct thread *, struct linux_lchown_args *));
int linux_shmat __P((struct thread *, struct linux_shmat_args *));
int linux_shmctl __P((struct thread *, struct linux_shmctl_args *));
int linux_shmdt __P((struct thread *, struct linux_shmdt_args *));
int linux_shmget __P((struct thread *, struct linux_shmget_args *));
int linux_msync __P((struct thread *, struct linux_msync_args *));
int linux_getpgid __P((struct thread *, struct linux_getpgid_args *));
int linux_getsid __P((struct thread *, struct linux_getsid_args *));
int linux_sigaltstack __P((struct thread *, struct linux_sigaltstack_args *));
int osf1_sysinfo __P((struct thread *, struct osf1_sysinfo_args *));
int linux_sysfs __P((struct thread *, struct linux_sysfs_args *));
int osf1_getsysinfo __P((struct thread *, struct osf1_getsysinfo_args *));
int osf1_setsysinfo __P((struct thread *, struct osf1_setsysinfo_args *));
int linux_bdflush __P((struct thread *, struct linux_bdflush_args *));
int linux_sethae __P((struct thread *, struct linux_sethae_args *));
int linux_mount __P((struct thread *, struct linux_mount_args *));
int linux_old_adjtimex __P((struct thread *, struct linux_old_adjtimex_args *));
int linux_swapoff __P((struct thread *, struct linux_swapoff_args *));
int linux_getdents __P((struct thread *, struct linux_getdents_args *));
int linux_create_module __P((struct thread *, struct linux_create_module_args *));
int linux_init_module __P((struct thread *, struct linux_init_module_args *));
int linux_delete_module __P((struct thread *, struct linux_delete_module_args *));
int linux_get_kernel_syms __P((struct thread *, struct linux_get_kernel_syms_args *));
int linux_syslog __P((struct thread *, struct linux_syslog_args *));
int linux_reboot __P((struct thread *, struct linux_reboot_args *));
int linux_clone __P((struct thread *, struct linux_clone_args *));
int linux_uselib __P((struct thread *, struct linux_uselib_args *));
int linux_sysinfo __P((struct thread *, struct linux_sysinfo_args *));
int linux_sysctl __P((struct thread *, struct linux_sysctl_args *));
int linux_oldumount __P((struct thread *, struct linux_oldumount_args *));
int linux_times __P((struct thread *, struct linux_times_args *));
int linux_personality __P((struct thread *, struct linux_personality_args *));
int linux_setfsuid __P((struct thread *, struct linux_setfsuid_args *));
int linux_setfsgid __P((struct thread *, struct linux_setfsgid_args *));
int linux_ustat __P((struct thread *, struct linux_ustat_args *));
int linux_statfs __P((struct thread *, struct linux_statfs_args *));
int linux_fstatfs __P((struct thread *, struct linux_fstatfs_args *));
int linux_sched_setscheduler __P((struct thread *, struct linux_sched_setscheduler_args *));
int linux_sched_getscheduler __P((struct thread *, struct linux_sched_getscheduler_args *));
int linux_sched_get_priority_max __P((struct thread *, struct linux_sched_get_priority_max_args *));
int linux_sched_get_priority_min __P((struct thread *, struct linux_sched_get_priority_min_args *));
int linux_newuname __P((struct thread *, struct linux_newuname_args *));
int linux_mremap __P((struct thread *, struct linux_mremap_args *));
int linux_nfsservctl __P((struct thread *, struct linux_nfsservctl_args *));
int linux_pciconfig_read __P((struct thread *, struct linux_pciconfig_read_args *));
int linux_pciconfig_write __P((struct thread *, struct linux_pciconfig_write_args *));
int linux_query_module __P((struct thread *, struct linux_query_module_args *));
int linux_prctl __P((struct thread *, struct linux_prctl_args *));
int linux_pread __P((struct thread *, struct linux_pread_args *));
int linux_pwrite __P((struct thread *, struct linux_pwrite_args *));
int linux_rt_sigreturn __P((struct thread *, struct linux_rt_sigreturn_args *));
int linux_rt_sigaction __P((struct thread *, struct linux_rt_sigaction_args *));
int linux_rt_sigprocmask __P((struct thread *, struct linux_rt_sigprocmask_args *));
int linux_rt_sigpending __P((struct thread *, struct linux_rt_sigpending_args *));
int linux_rt_sigtimedwait __P((struct thread *, struct linux_rt_sigtimedwait_args *));
int linux_rt_sigqueueinfo __P((struct thread *, struct linux_rt_sigqueueinfo_args *));
int linux_rt_sigsuspend __P((struct thread *, struct linux_rt_sigsuspend_args *));
int linux_select __P((struct thread *, struct linux_select_args *));
int linux_getitimer __P((struct thread *, struct linux_getitimer_args *));
int linux_setitimer __P((struct thread *, struct linux_setitimer_args *));
int linux_utimes __P((struct thread *, struct linux_utimes_args *));
int linux_wait4 __P((struct thread *, struct linux_wait4_args *));
int linux_adjtimex __P((struct thread *, struct linux_adjtimex_args *));
int linux_getcwd __P((struct thread *, struct linux_getcwd_args *));
int linux_capget __P((struct thread *, struct linux_capget_args *));
int linux_capset __P((struct thread *, struct linux_capset_args *));
int linux_sendfile __P((struct thread *, struct linux_sendfile_args *));
int linux_pivot_root __P((struct thread *, struct linux_pivot_root_args *));
int linux_mincore __P((struct thread *, struct linux_mincore_args *));
int linux_pciconfig_iobase __P((struct thread *, struct linux_pciconfig_iobase_args *));
int linux_getdents64 __P((struct thread *, struct linux_getdents64_args *));
#ifdef COMPAT_43
#endif /* COMPAT_43 */
#undef PAD_
#undef PADL_
#undef PADR_
#endif /* !_LINUX_SYSPROTO_H_ */
|