Annotation of src/sys/compat/linux/arch/m68k/linux_syscall.h, Revision 1.95.2.1
1.95.2.1! skrll 1: /* $NetBSD: linux_syscall.h,v 1.96 2015/03/07 16:41:53 christos Exp $ */
1.1 itohy 2:
3: /*
4: * System call numbers.
5: *
6: * DO NOT EDIT-- this file is automatically generated.
1.95 njoly 7: * created from NetBSD: syscalls.master,v 1.89 2014/11/22 13:18:45 njoly Exp
1.1 itohy 8: */
9:
1.57 matt 10: #ifndef _LINUX_SYS_SYSCALL_H_
11: #define _LINUX_SYS_SYSCALL_H_
12:
1.60 njoly 13: #define LINUX_SYS_MAXSYSARGS 8
14:
1.1 itohy 15: /* syscall: "syscall" ret: "int" args: */
16: #define LINUX_SYS_syscall 0
17:
18: /* syscall: "exit" ret: "int" args: "int" */
19: #define LINUX_SYS_exit 1
20:
21: /* syscall: "fork" ret: "int" args: */
22: #define LINUX_SYS_fork 2
23:
1.88 njoly 24: /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
1.1 itohy 25: #define LINUX_SYS_read 3
26:
1.88 njoly 27: /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
1.1 itohy 28: #define LINUX_SYS_write 4
29:
1.85 njoly 30: /* syscall: "open" ret: "int" args: "const char *" "int" "linux_umode_t" */
1.1 itohy 31: #define LINUX_SYS_open 5
32:
33: /* syscall: "close" ret: "int" args: "int" */
34: #define LINUX_SYS_close 6
35:
36: /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
37: #define LINUX_SYS_waitpid 7
38:
1.85 njoly 39: /* syscall: "creat" ret: "int" args: "const char *" "linux_umode_t" */
1.1 itohy 40: #define LINUX_SYS_creat 8
41:
1.2 itohy 42: /* syscall: "link" ret: "int" args: "const char *" "const char *" */
1.1 itohy 43: #define LINUX_SYS_link 9
44:
1.2 itohy 45: /* syscall: "unlink" ret: "int" args: "const char *" */
1.1 itohy 46: #define LINUX_SYS_unlink 10
47:
1.2 itohy 48: /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
1.1 itohy 49: #define LINUX_SYS_execve 11
50:
1.2 itohy 51: /* syscall: "chdir" ret: "int" args: "const char *" */
1.1 itohy 52: #define LINUX_SYS_chdir 12
53:
54: /* syscall: "time" ret: "int" args: "linux_time_t *" */
55: #define LINUX_SYS_time 13
56:
1.90 njoly 57: /* syscall: "mknod" ret: "int" args: "const char *" "linux_umode_t" "unsigned" */
1.1 itohy 58: #define LINUX_SYS_mknod 14
59:
1.2 itohy 60: /* syscall: "chmod" ret: "int" args: "const char *" "int" */
1.1 itohy 61: #define LINUX_SYS_chmod 15
62:
1.64 njoly 63: /* syscall: "chown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
1.26 fvdl 64: #define LINUX_SYS_chown16 16
1.1 itohy 65:
66: /* 17 is obsolete break */
67: /* 18 is obsolete ostat */
1.49 jdolecek 68: #if !defined(_KERNEL) || defined(COMPAT_43)
1.1 itohy 69: /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
70: #define LINUX_SYS_lseek 19
71:
1.49 jdolecek 72: #else
73: #endif
1.1 itohy 74: /* syscall: "getpid" ret: "pid_t" args: */
75: #define LINUX_SYS_getpid 20
76:
77: /* 22 is obsolete umount */
1.28 fvdl 78: /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
79: #define LINUX_SYS_linux_setuid16 23
1.1 itohy 80:
1.28 fvdl 81: /* syscall: "linux_getuid16" ret: "uid_t" args: */
82: #define LINUX_SYS_linux_getuid16 24
1.8 tron 83:
84: /* syscall: "stime" ret: "int" args: "linux_time_t *" */
85: #define LINUX_SYS_stime 25
1.12 tron 86:
87: /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
88: #define LINUX_SYS_ptrace 26
1.1 itohy 89:
90: /* syscall: "alarm" ret: "int" args: "unsigned int" */
91: #define LINUX_SYS_alarm 27
92:
93: /* 28 is obsolete ofstat */
94: /* syscall: "pause" ret: "int" args: */
95: #define LINUX_SYS_pause 29
96:
1.2 itohy 97: /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
1.1 itohy 98: #define LINUX_SYS_utime 30
99:
100: /* 31 is obsolete stty */
101: /* 32 is obsolete gtty */
1.2 itohy 102: /* syscall: "access" ret: "int" args: "const char *" "int" */
1.1 itohy 103: #define LINUX_SYS_access 33
104:
105: /* syscall: "nice" ret: "int" args: "int" */
106: #define LINUX_SYS_nice 34
107:
108: /* 35 is obsolete ftime */
109: /* syscall: "sync" ret: "int" args: */
110: #define LINUX_SYS_sync 36
111:
112: /* syscall: "kill" ret: "int" args: "int" "int" */
113: #define LINUX_SYS_kill 37
114:
1.60 njoly 115: /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
116: #define LINUX_SYS___posix_rename 38
1.1 itohy 117:
1.85 njoly 118: /* syscall: "mkdir" ret: "int" args: "const char *" "linux_umode_t" */
1.1 itohy 119: #define LINUX_SYS_mkdir 39
120:
1.2 itohy 121: /* syscall: "rmdir" ret: "int" args: "const char *" */
1.1 itohy 122: #define LINUX_SYS_rmdir 40
123:
1.83 njoly 124: /* syscall: "dup" ret: "int" args: "int" */
1.1 itohy 125: #define LINUX_SYS_dup 41
126:
127: /* syscall: "pipe" ret: "int" args: "int *" */
128: #define LINUX_SYS_pipe 42
129:
130: /* syscall: "times" ret: "int" args: "struct times *" */
131: #define LINUX_SYS_times 43
132:
133: /* 44 is obsolete prof */
134: /* syscall: "brk" ret: "int" args: "char *" */
135: #define LINUX_SYS_brk 45
136:
1.28 fvdl 137: /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
138: #define LINUX_SYS_linux_setgid16 46
1.1 itohy 139:
1.28 fvdl 140: /* syscall: "linux_getgid16" ret: "gid_t" args: */
141: #define LINUX_SYS_linux_getgid16 47
1.1 itohy 142:
143: /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
144: #define LINUX_SYS_signal 48
145:
1.28 fvdl 146: /* syscall: "linux_geteuid16" ret: "uid_t" args: */
147: #define LINUX_SYS_linux_geteuid16 49
1.1 itohy 148:
1.28 fvdl 149: /* syscall: "linux_getegid16" ret: "gid_t" args: */
150: #define LINUX_SYS_linux_getegid16 50
1.1 itohy 151:
152: /* syscall: "acct" ret: "int" args: "char *" */
153: #define LINUX_SYS_acct 51
154:
155: /* 53 is obsolete lock */
1.59 christos 156: /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
1.1 itohy 157: #define LINUX_SYS_ioctl 54
158:
159: /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
160: #define LINUX_SYS_fcntl 55
161:
162: /* 56 is obsolete mpx */
163: /* syscall: "setpgid" ret: "int" args: "int" "int" */
164: #define LINUX_SYS_setpgid 57
165:
166: /* 58 is obsolete ulimit */
167: /* syscall: "umask" ret: "int" args: "int" */
168: #define LINUX_SYS_umask 60
169:
170: /* syscall: "chroot" ret: "int" args: "char *" */
171: #define LINUX_SYS_chroot 61
172:
1.83 njoly 173: /* syscall: "dup2" ret: "int" args: "int" "int" */
1.1 itohy 174: #define LINUX_SYS_dup2 63
175:
176: /* syscall: "getppid" ret: "pid_t" args: */
177: #define LINUX_SYS_getppid 64
178:
179: /* syscall: "getpgrp" ret: "int" args: */
180: #define LINUX_SYS_getpgrp 65
181:
182: /* syscall: "setsid" ret: "int" args: */
183: #define LINUX_SYS_setsid 66
184:
185: /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
186: #define LINUX_SYS_sigaction 67
187:
188: /* syscall: "siggetmask" ret: "int" args: */
189: #define LINUX_SYS_siggetmask 68
190:
191: /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
192: #define LINUX_SYS_sigsetmask 69
193:
1.64 njoly 194: /* syscall: "setreuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" */
1.26 fvdl 195: #define LINUX_SYS_setreuid16 70
1.1 itohy 196:
1.64 njoly 197: /* syscall: "setregid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" */
1.26 fvdl 198: #define LINUX_SYS_setregid16 71
1.1 itohy 199:
1.59 christos 200: /* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */
1.1 itohy 201: #define LINUX_SYS_sigsuspend 72
202:
203: /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
204: #define LINUX_SYS_sigpending 73
205:
1.49 jdolecek 206: #if !defined(_KERNEL) || defined(COMPAT_43)
1.1 itohy 207: /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
208: #define LINUX_SYS_sethostname 74
209:
1.49 jdolecek 210: #else
211: #endif
1.1 itohy 212: /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
213: #define LINUX_SYS_setrlimit 75
214:
215: /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
216: #define LINUX_SYS_getrlimit 76
217:
1.69 tsutsui 218: /* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
1.1 itohy 219: #define LINUX_SYS_getrusage 77
220:
1.69 tsutsui 221: /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
1.1 itohy 222: #define LINUX_SYS_gettimeofday 78
223:
1.69 tsutsui 224: /* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
1.1 itohy 225: #define LINUX_SYS_settimeofday 79
226:
1.64 njoly 227: /* syscall: "getgroups16" ret: "int" args: "int" "linux_gid16_t *" */
1.28 fvdl 228: #define LINUX_SYS_getgroups16 80
1.1 itohy 229:
1.64 njoly 230: /* syscall: "setgroups16" ret: "int" args: "int" "linux_gid16_t *" */
1.28 fvdl 231: #define LINUX_SYS_setgroups16 81
1.1 itohy 232:
233: /* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
234: #define LINUX_SYS_oldselect 82
235:
1.2 itohy 236: /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
1.1 itohy 237: #define LINUX_SYS_symlink 83
238:
1.49 jdolecek 239: #if !defined(_KERNEL) || defined(COMPAT_43)
1.2 itohy 240: /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
1.1 itohy 241: #define LINUX_SYS_oolstat 84
242:
1.49 jdolecek 243: #else
244: #endif
1.2 itohy 245: /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
1.1 itohy 246: #define LINUX_SYS_readlink 85
247:
1.53 joerg 248: #ifdef EXEC_AOUT
1.2 itohy 249: /* syscall: "uselib" ret: "int" args: "const char *" */
1.1 itohy 250: #define LINUX_SYS_uselib 86
251:
1.53 joerg 252: #else
253: #endif
1.1 itohy 254: /* syscall: "swapon" ret: "int" args: "char *" */
255: #define LINUX_SYS_swapon 87
256:
1.14 erh 257: /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
1.1 itohy 258: #define LINUX_SYS_reboot 88
259:
1.59 christos 260: /* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */
1.1 itohy 261: #define LINUX_SYS_readdir 89
262:
263: /* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
264: #define LINUX_SYS_old_mmap 90
265:
1.94 njoly 266: /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
1.1 itohy 267: #define LINUX_SYS_munmap 91
268:
1.2 itohy 269: /* syscall: "truncate" ret: "int" args: "const char *" "long" */
1.1 itohy 270: #define LINUX_SYS_truncate 92
271:
1.49 jdolecek 272: #if !defined(_KERNEL) || defined(COMPAT_43)
1.1 itohy 273: /* syscall: "ftruncate" ret: "int" args: "int" "long" */
274: #define LINUX_SYS_ftruncate 93
275:
1.49 jdolecek 276: #else
277: #endif
1.85 njoly 278: /* syscall: "fchmod" ret: "int" args: "int" "linux_umode_t" */
1.1 itohy 279: #define LINUX_SYS_fchmod 94
280:
1.64 njoly 281: /* syscall: "fchown16" ret: "int" args: "int" "linux_uid16_t" "linux_gid16_t" */
1.26 fvdl 282: #define LINUX_SYS_fchown16 95
1.1 itohy 283:
284: /* syscall: "getpriority" ret: "int" args: "int" "int" */
285: #define LINUX_SYS_getpriority 96
286:
287: /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
288: #define LINUX_SYS_setpriority 97
289:
1.59 christos 290: /* syscall: "profil" ret: "int" args: "void *" "u_int" "u_int" "u_int" */
1.1 itohy 291: #define LINUX_SYS_profil 98
292:
1.2 itohy 293: /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
1.1 itohy 294: #define LINUX_SYS_statfs 99
295:
296: /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
297: #define LINUX_SYS_fstatfs 100
298:
299: /* syscall: "socketcall" ret: "int" args: "int" "void *" */
300: #define LINUX_SYS_socketcall 102
301:
1.79 christos 302: /* syscall: "setitimer" ret: "int" args: "int" "struct itimerval50 *" "struct itimerval50 *" */
1.1 itohy 303: #define LINUX_SYS_setitimer 104
304:
1.79 christos 305: /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */
1.1 itohy 306: #define LINUX_SYS_getitimer 105
307:
1.2 itohy 308: /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
1.1 itohy 309: #define LINUX_SYS_stat 106
310:
1.2 itohy 311: /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
1.1 itohy 312: #define LINUX_SYS_lstat 107
313:
314: /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
315: #define LINUX_SYS_fstat 108
316:
1.71 njoly 317: /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
1.1 itohy 318: #define LINUX_SYS_wait4 114
1.20 jdolecek 319:
320: /* syscall: "swapoff" ret: "int" args: "const char *" */
321: #define LINUX_SYS_swapoff 115
1.25 jdolecek 322:
323: /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
324: #define LINUX_SYS_sysinfo 116
1.1 itohy 325:
1.59 christos 326: /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "void *" */
1.1 itohy 327: #define LINUX_SYS_ipc 117
328:
329: /* syscall: "fsync" ret: "int" args: "int" */
330: #define LINUX_SYS_fsync 118
331:
332: /* syscall: "sigreturn" ret: "int" args: */
333: #define LINUX_SYS_sigreturn 119
1.6 thorpej 334:
1.75 chs 335: /* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
1.6 thorpej 336: #define LINUX_SYS_clone 120
1.1 itohy 337:
338: /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
339: #define LINUX_SYS_setdomainname 121
340:
341: /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
342: #define LINUX_SYS_uname 122
343:
344: /* syscall: "cacheflush" ret: "int" args: "unsigned long" "int" "int" "unsigned long" */
345: #define LINUX_SYS_cacheflush 123
346:
1.40 christos 347: /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
1.1 itohy 348: #define LINUX_SYS_mprotect 125
349:
350: /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
351: #define LINUX_SYS_sigprocmask 126
352:
1.63 njoly 353: /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
1.1 itohy 354: #define LINUX_SYS_getpgid 132
355:
356: /* syscall: "fchdir" ret: "int" args: "int" */
357: #define LINUX_SYS_fchdir 133
358:
1.73 njoly 359: /* syscall: "personality" ret: "int" args: "unsigned long" */
1.1 itohy 360: #define LINUX_SYS_personality 136
361:
1.28 fvdl 362: /* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
363: #define LINUX_SYS_linux_setfsuid16 138
1.13 abs 364:
1.62 njoly 365: /* syscall: "linux_setfsgid16" ret: "int" args: "gid_t" */
366: #define LINUX_SYS_linux_setfsgid16 139
1.13 abs 367:
1.59 christos 368: /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */
1.1 itohy 369: #define LINUX_SYS_llseek 140
370:
371: /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
372: #define LINUX_SYS_getdents 141
373:
1.69 tsutsui 374: /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
1.1 itohy 375: #define LINUX_SYS_select 142
376:
377: /* syscall: "flock" ret: "int" args: "int" "int" */
378: #define LINUX_SYS_flock 143
379:
1.65 njoly 380: /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
381: #define LINUX_SYS___msync13 144
1.1 itohy 382:
1.88 njoly 383: /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
1.1 itohy 384: #define LINUX_SYS_readv 145
385:
1.88 njoly 386: /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
1.1 itohy 387: #define LINUX_SYS_writev 146
388:
389: /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
390: #define LINUX_SYS_getsid 147
391:
392: /* syscall: "fdatasync" ret: "int" args: "int" */
393: #define LINUX_SYS_fdatasync 148
394:
395: /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
396: #define LINUX_SYS___sysctl 149
397:
1.59 christos 398: /* syscall: "mlock" ret: "int" args: "void *" "size_t" */
1.1 itohy 399: #define LINUX_SYS_mlock 150
400:
1.59 christos 401: /* syscall: "munlock" ret: "int" args: "void *" "size_t" */
1.1 itohy 402: #define LINUX_SYS_munlock 151
1.18 jdolecek 403:
404: /* syscall: "mlockall" ret: "int" args: "int" */
405: #define LINUX_SYS_mlockall 152
406:
407: /* syscall: "munlockall" ret: "int" args: */
408: #define LINUX_SYS_munlockall 153
1.9 tron 409:
410: /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
411: #define LINUX_SYS_sched_setparam 154
412:
413: /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
414: #define LINUX_SYS_sched_getparam 155
415:
416: /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
417: #define LINUX_SYS_sched_setscheduler 156
418:
419: /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
420: #define LINUX_SYS_sched_getscheduler 157
421:
422: /* syscall: "sched_yield" ret: "int" args: */
423: #define LINUX_SYS_sched_yield 158
424:
425: /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
426: #define LINUX_SYS_sched_get_priority_max 159
427:
428: /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
429: #define LINUX_SYS_sched_get_priority_min 160
1.1 itohy 430:
1.68 njoly 431: /* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */
1.1 itohy 432: #define LINUX_SYS_nanosleep 162
433:
434: /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
435: #define LINUX_SYS_mremap 163
1.5 tron 436:
1.64 njoly 437: /* syscall: "setresuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" "linux_uid16_t" */
1.28 fvdl 438: #define LINUX_SYS_setresuid16 164
1.7 thorpej 439:
1.64 njoly 440: /* syscall: "getresuid16" ret: "int" args: "linux_uid16_t *" "linux_uid16_t *" "linux_uid16_t *" */
441: #define LINUX_SYS_getresuid16 165
1.7 thorpej 442:
1.5 tron 443: /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
444: #define LINUX_SYS_poll 168
1.1 itohy 445:
1.64 njoly 446: /* syscall: "setresgid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" "linux_gid16_t" */
1.28 fvdl 447: #define LINUX_SYS_setresgid16 170
1.7 thorpej 448:
1.64 njoly 449: /* syscall: "getresgid16" ret: "int" args: "linux_gid16_t *" "linux_gid16_t *" "linux_gid16_t *" */
450: #define LINUX_SYS_getresgid16 171
1.7 thorpej 451:
1.1 itohy 452: /* syscall: "rt_sigreturn" ret: "int" args: */
453: #define LINUX_SYS_rt_sigreturn 173
454:
455: /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
456: #define LINUX_SYS_rt_sigaction 174
457:
458: /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
459: #define LINUX_SYS_rt_sigprocmask 175
460:
461: /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
462: #define LINUX_SYS_rt_sigpending 176
463:
1.79 christos 464: /* syscall: "rt_sigtimedwait" ret: "int" args: "const linux_sigset_t *" "linux_siginfo_t *" "const struct linux_timespec *" */
465: #define LINUX_SYS_rt_sigtimedwait 177
466:
1.72 njoly 467: /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */
1.1 itohy 468: #define LINUX_SYS_rt_queueinfo 178
469:
470: /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
471: #define LINUX_SYS_rt_sigsuspend 179
1.3 thorpej 472:
1.89 njoly 473: /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
1.3 thorpej 474: #define LINUX_SYS_pread 180
475:
1.89 njoly 476: /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
1.3 thorpej 477: #define LINUX_SYS_pwrite 181
1.1 itohy 478:
1.64 njoly 479: /* syscall: "lchown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
1.27 itohy 480: #define LINUX_SYS_lchown16 182
1.4 tron 481:
482: /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
483: #define LINUX_SYS___getcwd 183
1.17 itohy 484:
485: /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
486: #define LINUX_SYS_sigaltstack 186
1.1 itohy 487:
1.7 thorpej 488: /* syscall: "__vfork14" ret: "int" args: */
489: #define LINUX_SYS___vfork14 190
1.39 christos 490:
491: /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
492: #define LINUX_SYS_ugetrlimit 191
1.46 christos 493:
1.61 dsl 494: #define linux_sys_mmap2_args linux_sys_mmap_args
1.46 christos 495: /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
496: #define LINUX_SYS_mmap2 192
1.38 christos 497:
1.23 jdolecek 498: /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
499: #define LINUX_SYS_truncate64 193
500:
1.48 jdolecek 501: /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
1.23 jdolecek 502: #define LINUX_SYS_ftruncate64 194
503:
504: /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
505: #define LINUX_SYS_stat64 195
506:
507: /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
508: #define LINUX_SYS_lstat64 196
509:
510: /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
511: #define LINUX_SYS_fstat64 197
1.26 fvdl 512:
1.60 njoly 513: /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
514: #define LINUX_SYS___posix_chown 198
1.26 fvdl 515:
516: /* syscall: "getuid" ret: "uid_t" args: */
517: #define LINUX_SYS_getuid 199
518:
519: /* syscall: "getgid" ret: "gid_t" args: */
520: #define LINUX_SYS_getgid 200
521:
522: /* syscall: "geteuid" ret: "uid_t" args: */
523: #define LINUX_SYS_geteuid 201
524:
525: /* syscall: "getegid" ret: "gid_t" args: */
526: #define LINUX_SYS_getegid 202
527:
528: /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
529: #define LINUX_SYS_setreuid 203
530:
531: /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
532: #define LINUX_SYS_setregid 204
533:
1.92 njoly 534: /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
1.28 fvdl 535: #define LINUX_SYS_getgroups 205
536:
1.92 njoly 537: /* syscall: "setgroups" ret: "int" args: "int" "gid_t *" */
1.28 fvdl 538: #define LINUX_SYS_setgroups 206
539:
1.26 fvdl 540: /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
541: #define LINUX_SYS___posix_fchown 207
542:
1.28 fvdl 543: /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
544: #define LINUX_SYS_setresuid 208
545:
546: /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
547: #define LINUX_SYS_getresuid 209
548:
549: /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
550: #define LINUX_SYS_setresgid 210
551:
552: /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
553: #define LINUX_SYS_getresgid 211
554:
1.60 njoly 555: /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
556: #define LINUX_SYS___posix_lchown 212
1.26 fvdl 557:
558: /* syscall: "setuid" ret: "int" args: "uid_t" */
559: #define LINUX_SYS_setuid 213
560:
561: /* syscall: "setgid" ret: "int" args: "gid_t" */
562: #define LINUX_SYS_setgid 214
1.28 fvdl 563:
564: /* syscall: "setfsuid" ret: "int" args: "uid_t" */
565: #define LINUX_SYS_setfsuid 215
566:
1.62 njoly 567: /* syscall: "setfsgid" ret: "int" args: "gid_t" */
568: #define LINUX_SYS_setfsgid 216
1.41 christos 569:
570: /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
571: #define LINUX_SYS_getdents64 220
1.7 thorpej 572:
1.75 chs 573: /* syscall: "gettid" ret: "pid_t" args: */
574: #define LINUX_SYS_gettid 221
575:
576: /* syscall: "tkill" ret: "int" args: "int" "int" */
577: #define LINUX_SYS_tkill 222
578:
1.51 fvdl 579: /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
580: #define LINUX_SYS_setxattr 223
581:
582: /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
583: #define LINUX_SYS_lsetxattr 224
584:
585: /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
586: #define LINUX_SYS_fsetxattr 225
587:
588: /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
589: #define LINUX_SYS_getxattr 226
590:
591: /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
592: #define LINUX_SYS_lgetxattr 227
593:
594: /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
595: #define LINUX_SYS_fgetxattr 228
596:
597: /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
598: #define LINUX_SYS_listxattr 229
599:
600: /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
601: #define LINUX_SYS_llistxattr 230
602:
603: /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
604: #define LINUX_SYS_flistxattr 231
605:
606: /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
607: #define LINUX_SYS_removexattr 232
608:
609: /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
610: #define LINUX_SYS_lremovexattr 233
611:
612: /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
613: #define LINUX_SYS_fremovexattr 234
614:
1.75 chs 615: /* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
616: #define LINUX_SYS_futex 235
617:
1.87 njoly 618: /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
619: #define LINUX_SYS_mincore 237
620:
621: /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
622: #define LINUX_SYS_madvise 238
623:
1.86 njoly 624: /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
625: #define LINUX_SYS_fcntl64 239
626:
1.91 njoly 627: /* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */
1.77 alnsn 628: #define LINUX_SYS_fadvise64 246
629:
1.75 chs 630: /* syscall: "set_tid_address" ret: "int" args: "int *" */
631: #define LINUX_SYS_set_tid_address 253
632:
1.52 jmc 633: /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
634: #define LINUX_SYS_clock_settime 259
635:
636: /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
637: #define LINUX_SYS_clock_gettime 260
638:
639: /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
640: #define LINUX_SYS_clock_getres 261
641:
642: /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
643: #define LINUX_SYS_clock_nanosleep 262
644:
1.75 chs 645: /* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */
646: #define LINUX_SYS_statfs64 263
647:
648: /* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */
649: #define LINUX_SYS_fstatfs64 264
650:
651: /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
652: #define LINUX_SYS_tgkill 265
653:
1.93 njoly 654: /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval50 *" */
1.81 pooka 655: #define LINUX_SYS_utimes 266
656:
1.91 njoly 657: /* syscall: "fadvise64_64" ret: "int" args: "int" "off_t" "off_t" "int" */
1.77 alnsn 658: #define LINUX_SYS_fadvise64_64 267
659:
1.84 chs 660: /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
661: #define LINUX_SYS_openat 288
662:
663: /* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */
664: #define LINUX_SYS_mkdirat 289
665:
666: /* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */
667: #define LINUX_SYS_mknodat 290
668:
669: /* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
670: #define LINUX_SYS_fchownat 291
671:
672: /* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat64 *" "int" */
673: #define LINUX_SYS_fstatat64 293
674:
675: /* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
676: #define LINUX_SYS_unlinkat 294
677:
678: /* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
679: #define LINUX_SYS_renameat 295
680:
681: /* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
682: #define LINUX_SYS_linkat 296
683:
684: /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
685: #define LINUX_SYS_symlinkat 297
686:
687: /* syscall: "readlinkat" ret: "int" args: "int" "const char *" "char *" "size_t" */
688: #define LINUX_SYS_readlinkat 298
689:
690: /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
691: #define LINUX_SYS_fchmodat 299
692:
693: /* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
694: #define LINUX_SYS_faccessat 300
695:
1.95 njoly 696: /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
1.80 pooka 697: #define LINUX_SYS_ppoll 302
698:
1.75 chs 699: /* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
700: #define LINUX_SYS_set_robust_list 304
701:
702: /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
703: #define LINUX_SYS_get_robust_list 305
704:
705: /* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
706: #define LINUX_SYS_sched_setaffinity 311
707:
708: /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
709: #define LINUX_SYS_sched_getaffinity 312
710:
1.82 njoly 711: /* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
712: #define LINUX_SYS_utimensat 316
713:
1.76 he 714: /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
715: #define LINUX_SYS_dup3 326
716:
717: /* syscall: "pipe2" ret: "int" args: "int *" "int" */
718: #define LINUX_SYS_pipe2 327
719:
1.75 chs 720: #define LINUX_SYS_MAXSYSCALL 337
1.49 jdolecek 721: #define LINUX_SYS_NSYSENT 512
1.57 matt 722: #endif /* _LINUX_SYS_SYSCALL_H_ */
CVSweb <webmaster@jp.NetBSD.org>