Annotation of src/sys/compat/linux/arch/m68k/linux_syscalls.c, Revision 1.47.2.1
1.47.2.1! skrll 1: /* $NetBSD: linux_syscalls.c,v 1.48 2003/08/10 20:17:25 jdolecek Exp $ */
1.1 itohy 2:
3: /*
4: * System call names.
5: *
6: * DO NOT EDIT-- this file is automatically generated.
1.47.2.1! skrll 7: * created from NetBSD: syscalls.master,v 1.44 2004/08/01 15:34:22 jdolecek Exp
1.1 itohy 8: */
1.38 lukem 9:
10: #include <sys/cdefs.h>
1.47.2.1! skrll 11: __KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.48 2003/08/10 20:17:25 jdolecek Exp $");
1.1 itohy 12:
1.37 mrg 13: #if defined(_KERNEL_OPT)
14: #if defined(_KERNEL_OPT)
1.1 itohy 15: #include "opt_compat_netbsd.h"
16: #include "opt_compat_43.h"
1.22 mycroft 17: #endif
1.1 itohy 18: #include <sys/param.h>
1.5 tron 19: #include <sys/poll.h>
1.1 itohy 20: #include <sys/systm.h>
21: #include <sys/signal.h>
22: #include <sys/mount.h>
1.44 thorpej 23: #include <sys/sa.h>
1.1 itohy 24: #include <sys/syscallargs.h>
25: #include <compat/linux/common/linux_types.h>
26: #include <compat/linux/common/linux_signal.h>
27: #include <compat/linux/common/linux_siginfo.h>
28: #include <compat/linux/common/linux_machdep.h>
1.47 thorpej 29: #include <compat/linux/common/linux_mmap.h>
1.1 itohy 30: #include <compat/linux/linux_syscallargs.h>
1.37 mrg 31: #endif /* _KERNEL_OPT */
1.1 itohy 32:
1.22 mycroft 33: const char *const linux_syscallnames[] = {
1.1 itohy 34: "syscall", /* 0 = syscall */
35: "exit", /* 1 = exit */
36: "fork", /* 2 = fork */
37: "read", /* 3 = read */
38: "write", /* 4 = write */
39: "open", /* 5 = open */
40: "close", /* 6 = close */
41: "waitpid", /* 7 = waitpid */
42: "creat", /* 8 = creat */
43: "link", /* 9 = link */
44: "unlink", /* 10 = unlink */
45: "execve", /* 11 = execve */
46: "chdir", /* 12 = chdir */
47: "time", /* 13 = time */
48: "mknod", /* 14 = mknod */
49: "chmod", /* 15 = chmod */
1.27 fvdl 50: "chown16", /* 16 = chown16 */
1.1 itohy 51: "#17 (obsolete break)", /* 17 = obsolete break */
52: "#18 (obsolete ostat)", /* 18 = obsolete ostat */
53: #if !defined(_KERNEL) || defined(COMPAT_43)
54: "lseek", /* 19 = lseek */
55: #else
56: "#19 (unimplemented compat_43_sys_lseek)", /* 19 = unimplemented compat_43_sys_lseek */
57: #endif
58: "getpid", /* 20 = getpid */
59: "#21 (unimplemented mount)", /* 21 = unimplemented mount */
60: "#22 (obsolete umount)", /* 22 = obsolete umount */
1.29 fvdl 61: "linux_setuid16", /* 23 = linux_setuid16 */
62: "linux_getuid16", /* 24 = linux_getuid16 */
1.8 tron 63: "stime", /* 25 = stime */
1.12 tron 64: "ptrace", /* 26 = ptrace */
1.1 itohy 65: "alarm", /* 27 = alarm */
66: "#28 (obsolete ofstat)", /* 28 = obsolete ofstat */
67: "pause", /* 29 = pause */
68: "utime", /* 30 = utime */
69: "#31 (obsolete stty)", /* 31 = obsolete stty */
70: "#32 (obsolete gtty)", /* 32 = obsolete gtty */
71: "access", /* 33 = access */
72: "nice", /* 34 = nice */
73: "#35 (obsolete ftime)", /* 35 = obsolete ftime */
74: "sync", /* 36 = sync */
75: "kill", /* 37 = kill */
76: "rename", /* 38 = rename */
77: "mkdir", /* 39 = mkdir */
78: "rmdir", /* 40 = rmdir */
79: "dup", /* 41 = dup */
80: "pipe", /* 42 = pipe */
81: "times", /* 43 = times */
82: "#44 (obsolete prof)", /* 44 = obsolete prof */
83: "brk", /* 45 = brk */
1.29 fvdl 84: "linux_setgid16", /* 46 = linux_setgid16 */
85: "linux_getgid16", /* 47 = linux_getgid16 */
1.1 itohy 86: "signal", /* 48 = signal */
1.29 fvdl 87: "linux_geteuid16", /* 49 = linux_geteuid16 */
88: "linux_getegid16", /* 50 = linux_getegid16 */
1.1 itohy 89: "acct", /* 51 = acct */
90: "#52 (unimplemented umount)", /* 52 = unimplemented umount */
91: "#53 (obsolete lock)", /* 53 = obsolete lock */
92: "ioctl", /* 54 = ioctl */
93: "fcntl", /* 55 = fcntl */
94: "#56 (obsolete mpx)", /* 56 = obsolete mpx */
95: "setpgid", /* 57 = setpgid */
96: "#58 (obsolete ulimit)", /* 58 = obsolete ulimit */
97: "#59 (unimplemented oldolduname)", /* 59 = unimplemented oldolduname */
98: "umask", /* 60 = umask */
99: "chroot", /* 61 = chroot */
100: "#62 (unimplemented ustat)", /* 62 = unimplemented ustat */
101: "dup2", /* 63 = dup2 */
102: "getppid", /* 64 = getppid */
103: "getpgrp", /* 65 = getpgrp */
104: "setsid", /* 66 = setsid */
105: "sigaction", /* 67 = sigaction */
106: "siggetmask", /* 68 = siggetmask */
107: "sigsetmask", /* 69 = sigsetmask */
1.27 fvdl 108: "setreuid16", /* 70 = setreuid16 */
109: "setregid16", /* 71 = setregid16 */
1.1 itohy 110: "sigsuspend", /* 72 = sigsuspend */
111: "sigpending", /* 73 = sigpending */
112: #if !defined(_KERNEL) || defined(COMPAT_43)
113: "sethostname", /* 74 = sethostname */
114: #else
115: "#74 (unimplemented compat_43_sys_sethostname)", /* 74 = unimplemented compat_43_sys_sethostname */
116: #endif
1.40 christos 117: "setrlimit", /* 75 = setrlimit */
118: "getrlimit", /* 76 = getrlimit */
1.1 itohy 119: "getrusage", /* 77 = getrusage */
120: "gettimeofday", /* 78 = gettimeofday */
121: "settimeofday", /* 79 = settimeofday */
1.29 fvdl 122: "getgroups16", /* 80 = getgroups16 */
123: "setgroups16", /* 81 = setgroups16 */
1.1 itohy 124: "oldselect", /* 82 = oldselect */
125: "symlink", /* 83 = symlink */
126: #if !defined(_KERNEL) || defined(COMPAT_43)
127: "oolstat", /* 84 = oolstat */
128: #else
129: "#84 (unimplemented compat_43_sys_lstat)", /* 84 = unimplemented compat_43_sys_lstat */
130: #endif
131: "readlink", /* 85 = readlink */
132: "uselib", /* 86 = uselib */
133: "swapon", /* 87 = swapon */
134: "reboot", /* 88 = reboot */
135: "readdir", /* 89 = readdir */
136: "old_mmap", /* 90 = old_mmap */
137: "munmap", /* 91 = munmap */
138: "truncate", /* 92 = truncate */
139: #if !defined(_KERNEL) || defined(COMPAT_43)
140: "ftruncate", /* 93 = ftruncate */
141: #else
142: "#93 (unimplemented compat_43_sys_ftruncate)", /* 93 = unimplemented compat_43_sys_ftruncate */
143: #endif
144: "fchmod", /* 94 = fchmod */
1.27 fvdl 145: "fchown16", /* 95 = fchown16 */
1.1 itohy 146: "getpriority", /* 96 = getpriority */
147: "setpriority", /* 97 = setpriority */
148: "profil", /* 98 = profil */
149: "statfs", /* 99 = statfs */
150: "fstatfs", /* 100 = fstatfs */
151: "#101 (unimplemented ioperm)", /* 101 = unimplemented ioperm */
152: "socketcall", /* 102 = socketcall */
153: "#103 (unimplemented syslog)", /* 103 = unimplemented syslog */
154: "setitimer", /* 104 = setitimer */
155: "getitimer", /* 105 = getitimer */
156: "stat", /* 106 = stat */
157: "lstat", /* 107 = lstat */
158: "fstat", /* 108 = fstat */
159: "#109 (unimplemented olduname)", /* 109 = unimplemented olduname */
160: "#110 (unimplemented iopl)", /* 110 = unimplemented iopl */
161: "#111 (unimplemented vhangup)", /* 111 = unimplemented vhangup */
162: "#112 (unimplemented idle)", /* 112 = unimplemented idle */
163: "#113 (unimplemented vm86old)", /* 113 = unimplemented vm86old */
164: "wait4", /* 114 = wait4 */
1.21 jdolecek 165: "swapoff", /* 115 = swapoff */
1.26 jdolecek 166: "sysinfo", /* 116 = sysinfo */
1.1 itohy 167: "ipc", /* 117 = ipc */
168: "fsync", /* 118 = fsync */
169: "sigreturn", /* 119 = sigreturn */
1.6 thorpej 170: "clone", /* 120 = clone */
1.1 itohy 171: "setdomainname", /* 121 = setdomainname */
172: "uname", /* 122 = uname */
173: "cacheflush", /* 123 = cacheflush */
174: "#124 (unimplemented adjtimex)", /* 124 = unimplemented adjtimex */
175: "mprotect", /* 125 = mprotect */
176: "sigprocmask", /* 126 = sigprocmask */
177: "#127 (unimplemented create_module)", /* 127 = unimplemented create_module */
178: "#128 (unimplemented init_module)", /* 128 = unimplemented init_module */
179: "#129 (unimplemented delete_module)", /* 129 = unimplemented delete_module */
180: "#130 (unimplemented get_kernel_syms)", /* 130 = unimplemented get_kernel_syms */
181: "#131 (unimplemented quotactl)", /* 131 = unimplemented quotactl */
182: "getpgid", /* 132 = getpgid */
183: "fchdir", /* 133 = fchdir */
184: "#134 (unimplemented bdflush)", /* 134 = unimplemented bdflush */
185: "#135 (unimplemented sysfs)", /* 135 = unimplemented sysfs */
186: "personality", /* 136 = personality */
187: "#137 (unimplemented afs_syscall)", /* 137 = unimplemented afs_syscall */
1.29 fvdl 188: "linux_setfsuid16", /* 138 = linux_setfsuid16 */
189: "linux_getfsuid16", /* 139 = linux_getfsuid16 */
1.1 itohy 190: "llseek", /* 140 = llseek */
191: "getdents", /* 141 = getdents */
192: "select", /* 142 = select */
193: "flock", /* 143 = flock */
194: "msync", /* 144 = msync */
195: "readv", /* 145 = readv */
196: "writev", /* 146 = writev */
197: "getsid", /* 147 = getsid */
198: "fdatasync", /* 148 = fdatasync */
199: "__sysctl", /* 149 = __sysctl */
200: "mlock", /* 150 = mlock */
201: "munlock", /* 151 = munlock */
1.18 jdolecek 202: "mlockall", /* 152 = mlockall */
203: "munlockall", /* 153 = munlockall */
1.9 tron 204: "sched_setparam", /* 154 = sched_setparam */
205: "sched_getparam", /* 155 = sched_getparam */
206: "sched_setscheduler", /* 156 = sched_setscheduler */
207: "sched_getscheduler", /* 157 = sched_getscheduler */
208: "sched_yield", /* 158 = sched_yield */
209: "sched_get_priority_max", /* 159 = sched_get_priority_max */
210: "sched_get_priority_min", /* 160 = sched_get_priority_min */
1.1 itohy 211: "#161 (unimplemented sched_rr_get_interval)", /* 161 = unimplemented sched_rr_get_interval */
212: "nanosleep", /* 162 = nanosleep */
213: "mremap", /* 163 = mremap */
1.29 fvdl 214: "setresuid16", /* 164 = setresuid16 */
215: "linux_getresuid16", /* 165 = linux_getresuid16 */
1.1 itohy 216: "#166 (unimplemented vm86)", /* 166 = unimplemented vm86 */
217: "#167 (unimplemented query_module)", /* 167 = unimplemented query_module */
1.5 tron 218: "poll", /* 168 = poll */
1.1 itohy 219: "#169 (unimplemented nfsservctl)", /* 169 = unimplemented nfsservctl */
1.29 fvdl 220: "setresgid16", /* 170 = setresgid16 */
221: "linux_getresgid16", /* 171 = linux_getresgid16 */
1.1 itohy 222: "#172 (unimplemented prctl)", /* 172 = unimplemented prctl */
223: "rt_sigreturn", /* 173 = rt_sigreturn */
224: "rt_sigaction", /* 174 = rt_sigaction */
225: "rt_sigprocmask", /* 175 = rt_sigprocmask */
226: "rt_sigpending", /* 176 = rt_sigpending */
227: "#177 (unimplemented rt_sigtimedwait)", /* 177 = unimplemented rt_sigtimedwait */
228: "rt_queueinfo", /* 178 = rt_queueinfo */
229: "rt_sigsuspend", /* 179 = rt_sigsuspend */
1.3 thorpej 230: "pread", /* 180 = pread */
231: "pwrite", /* 181 = pwrite */
1.28 itohy 232: "lchown16", /* 182 = lchown16 */
1.4 tron 233: "__getcwd", /* 183 = __getcwd */
1.1 itohy 234: "#184 (unimplemented capget)", /* 184 = unimplemented capget */
235: "#185 (unimplemented capset)", /* 185 = unimplemented capset */
1.17 itohy 236: "sigaltstack", /* 186 = sigaltstack */
1.7 thorpej 237: "#187 (unimplemented sendfile)", /* 187 = unimplemented sendfile */
238: "#188 (unimplemented getpmsg)", /* 188 = unimplemented getpmsg */
239: "#189 (unimplemented putpmsg)", /* 189 = unimplemented putpmsg */
240: "__vfork14", /* 190 = __vfork14 */
1.40 christos 241: "ugetrlimit", /* 191 = ugetrlimit */
1.46 christos 242: "mmap2", /* 192 = mmap2 */
1.24 jdolecek 243: "truncate64", /* 193 = truncate64 */
244: "ftruncate64", /* 194 = ftruncate64 */
245: "stat64", /* 195 = stat64 */
246: "lstat64", /* 196 = lstat64 */
247: "fstat64", /* 197 = fstat64 */
1.29 fvdl 248: "chown", /* 198 = chown */
1.27 fvdl 249: "getuid", /* 199 = getuid */
250: "getgid", /* 200 = getgid */
251: "geteuid", /* 201 = geteuid */
252: "getegid", /* 202 = getegid */
253: "setreuid", /* 203 = setreuid */
254: "setregid", /* 204 = setregid */
1.29 fvdl 255: "getgroups", /* 205 = getgroups */
256: "setgroups", /* 206 = setgroups */
1.27 fvdl 257: "__posix_fchown", /* 207 = __posix_fchown */
1.29 fvdl 258: "setresuid", /* 208 = setresuid */
259: "getresuid", /* 209 = getresuid */
260: "setresgid", /* 210 = setresgid */
261: "getresgid", /* 211 = getresgid */
262: "lchown", /* 212 = lchown */
1.27 fvdl 263: "setuid", /* 213 = setuid */
264: "setgid", /* 214 = setgid */
1.29 fvdl 265: "setfsuid", /* 215 = setfsuid */
266: "getfsuid", /* 216 = getfsuid */
1.43 jdolecek 267: "#217 (unimplemented / * unused * /)", /* 217 = unimplemented / * unused * / */
268: "#218 (unimplemented / * unused * /)", /* 218 = unimplemented / * unused * / */
269: "#219 (unimplemented / * unused * /)", /* 219 = unimplemented / * unused * / */
1.42 christos 270: "getdents64", /* 220 = getdents64 */
1.43 jdolecek 271: "#221 (unimplemented gettid)", /* 221 = unimplemented gettid */
272: "#222 (unimplemented tkill)", /* 222 = unimplemented tkill */
1.47.2.1! skrll 273: "#223 (unimplemented setxattr)", /* 223 = unimplemented setxattr */
! 274: "#224 (unimplemented lsetxattr)", /* 224 = unimplemented lsetxattr */
! 275: "#225 (unimplemented fsetxattr)", /* 225 = unimplemented fsetxattr */
! 276: "#226 (unimplemented getxattr)", /* 226 = unimplemented getxattr */
! 277: "#227 (unimplemented lgetxattr)", /* 227 = unimplemented lgetxattr */
! 278: "#228 (unimplemented fgetxattr)", /* 228 = unimplemented fgetxattr */
! 279: "#229 (unimplemented listxattr)", /* 229 = unimplemented listxattr */
! 280: "#230 (unimplemented llistxattr)", /* 230 = unimplemented llistxattr */
! 281: "#231 (unimplemented flistxattr)", /* 231 = unimplemented flistxattr */
! 282: "#232 (unimplemented removexattr)", /* 232 = unimplemented removexattr */
! 283: "#233 (unimplemented lremovexattr)", /* 233 = unimplemented lremovexattr */
! 284: "#234 (unimplemented fremovexattr)", /* 234 = unimplemented fremovexattr */
! 285: "#235 (unimplemented futex)", /* 235 = unimplemented futex */
1.1 itohy 286: };
CVSweb <webmaster@jp.NetBSD.org>