summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_syscall.h
blob: 6363004b13b04c624a1d2253499a8b3d618d58e0 (plain)
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
748
749
750
751
/*	$OpenBSD: linux_syscall.h,v 1.65 2011/09/18 02:26:28 pirofti Exp $	*/

/*
 * System call numbers.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from	OpenBSD: syscalls.master,v 1.61 2011/07/14 23:32:08 matthew Exp 
 */

/* syscall: "syscall" ret: "int" args: */
#define	LINUX_SYS_syscall	0

/* syscall: "exit" ret: "int" args: "int" */
#define	LINUX_SYS_exit	1

/* syscall: "fork" ret: "int" args: */
#define	LINUX_SYS_fork	2

/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define	LINUX_SYS_read	3

/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define	LINUX_SYS_write	4

/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_open	5

/* syscall: "close" ret: "int" args: "int" */
#define	LINUX_SYS_close	6

/* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
#define	LINUX_SYS_waitpid	7

/* syscall: "creat" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_creat	8

/* syscall: "link" ret: "int" args: "char *" "char *" */
#define	LINUX_SYS_link	9

/* syscall: "unlink" ret: "int" args: "char *" */
#define	LINUX_SYS_unlink	10

/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define	LINUX_SYS_execve	11

/* syscall: "chdir" ret: "int" args: "char *" */
#define	LINUX_SYS_chdir	12

/* syscall: "time" ret: "int" args: "linux_time_t *" */
#define	LINUX_SYS_time	13

/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_mknod	14

/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_chmod	15

/* syscall: "lchown16" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_lchown16	16

/* syscall: "break" ret: "int" args: "char *" */
#define	LINUX_SYS_break	17

/* syscall: "ostat" ret: "int" args: */
#define	LINUX_SYS_ostat	18

/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define	LINUX_SYS_lseek	19

/* syscall: "getpid" ret: "pid_t" args: */
#define	LINUX_SYS_getpid	20

/* syscall: "mount" ret: "int" args: "char *" "char *" "char *" "long" "void *" */
#define	LINUX_SYS_mount	21

/* syscall: "umount" ret: "int" args: "char *" */
#define	LINUX_SYS_umount	22

/* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
#define	LINUX_SYS_linux_setuid16	23

/* syscall: "linux_getuid16" ret: "uid_t" args: */
#define	LINUX_SYS_linux_getuid16	24

/* syscall: "stime" ret: "int" args: "linux_time_t *" */
#define	LINUX_SYS_stime	25

/* syscall: "ptrace" ret: "int" args: */
#define	LINUX_SYS_ptrace	26

/* syscall: "alarm" ret: "int" args: "unsigned int" */
#define	LINUX_SYS_alarm	27

/* syscall: "ofstat" ret: "int" args: */
#define	LINUX_SYS_ofstat	28

/* syscall: "pause" ret: "int" args: */
#define	LINUX_SYS_pause	29

/* syscall: "utime" ret: "int" args: "char *" "struct linux_utimbuf *" */
#define	LINUX_SYS_utime	30

/* syscall: "stty" ret: "int" args: */
#define	LINUX_SYS_stty	31

/* syscall: "gtty" ret: "int" args: */
#define	LINUX_SYS_gtty	32

/* syscall: "access" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_access	33

/* syscall: "nice" ret: "int" args: "int" */
#define	LINUX_SYS_nice	34

/* syscall: "ftime" ret: "int" args: */
#define	LINUX_SYS_ftime	35

/* syscall: "sync" ret: "int" args: */
#define	LINUX_SYS_sync	36

/* syscall: "kill" ret: "int" args: "int" "int" */
#define	LINUX_SYS_kill	37

/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define	LINUX_SYS_rename	38

/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_mkdir	39

/* syscall: "rmdir" ret: "int" args: "char *" */
#define	LINUX_SYS_rmdir	40

/* syscall: "dup" ret: "int" args: "u_int" */
#define	LINUX_SYS_dup	41

