NetBSD/sys/compat/linux/linux_syscalls.c

169 lines
6.2 KiB
C
Raw Normal View History

1995-03-01 02:24:35 +03:00
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
1995-12-18 17:35:43 +03:00
* created from NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp
1995-03-01 02:24:35 +03:00
*/
char *linux_syscallnames[] = {
"syscall", /* 0 = syscall */
"exit", /* 1 = exit */
1995-10-07 09:41:34 +03:00
"fork", /* 2 = fork */
1995-03-01 02:24:35 +03:00
"read", /* 3 = read */
"write", /* 4 = write */
1995-10-07 09:41:34 +03:00
"open", /* 5 = open */
1995-03-01 02:24:35 +03:00
"close", /* 6 = close */
1995-10-07 09:41:34 +03:00
"waitpid", /* 7 = waitpid */
"creat", /* 8 = creat */
1995-03-01 02:24:35 +03:00
"link", /* 9 = link */
1995-10-07 09:41:34 +03:00
"unlink", /* 10 = unlink */
"execve", /* 11 = execve */
"chdir", /* 12 = chdir */
"time", /* 13 = time */
"mknod", /* 14 = mknod */
"chmod", /* 15 = chmod */
"chown", /* 16 = chown */
"break", /* 17 = break */
"#18 (obsolete ostat)", /* 18 = obsolete ostat */
"lseek", /* 19 = lseek */
1995-03-01 02:24:35 +03:00
"getpid", /* 20 = getpid */
1995-10-07 09:41:34 +03:00
"#21 (unimplemented mount)", /* 21 = unimplemented mount */
"#22 (unimplemented umount)", /* 22 = unimplemented umount */
1995-03-01 02:24:35 +03:00
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
1995-10-07 09:41:34 +03:00
"#25 (unimplemented stime)", /* 25 = unimplemented stime */
"#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
"alarm", /* 27 = alarm */
"#28 (obsolete ofstat)", /* 28 = obsolete ofstat */
"pause", /* 29 = pause */
"utime", /* 30 = utime */
"#31 (unimplemented stty)", /* 31 = unimplemented stty */
"#32 (unimplemented gtty)", /* 32 = unimplemented gtty */
"access", /* 33 = access */
"#34 (unimplemented nice)", /* 34 = unimplemented nice */
"#35 (unimplemented ftime)", /* 35 = unimplemented ftime */
1995-03-01 02:24:35 +03:00
"sync", /* 36 = sync */
1995-10-07 09:41:34 +03:00
"kill", /* 37 = kill */
"rename", /* 38 = rename */
"mkdir", /* 39 = mkdir */
"rmdir", /* 40 = rmdir */
1995-03-01 02:24:35 +03:00
"dup", /* 41 = dup */
1995-10-07 09:41:34 +03:00
"pipe", /* 42 = pipe */
"times", /* 43 = times */
"#44 (unimplemented prof)", /* 44 = unimplemented prof */
"brk", /* 45 = brk */
1995-03-01 02:24:35 +03:00
"setgid", /* 46 = setgid */
"getgid", /* 47 = getgid */
1995-10-07 09:41:34 +03:00
"signal", /* 48 = signal */
1995-03-01 02:24:35 +03:00
"geteuid", /* 49 = geteuid */
"getegid", /* 50 = getegid */
"acct", /* 51 = acct */
1995-10-07 09:41:34 +03:00
"#52 (unimplemented phys)", /* 52 = unimplemented phys */
"#53 (unimplemented lock)", /* 53 = unimplemented lock */
"ioctl", /* 54 = ioctl */
"fcntl", /* 55 = fcntl */
"#56 (unimplemented mpx)", /* 56 = unimplemented mpx */
1995-03-01 02:24:35 +03:00
"setpgid", /* 57 = setpgid */
1995-10-07 09:41:34 +03:00
"#58 (unimplemented ulimit)", /* 58 = unimplemented ulimit */
"oldolduname", /* 59 = oldolduname */
1995-03-01 02:24:35 +03:00
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
1995-10-07 09:41:34 +03:00
"#62 (unimplemented ustat)", /* 62 = unimplemented ustat */
1995-03-01 02:24:35 +03:00
"dup2", /* 63 = dup2 */
"getppid", /* 64 = getppid */
"getpgrp", /* 65 = getpgrp */
"setsid", /* 66 = setsid */
1995-10-07 09:41:34 +03:00
"sigaction", /* 67 = sigaction */
"siggetmask", /* 68 = siggetmask */
"sigsetmask", /* 69 = sigsetmask */
"setreuid", /* 70 = setreuid */
"setregid", /* 71 = setregid */
"sigsuspend", /* 72 = sigsuspend */
"sigpending", /* 73 = sigpending */
"sethostname", /* 74 = sethostname */
"setrlimit", /* 75 = setrlimit */
"getrlimit", /* 76 = getrlimit */
1995-03-01 02:24:35 +03:00
"getrusage", /* 77 = getrusage */
"gettimeofday", /* 78 = gettimeofday */
"settimeofday", /* 79 = settimeofday */
"getgroups", /* 80 = getgroups */
"setgroups", /* 81 = setgroups */
1995-10-07 09:41:34 +03:00
"oldselect", /* 82 = oldselect */
"symlink", /* 83 = symlink */
"olstat", /* 84 = olstat */
"readlink", /* 85 = readlink */
"uselib", /* 86 = uselib */
1995-03-01 02:24:35 +03:00
"swapon", /* 87 = swapon */
"reboot", /* 88 = reboot */
1995-10-07 09:41:34 +03:00
"readdir", /* 89 = readdir */
"mmap", /* 90 = mmap */
1995-03-01 02:24:35 +03:00
"munmap", /* 91 = munmap */
1995-10-07 09:41:34 +03:00
"truncate", /* 92 = truncate */
"ftruncate", /* 93 = ftruncate */
1995-03-01 02:24:35 +03:00
"fchmod", /* 94 = fchmod */
1995-10-07 09:41:34 +03:00
"fchown", /* 95 = fchown */
1995-03-01 02:24:35 +03:00
"getpriority", /* 96 = getpriority */
"setpriority", /* 97 = setpriority */
"profil", /* 98 = profil */
1995-10-07 09:41:34 +03:00
"statfs", /* 99 = statfs */
"fstatfs", /* 100 = fstatfs */
1995-08-28 00:53:31 +04:00
#ifdef __i386__
1995-10-07 09:41:34 +03:00
"ioperm", /* 101 = ioperm */
1995-08-28 00:53:31 +04:00
#else
1995-10-07 09:41:34 +03:00
"#101 (unimplemented ioperm)", /* 101 = unimplemented ioperm */
1995-08-28 00:53:31 +04:00
#endif
1995-10-07 09:41:34 +03:00
"socketcall", /* 102 = socketcall */
"#103 (unimplemented klog)", /* 103 = unimplemented klog */
1995-03-01 02:24:35 +03:00
"setitimer", /* 104 = setitimer */
"getitimer", /* 105 = getitimer */
1995-10-07 09:41:34 +03:00
"stat", /* 106 = stat */
"lstat", /* 107 = lstat */
"fstat", /* 108 = fstat */
"olduname", /* 109 = olduname */
1995-08-28 00:53:31 +04:00
#ifdef __i386__
1995-10-07 09:41:34 +03:00
"iopl", /* 110 = iopl */
1995-08-28 00:53:31 +04:00
#else
1995-10-07 09:41:34 +03:00
"#110 (unimplemented iopl)", /* 110 = unimplemented iopl */
1995-08-28 00:53:31 +04:00
#endif
1995-10-07 09:41:34 +03:00
"#111 (unimplemented vhangup)", /* 111 = unimplemented vhangup */
"#112 (unimplemented idle)", /* 112 = unimplemented idle */
"#113 (unimplemented vm86)", /* 113 = unimplemented vm86 */
"wait4", /* 114 = wait4 */
"#115 (unimplemented swapoff)", /* 115 = unimplemented swapoff */
"#116 (unimplemented sysinfo)", /* 116 = unimplemented sysinfo */
"ipc", /* 117 = ipc */
1995-03-01 02:24:35 +03:00
"fsync", /* 118 = fsync */
1995-10-07 09:41:34 +03:00
"sigreturn", /* 119 = sigreturn */
"#120 (unimplemented clone)", /* 120 = unimplemented clone */
"setdomainname", /* 121 = setdomainname */
"uname", /* 122 = uname */
1995-05-06 22:16:35 +04:00
#ifdef __i386__
1995-10-07 09:41:34 +03:00
"modify_ldt", /* 123 = modify_ldt */
1995-05-06 22:16:35 +04:00
#else
1995-10-07 09:41:34 +03:00
"#123 (unimplemented modify_ldt)", /* 123 = unimplemented modify_ldt */
1995-05-06 22:16:35 +04:00
#endif
1995-10-07 09:41:34 +03:00
"#124 (unimplemented adjtimex)", /* 124 = unimplemented adjtimex */
1995-03-01 02:24:35 +03:00
"mprotect", /* 125 = mprotect */
1995-10-07 09:41:34 +03:00
"sigprocmask", /* 126 = sigprocmask */
"#127 (unimplemented create_module)", /* 127 = unimplemented create_module */
"#128 (unimplemented init_module)", /* 128 = unimplemented init_module */
"#129 (unimplemented delete_module)", /* 129 = unimplemented delete_module */
"#130 (unimplemented get_kernel_syms)", /* 130 = unimplemented get_kernel_syms */
"#131 (unimplemented quotactl)", /* 131 = unimplemented quotactl */
"getpgid", /* 132 = getpgid */
1995-03-01 02:24:35 +03:00
"fchdir", /* 133 = fchdir */
1995-10-07 09:41:34 +03:00
"#134 (unimplemented bdflush)", /* 134 = unimplemented bdflush */
"#135 (unimplemented sysfs)", /* 135 = unimplemented sysfs */
"personality", /* 136 = personality */
"#137 (unimplemented afs_syscall)", /* 137 = unimplemented afs_syscall */
"#138 (unimplemented setfsuid)", /* 138 = unimplemented setfsuid */
"#139 (unimplemented getfsuid)", /* 139 = unimplemented getfsuid */
"llseek", /* 140 = llseek */
"getdents", /* 141 = getdents */
"select", /* 142 = select */
1995-08-24 00:19:15 +04:00
"flock", /* 143 = flock */
1995-12-18 17:35:43 +03:00
"msync", /* 144 = msync */
"readv", /* 145 = readv */
"writev", /* 146 = writev */
1995-03-01 02:24:35 +03:00
};