Annotation of src/sys/compat/linux/arch/m68k/linux_syscall.h, Revision 1.60
1.60 ! njoly 1: /* $NetBSD$ */
1.1 itohy 2:
3: /*
4: * System call numbers.
5: *
6: * DO NOT EDIT-- this file is automatically generated.
1.60 ! njoly 7: * created from NetBSD: syscalls.master,v 1.55 2007/11/16 12:51:55 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:
24: /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
25: #define LINUX_SYS_read 3
26:
27: /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
28: #define LINUX_SYS_write 4
29:
1.2 itohy 30: /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
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.2 itohy 39: /* syscall: "creat" ret: "int" args: "const char *" "int" */
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.2 itohy 57: /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
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.26 fvdl 63: /* syscall: "chown16" ret: "int" args: "const char *" "int" "int" */
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.2 itohy 118: /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
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:
124: /* syscall: "dup" ret: "int" args: "u_int" */
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:
173: /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
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.26 fvdl 194: /* syscall: "setreuid16" ret: "int" args: "int" "int" */
195: #define LINUX_SYS_setreuid16 70
1.1 itohy 196:
1.26 fvdl 197: /* syscall: "setregid16" ret: "int" args: "int" "int" */
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:
218: /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
219: #define LINUX_SYS_getrusage 77
220:
221: /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
222: #define LINUX_SYS_gettimeofday 78
223:
224: /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
225: #define LINUX_SYS_settimeofday 79
226:
1.28 fvdl 227: /* syscall: "getgroups16" ret: "int" args: "u_int" "linux_gid_t *" */
228: #define LINUX_SYS_getgroups16 80
1.1 itohy 229:
1.28 fvdl 230: /* syscall: "setgroups16" ret: "int" args: "u_int" "linux_gid_t *" */
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.59 christos 266: /* syscall: "munmap" ret: "int" args: "void *" "int" */
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.1 itohy 278: /* syscall: "fchmod" ret: "int" args: "int" "int" */
279: #define LINUX_SYS_fchmod 94
280:
1.26 fvdl 281: /* syscall: "fchown16" ret: "int" args: "int" "int" "int" */
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:
302: /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
303: #define LINUX_SYS_setitimer 104
304:
305: /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
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:
317: /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
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:
335: /* syscall: "clone" ret: "int" args: "int" "void *" */
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:
353: /* syscall: "getpgid" ret: "int" args: "int" */
354: #define LINUX_SYS_getpgid 132
355:
356: /* syscall: "fchdir" ret: "int" args: "int" */
357: #define LINUX_SYS_fchdir 133
358:
359: /* syscall: "personality" ret: "int" args: "int" */
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.28 fvdl 365: /* syscall: "linux_getfsuid16" ret: "int" args: */
366: #define LINUX_SYS_linux_getfsuid16 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:
374: /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
375: #define LINUX_SYS_select 142
376:
377: /* syscall: "flock" ret: "int" args: "int" "int" */
378: #define LINUX_SYS_flock 143
379:
1.59 christos 380: /* syscall: "msync" ret: "int" args: "void *" "int" "int" */
1.1 itohy 381: #define LINUX_SYS_msync 144
382:
383: /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
384: #define LINUX_SYS_readv 145
385:
386: /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
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:
431: /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
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.28 fvdl 437: /* syscall: "setresuid16" ret: "int" args: "uid_t" "uid_t" "uid_t" */
438: #define LINUX_SYS_setresuid16 164
1.7 thorpej 439:
1.28 fvdl 440: /* syscall: "linux_getresuid16" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
441: #define LINUX_SYS_linux_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.28 fvdl 446: /* syscall: "setresgid16" ret: "int" args: "gid_t" "gid_t" "gid_t" */
447: #define LINUX_SYS_setresgid16 170
1.7 thorpej 448:
1.28 fvdl 449: /* syscall: "linux_getresgid16" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
450: #define LINUX_SYS_linux_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:
464: /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "void *" */
465: #define LINUX_SYS_rt_queueinfo 178
466:
467: /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
468: #define LINUX_SYS_rt_sigsuspend 179
1.3 thorpej 469:
1.11 tron 470: /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
1.3 thorpej 471: #define LINUX_SYS_pread 180
472:
1.11 tron 473: /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
1.3 thorpej 474: #define LINUX_SYS_pwrite 181
1.1 itohy 475:
1.27 itohy 476: /* syscall: "lchown16" ret: "int" args: "const char *" "int" "int" */
477: #define LINUX_SYS_lchown16 182
1.4 tron 478:
479: /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
480: #define LINUX_SYS___getcwd 183
1.17 itohy 481:
482: /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
483: #define LINUX_SYS_sigaltstack 186
1.1 itohy 484:
1.7 thorpej 485: /* syscall: "__vfork14" ret: "int" args: */
486: #define LINUX_SYS___vfork14 190
1.39 christos 487:
488: /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
489: #define LINUX_SYS_ugetrlimit 191
1.46 christos 490:
491: /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
492: #define LINUX_SYS_mmap2 192
1.38 christos 493:
1.23 jdolecek 494: /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
495: #define LINUX_SYS_truncate64 193
496:
1.48 jdolecek 497: /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
1.23 jdolecek 498: #define LINUX_SYS_ftruncate64 194
499:
500: /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
501: #define LINUX_SYS_stat64 195
502:
503: /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
504: #define LINUX_SYS_lstat64 196
505:
506: /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
507: #define LINUX_SYS_fstat64 197
1.26 fvdl 508:
1.60 ! njoly 509: /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
! 510: #define LINUX_SYS___posix_chown 198
1.26 fvdl 511:
512: /* syscall: "getuid" ret: "uid_t" args: */
513: #define LINUX_SYS_getuid 199
514:
515: /* syscall: "getgid" ret: "gid_t" args: */
516: #define LINUX_SYS_getgid 200
517:
518: /* syscall: "geteuid" ret: "uid_t" args: */
519: #define LINUX_SYS_geteuid 201
520:
521: /* syscall: "getegid" ret: "gid_t" args: */
522: #define LINUX_SYS_getegid 202
523:
524: /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
525: #define LINUX_SYS_setreuid 203
526:
527: /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
528: #define LINUX_SYS_setregid 204
529:
1.28 fvdl 530: /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
531: #define LINUX_SYS_getgroups 205
532:
533: /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
534: #define LINUX_SYS_setgroups 206
535:
1.26 fvdl 536: /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
537: #define LINUX_SYS___posix_fchown 207
538:
1.28 fvdl 539: /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
540: #define LINUX_SYS_setresuid 208
541:
542: /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
543: #define LINUX_SYS_getresuid 209
544:
545: /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
546: #define LINUX_SYS_setresgid 210
547:
548: /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
549: #define LINUX_SYS_getresgid 211
550:
1.60 ! njoly 551: /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
! 552: #define LINUX_SYS___posix_lchown 212
1.26 fvdl 553:
554: /* syscall: "setuid" ret: "int" args: "uid_t" */
555: #define LINUX_SYS_setuid 213
556:
557: /* syscall: "setgid" ret: "int" args: "gid_t" */
558: #define LINUX_SYS_setgid 214
1.28 fvdl 559:
560: /* syscall: "setfsuid" ret: "int" args: "uid_t" */
561: #define LINUX_SYS_setfsuid 215
562:
563: /* syscall: "getfsuid" ret: "int" args: */
564: #define LINUX_SYS_getfsuid 216
1.41 christos 565:
566: /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
567: #define LINUX_SYS_getdents64 220
1.7 thorpej 568:
1.51 fvdl 569: /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
570: #define LINUX_SYS_setxattr 223
571:
572: /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
573: #define LINUX_SYS_lsetxattr 224
574:
575: /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
576: #define LINUX_SYS_fsetxattr 225
577:
578: /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
579: #define LINUX_SYS_getxattr 226
580:
581: /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
582: #define LINUX_SYS_lgetxattr 227
583:
584: /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
585: #define LINUX_SYS_fgetxattr 228
586:
587: /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
588: #define LINUX_SYS_listxattr 229
589:
590: /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
591: #define LINUX_SYS_llistxattr 230
592:
593: /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
594: #define LINUX_SYS_flistxattr 231
595:
596: /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
597: #define LINUX_SYS_removexattr 232
598:
599: /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
600: #define LINUX_SYS_lremovexattr 233
601:
602: /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
603: #define LINUX_SYS_fremovexattr 234
604:
1.52 jmc 605: /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
606: #define LINUX_SYS_clock_settime 259
607:
608: /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
609: #define LINUX_SYS_clock_gettime 260
610:
611: /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
612: #define LINUX_SYS_clock_getres 261
613:
614: /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
615: #define LINUX_SYS_clock_nanosleep 262
616:
617: #define LINUX_SYS_MAXSYSCALL 263
1.49 jdolecek 618: #define LINUX_SYS_NSYSENT 512
1.57 matt 619: #endif /* _LINUX_SYS_SYSCALL_H_ */
CVSweb <webmaster@jp.NetBSD.org>