/* syscall: "pipe" ret: "int" args: "int *" */
#define	LINUX_SYS_pipe	42

/* syscall: "times" ret: "int" args: "struct times *" */
#define	LINUX_SYS_times	43

/* syscall: "prof" ret: "int" args: */
#define	LINUX_SYS_prof	44

/* syscall: "brk" ret: "int" args: "char *" */
#define	LINUX_SYS_brk	45

/* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
#define	LINUX_SYS_linux_setgid16	46

/* syscall: "linux_getgid16" ret: "gid_t" args: */
#define	LINUX_SYS_linux_getgid16	47

/* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
#define	LINUX_SYS_signal	48

/* syscall: "linux_geteuid16" ret: "uid_t" args: */
#define	LINUX_SYS_linux_geteuid16	49

/* syscall: "linux_getegid16" ret: "gid_t" args: */
#define	LINUX_SYS_linux_getegid16	50

/* syscall: "acct" ret: "int" args: "char *" */
#define	LINUX_SYS_acct	51

/* syscall: "phys" ret: "int" args: */
#define	LINUX_SYS_phys	52

/* syscall: "lock" ret: "int" args: */
#define	LINUX_SYS_lock	53

/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
#define	LINUX_SYS_ioctl	54

/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define	LINUX_SYS_fcntl	55

/* syscall: "mpx" ret: "int" args: */
#define	LINUX_SYS_mpx	56

/* syscall: "setpgid" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setpgid	57

/* syscall: "ulimit" ret: "int" args: */
#define	LINUX_SYS_ulimit	58

/* syscall: "oldolduname" ret: "int" args: "struct linux_oldold_utsname *" */
#define	LINUX_SYS_oldolduname	59

/* syscall: "umask" ret: "int" args: "int" */
#define	LINUX_SYS_umask	60

/* syscall: "chroot" ret: "int" args: "char *" */
#define	LINUX_SYS_chroot	61

/* syscall: "ustat" ret: "int" args: */
#define	LINUX_SYS_ustat	62

/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define	LINUX_SYS_dup2	63

/* syscall: "getppid" ret: "pid_t" args: */
#define	LINUX_SYS_getppid	64

/* syscall: "getpgrp" ret: "int" args: */
#define	LINUX_SYS_getpgrp	65

/* syscall: "setsid" ret: "int" args: */
#define	LINUX_SYS_setsid	66

/* syscall: "sigaction" ret: "int" args: "int" "struct linux_old_sigaction *" "struct linux_old_sigaction *" */
#define	LINUX_SYS_sigaction	67

/* syscall: "siggetmask" ret: "int" args: */
#define	LINUX_SYS_siggetmask	68

/* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
#define	LINUX_SYS_sigsetmask	69

/* syscall: "setreuid16" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setreuid16	70

/* syscall: "setregid16" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setregid16	71

/* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
#define	LINUX_SYS_sigsuspend	72

/* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
#define	LINUX_SYS_sigpending	73

/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
#define	LINUX_SYS_sethostname	74

/* syscall: "setrlimit" ret: "int" args: "u_int" "struct linux_rlimit *" */
#define	LINUX_SYS_setrlimit	75

/* syscall: "getrlimit" ret: "int" args: "u_int" "struct linux_rlimit *" */
#define	LINUX_SYS_getrlimit	76

/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
#define	LINUX_SYS_getrusage	77

/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define	LINUX_SYS_gettimeofday	78

/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define	LINUX_SYS_settimeofday	79

/* syscall: "linux_getgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_linux_getgroups	80

/* syscall: "linux_setgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_linux_setgroups	81

/* syscall: "oldselect" ret: "int" args: "struct linux_select *" */
#define	LINUX_SYS_oldselect	82

/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define	LINUX_SYS_symlink	83

/* syscall: "olstat" ret: "int" args: "char *" "struct linux_stat *" */
#define	LINUX_SYS_olstat	84

