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