/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define	LINUX_SYS_readlink	85

/* syscall: "uselib" ret: "int" args: "char *" */
#define	LINUX_SYS_uselib	86

/* syscall: "swapon" ret: "int" args: "char *" */
#define	LINUX_SYS_swapon	87

/* syscall: "reboot" ret: "int" args: "int" */
#define	LINUX_SYS_reboot	88

/* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
#define	LINUX_SYS_readdir	89

/* syscall: "mmap" ret: "int" args: "struct linux_mmap *" */
#define	LINUX_SYS_mmap	90

/* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
#define	LINUX_SYS_munmap	91

/* syscall: "truncate" ret: "int" args: "char *" "long" */
#define	LINUX_SYS_truncate	92

/* syscall: "ftruncate" ret: "int" args: "int" "long" */
#define	LINUX_SYS_ftruncate	93

/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define	LINUX_SYS_fchmod	94

/* syscall: "fchown16" ret: "int" args: "int" "int" "int" */
#define	LINUX_SYS_fchown16	95

/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define	LINUX_SYS_getpriority	96

/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
#define	LINUX_SYS_setpriority	97

/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
#define	LINUX_SYS_profil	98

/* syscall: "statfs" ret: "int" args: "char *" "struct linux_statfs *" */
#define	LINUX_SYS_statfs	99

/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
#define	LINUX_SYS_fstatfs	100

/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
#define	LINUX_SYS_ioperm	101

/* syscall: "ioperm" ret: "int" args: */
#define	LINUX_SYS_ioperm	101

/* syscall: "socketcall" ret: "int" args: "int" "void *" */
#define	LINUX_SYS_socketcall	102

/* syscall: "klog" ret: "int" args: */
#define	LINUX_SYS_klog	103

/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define	LINUX_SYS_setitimer	104

/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define	LINUX_SYS_getitimer	105

/* syscall: "stat" ret: "int" args: "char *" "struct linux_stat *" */
#define	LINUX_SYS_stat	106

/* syscall: "lstat" ret: "int" args: "char *" "struct linux_stat *" */
#define	LINUX_SYS_lstat	107

/* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
#define	LINUX_SYS_fstat	108

/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
#define	LINUX_SYS_olduname	109

/* syscall: "iopl" ret: "int" args: "int" */
#define	LINUX_SYS_iopl	110

/* syscall: "iopl" ret: "int" args: */
#define	LINUX_SYS_iopl	110

/* syscall: "vhangup" ret: "int" args: */
#define	LINUX_SYS_vhangup	111

/* syscall: "idle" ret: "int" args: */
#define	LINUX_SYS_idle	112

/* syscall: "vm86old" ret: "int" args: */
#define	LINUX_SYS_vm86old	113

/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
#define	LINUX_SYS_wait4	114

/* syscall: "swapoff" ret: "int" args: */
#define	LINUX_SYS_swapoff	115

/* syscall: "sysinfo" ret: "int" args: "struct linux_sys_sysinfo_args *" */
#define	LINUX_SYS_sysinfo	116

/* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
#define	LINUX_SYS_ipc	117

/* syscall: "fsync" ret: "int" args: "int" */
#define	LINUX_SYS_fsync	118

/* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */
#define	LINUX_SYS_sigreturn	119

/* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
#define	LINUX_SYS_clone	120

/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_setdomainname	121

/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
#define	LINUX_SYS_uname	122

/* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
#define	LINUX_SYS_modify_ldt	123

/* syscall: "modify_ldt" ret: "int" args: */
#define	LINUX_SYS_modify_ldt	123

/* syscall: "adjtimex" ret: "int" args: */
#define	LINUX_SYS_adjtimex	124

/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
#define	LINUX_SYS_mprotect	125

/* syscall: "sigprocmask" ret: "int" args: "int" "linux_old_sigset_t *" "linux_old_sigset_t *" */
#define	LINUX_SYS_sigprocmask	126

/* syscall: "create_module" ret: "int" args: */
#define	LINUX_SYS_create_module	127

/* syscall: "init_module" ret: "int" args: */
#define	LINUX_SYS_init_module	128

/* syscall: "delete_module" ret: "int" args: */
#define	LINUX_SYS_delete_module	129

/* syscall: "get_kernel_syms" ret: "int" args: */
#define	LINUX_SYS_get_kernel_syms	130

/* syscall: "quotactl" ret: "int" args: */
#define	LINUX_SYS_quotactl	131

/* syscall: "getpgid" ret: "int" args: "int" */
#define	LINUX_SYS_getpgid	132

/* syscall: "fchdir" ret: "int" args: "int" */
#define	LINUX_SYS_fchdir	133

/* syscall: "bdflush" ret: "int" args: */
#define	LINUX_SYS_bdflush	134

/* syscall: "sysfs" ret: "int" args: */
#define	LINUX_SYS_sysfs	135

/* syscall: "personality" ret: "int" args: "int" */
#define	LINUX_SYS_personality	136

/* syscall: "afs_syscall" ret: "int" args: */
#define	LINUX_SYS_afs_syscall	137

/* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
#define	LINUX_SYS_linux_setfsuid16	138

/* syscall: "linux_getfsuid16" ret: "int" args: */
#define	LINUX_SYS_linux_getfsuid16	139

/* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
#define	LINUX_SYS_llseek	140

/* syscall: "getdents" ret: "int" args: "int" "void *" "unsigned" */
#define	LINUX_SYS_getdents	141

/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define	LINUX_SYS_select	142

/* syscall: "flock" ret: "int" args: "int" "int" */
#define	LINUX_SYS_flock	143

/* syscall: "msync" ret: "int" args: "void *" "int" "int" */
#define	LINUX_SYS_msync	144

/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define	LINUX_SYS_readv	145

/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define	LINUX_SYS_writev	146

/* syscall: "getsid" ret: "int" args: "pid_t" */
#define	LINUX_SYS_getsid	147

/* syscall: "fdatasync" ret: "int" args: "int" */
#define	LINUX_SYS_fdatasync	148

/* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
#define	LINUX_SYS___sysctl	149

/* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
#define	LINUX_SYS_mlock	150

/* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
#define	LINUX_SYS_munlock	151

/* syscall: "mlockall" ret: "int" args: */
#define	LINUX_SYS_mlockall	152

/* syscall: "munlockall" ret: "int" args: */
#define	LINUX_SYS_munlockall	153

/* syscall: "sched_setparam" ret: "int" args: "linux_pid_t" "const struct linux_sched_param *" */
#define	LINUX_SYS_sched_setparam	154

/* syscall: "sched_getparam" ret: "int" args: "linux_pid_t" "struct linux_sched_param *" */
#define	LINUX_SYS_sched_getparam	155

/* syscall: "sched_setscheduler" ret: "int" args: "linux_pid_t" "int" "const struct linux_sched_param *" */
#define	LINUX_SYS_sched_setscheduler	156

/* syscall: "sched_getscheduler" ret: "int" args: "linux_pid_t" */
#define	LINUX_SYS_sched_getscheduler	157

/* syscall: "sched_yield" ret: "int" args: */
#define	LINUX_SYS_sched_yield	158

/* syscall: "sched_get_priority_max" ret: "int" args: "int" */
#define	LINUX_SYS_sched_get_priority_max	159

/* syscall: "sched_get_priority_min" ret: "int" args: "int" */
#define	LINUX_SYS_sched_get_priority_min	160

/* syscall: "sched_rr_get_interval" ret: "int" args: */
#define	LINUX_SYS_sched_rr_get_interval	161

/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
#define	LINUX_SYS_nanosleep	162

/* syscall: "mremap" ret: "int" args: "void *" "size_t" "size_t" "long" */
#define	LINUX_SYS_mremap	163

/* syscall: "setresuid16" ret: "int" args: "u_int16_t" "u_int16_t" "u_int16_t" */
#define	LINUX_SYS_setresuid16	164

/* syscall: "getresuid16" ret: "int" args: "u_int16_t *" "u_int16_t *" "u_int16_t *" */
#define	LINUX_SYS_getresuid16	165

/* syscall: "vm86" ret: "int" args: */
#define	LINUX_SYS_vm86	166

/* syscall: "query_module" ret: "int" args: */
#define	LINUX_SYS_query_module	167

/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define	LINUX_SYS_poll	168

/* syscall: "nfsservctl" ret: "int" args: */
#define	LINUX_SYS_nfsservctl	169

/* syscall: "setresgid16" ret: "int" args: "u_int16_t" "u_int16_t" "u_int16_t" */
#define	LINUX_SYS_setresgid16	170

/* syscall: "getresgid16" ret: "int" args: "u_int16_t *" "u_int16_t *" "u_int16_t *" */
#define	LINUX_SYS_getresgid16	171

/* syscall: "prctl" ret: "int" args: */
#define	LINUX_SYS_prctl	172

/* syscall: "rt_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */
#define	LINUX_SYS_rt_sigreturn	173

/* syscall: "rt_sigaction" ret: "int" args: "int" "struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
#define	LINUX_SYS_rt_sigaction	174

/* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
#define	LINUX_SYS_rt_sigprocmask	175

/* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
#define	LINUX_SYS_rt_sigpending	176

/* syscall: "rt_sigtimedwait" ret: "int" args: */
#define	LINUX_SYS_rt_sigtimedwait	177

/* syscall: "rt_queueinfo" ret: "int" args: */
#define	LINUX_SYS_rt_queueinfo	178

/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
#define	LINUX_SYS_rt_sigsuspend	179

/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define	LINUX_SYS_pread	180

/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define	LINUX_SYS_pwrite	181

/* syscall: "chown16" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_chown16	182

/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define	LINUX_SYS___getcwd	183

/* syscall: "capget" ret: "int" args: */
#define	LINUX_SYS_capget	184

/* syscall: "capset" ret: "int" args: */
#define	LINUX_SYS_capset	185

/* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
#define	LINUX_SYS_sigaltstack	186

/* syscall: "sendfile" ret: "int" args: */
#define	LINUX_SYS_sendfile	187

/* syscall: "getpmsg" ret: "int" args: */
#define	LINUX_SYS_getpmsg	188

/* syscall: "putpmsg" ret: "int" args: */
#define	LINUX_SYS_putpmsg	189

/* syscall: "vfork" ret: "int" args: */
#define	LINUX_SYS_vfork	190

/* syscall: "ugetrlimit" ret: "int" args: "u_int" "struct linux_rlimit *" */
#define	LINUX_SYS_ugetrlimit	191

/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
#define	LINUX_SYS_mmap2	192

/* syscall: "truncate64" ret: "int" args: "char *" "off_t" */
#define	LINUX_SYS_truncate64	193

/* syscall: "ftruncate64" ret: "int" args: "int" "off_t" */
#define	LINUX_SYS_ftruncate64	194

/* syscall: "stat64" ret: "int" args: "char *" "struct linux_stat64 *" */
#define	LINUX_SYS_stat64	195

/* syscall: "lstat64" ret: "int" args: "char *" "struct linux_stat64 *" */
#define	LINUX_SYS_lstat64	196

/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
#define	LINUX_SYS_fstat64	197

/* syscall: "lchown" ret: "int" args: */
#define	LINUX_SYS_lchown	198

/* syscall: "getuid" ret: "uid_t" args: */
#define	LINUX_SYS_getuid	199

/* syscall: "getgid" ret: "gid_t" args: */
#define	LINUX_SYS_getgid	200

/* syscall: "geteuid" ret: "uid_t" args: */
#define	LINUX_SYS_geteuid	201

/* syscall: "getegid" ret: "gid_t" args: */
#define	LINUX_SYS_getegid	202

/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setreuid	203

/* syscall: "setregid" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setregid	204

/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_getgroups	205

/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_setgroups	206

/* syscall: "fchown" ret: "int" args: */
#define	LINUX_SYS_fchown	207

/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
#define	LINUX_SYS_setresuid	208

/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
#define	LINUX_SYS_getresuid	209

/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
#define	LINUX_SYS_setresgid	210

/* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
#define	LINUX_SYS_getresgid	211

/* syscall: "chown" ret: "int" args: */
#define	LINUX_SYS_chown	212

/* syscall: "setuid" ret: "int" args: "uid_t" */
#define	LINUX_SYS_setuid	213

/* syscall: "setgid" ret: "int" args: "gid_t" */
#define	LINUX_SYS_setgid	214

/* syscall: "setfsuid" ret: "int" args: "uid_t" */
#define	LINUX_SYS_setfsuid	215

/* syscall: "setfsgid" ret: "int" args: */
#define	LINUX_SYS_setfsgid	216

/* syscall: "pivot_root" ret: "int" args: */
#define	LINUX_SYS_pivot_root	217

/* syscall: "mincore" ret: "int" args: */
#define	LINUX_SYS_mincore	218

/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
#define	LINUX_SYS_madvise	219

/* syscall: "getdents64" ret: "int" args: "int" "void *" "unsigned" */
#define	LINUX_SYS_getdents64	220

/* syscall: "fcntl64" ret: "int" args: "u_int" "u_int" "void *" */
#define	LINUX_SYS_fcntl64	221

/* syscall: "setxattr" ret: "int" args: */
#define	LINUX_SYS_setxattr	226

/* syscall: "lsetxattr" ret: "int" args: */
#define	LINUX_SYS_lsetxattr	227

/* syscall: "fsetxattr" ret: "int" args: */
#define	LINUX_SYS_fsetxattr	228

/* syscall: "getxattr" ret: "int" args: */
#define	LINUX_SYS_getxattr	229

/* syscall: "lgetxattr" ret: "int" args: */
#define	LINUX_SYS_lgetxattr	230

/* syscall: "fgetxattr" ret: "int" args: */
#define	LINUX_SYS_fgetxattr	231

/* syscall: "listxattr" ret: "int" args: */
#define	LINUX_SYS_listxattr	232

/* syscall: "llistxattr" ret: "int" args: */
#define	LINUX_SYS_llistxattr	233

/* syscall: "flistxattr" ret: "int" args: */
#define	LINUX_SYS_flistxattr	234

/* syscall: "removexattr" ret: "int" args: */
#define	LINUX_SYS_removexattr	235

/* syscall: "lremovexattr" ret: "int" args: */
#define	LINUX_SYS_lremovexattr	236

/* syscall: "fremovexattr" ret: "int" args: */
#define	LINUX_SYS_fremovexattr	237

/* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
#define	LINUX_SYS_futex	240

/* syscall: "set_thread_area" ret: "int" args: "struct l_segment_descriptor *" */
#define	LINUX_SYS_set_thread_area	243

/* syscall: "get_thread_area" ret: "int" args: "struct l_segment_descriptor *" */
#define	LINUX_SYS_get_thread_area	244

/* syscall: "fadvise64" ret: "int" args: */
#define	LINUX_SYS_fadvise64	250

/* syscall: "linux_exit_group" ret: "int" args: "int" */
#define	LINUX_SYS_linux_exit_group	252

/* syscall: "set_tid_address" ret: "int" args: "void *" */
#define	LINUX_SYS_set_tid_address	258

/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct l_timespec *" */
#define	LINUX_SYS_clock_gettime	265

/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct l_timespec *" */
#define	LINUX_SYS_clock_getres	266

/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define	LINUX_SYS_set_robust_list	311

/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define	LINUX_SYS_get_robust_list	312

#define	LINUX_SYS_MAXSYSCALL	313