xref: /freebsd/sys/kern/syscalls.c (revision 8e6b01171e30297084bb0b4457c4183c2746aacc)
1 /*
2  * System call names.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * created from	Id: syscalls.master,v 1.17 1995/10/07 06:24:08 swallace Exp
6  */
7 
8 char *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 	"wait4",			/* 7 = wait4 */
17 	"old.creat",		/* 8 = old creat */
18 	"link",			/* 9 = link */
19 	"unlink",			/* 10 = unlink */
20 	"obs_execv",			/* 11 = obsolete execv */
21 	"chdir",			/* 12 = chdir */
22 	"fchdir",			/* 13 = fchdir */
23 	"mknod",			/* 14 = mknod */
24 	"chmod",			/* 15 = chmod */
25 	"chown",			/* 16 = chown */
26 	"break",			/* 17 = break */
27 	"getfsstat",			/* 18 = getfsstat */
28 	"old.lseek",		/* 19 = old lseek */
29 	"getpid",			/* 20 = getpid */
30 	"mount",			/* 21 = mount */
31 	"unmount",			/* 22 = unmount */
32 	"setuid",			/* 23 = setuid */
33 	"getuid",			/* 24 = getuid */
34 	"geteuid",			/* 25 = geteuid */
35 	"ptrace",			/* 26 = ptrace */
36 	"recvmsg",			/* 27 = recvmsg */
37 	"sendmsg",			/* 28 = sendmsg */
38 	"recvfrom",			/* 29 = recvfrom */
39 	"accept",			/* 30 = accept */
40 	"getpeername",			/* 31 = getpeername */
41 	"getsockname",			/* 32 = getsockname */
42 	"access",			/* 33 = access */
43 	"chflags",			/* 34 = chflags */
44 	"fchflags",			/* 35 = fchflags */
45 	"sync",			/* 36 = sync */
46 	"kill",			/* 37 = kill */
47 	"old.stat",		/* 38 = old stat */
48 	"getppid",			/* 39 = getppid */
49 	"old.lstat",		/* 40 = old lstat */
50 	"dup",			/* 41 = dup */
51 	"pipe",			/* 42 = pipe */
52 	"getegid",			/* 43 = getegid */
53 	"profil",			/* 44 = profil */
54 #ifdef KTRACE
55 	"ktrace",			/* 45 = ktrace */
56 #else
57 	"#45",			/* 45 = ktrace */
58 #endif
59 	"sigaction",			/* 46 = sigaction */
60 	"getgid",			/* 47 = getgid */
61 	"sigprocmask",			/* 48 = sigprocmask */
62 	"getlogin",			/* 49 = getlogin */
63 	"setlogin",			/* 50 = setlogin */
64 	"acct",			/* 51 = acct */
65 	"sigpending",			/* 52 = sigpending */
66 	"sigaltstack",			/* 53 = sigaltstack */
67 	"ioctl",			/* 54 = ioctl */
68 	"reboot",			/* 55 = reboot */
69 	"revoke",			/* 56 = revoke */
70 	"symlink",			/* 57 = symlink */
71 	"readlink",			/* 58 = readlink */
72 	"execve",			/* 59 = execve */
73 	"umask",			/* 60 = umask */
74 	"chroot",			/* 61 = chroot */
75 	"old.fstat",		/* 62 = old fstat */
76 	"old.getkerninfo",		/* 63 = old getkerninfo */
77 	"old.getpagesize",		/* 64 = old getpagesize */
78 	"msync",			/* 65 = msync */
79 	"vfork",			/* 66 = vfork */
80 	"obs_vread",			/* 67 = obsolete vread */
81 	"obs_vwrite",			/* 68 = obsolete vwrite */
82 	"sbrk",			/* 69 = sbrk */
83 	"sstk",			/* 70 = sstk */
84 	"old.mmap",		/* 71 = old mmap */
85 	"vadvise",			/* 72 = vadvise */
86 	"munmap",			/* 73 = munmap */
87 	"mprotect",			/* 74 = mprotect */
88 	"madvise",			/* 75 = madvise */
89 	"obs_vhangup",			/* 76 = obsolete vhangup */
90 	"obs_vlimit",			/* 77 = obsolete vlimit */
91 	"mincore",			/* 78 = mincore */
92 	"getgroups",			/* 79 = getgroups */
93 	"setgroups",			/* 80 = setgroups */
94 	"getpgrp",			/* 81 = getpgrp */
95 	"setpgid",			/* 82 = setpgid */
96 	"setitimer",			/* 83 = setitimer */
97 	"old.wait",		/* 84 = old wait */
98 	"swapon",			/* 85 = swapon */
99 	"getitimer",			/* 86 = getitimer */
100 	"old.gethostname",		/* 87 = old gethostname */
101 	"old.sethostname",		/* 88 = old sethostname */
102 	"getdtablesize",			/* 89 = getdtablesize */
103 	"dup2",			/* 90 = dup2 */
104 	"#91",			/* 91 = getdopt */
105 	"fcntl",			/* 92 = fcntl */
106 	"select",			/* 93 = select */
107 	"#94",			/* 94 = setdopt */
108 	"fsync",			/* 95 = fsync */
109 	"setpriority",			/* 96 = setpriority */
110 	"socket",			/* 97 = socket */
111 	"connect",			/* 98 = connect */
112 	"old.accept",		/* 99 = old accept */
113 	"getpriority",			/* 100 = getpriority */
114 	"old.send",		/* 101 = old send */
115 	"old.recv",		/* 102 = old recv */
116 	"sigreturn",			/* 103 = sigreturn */
117 	"bind",			/* 104 = bind */
118 	"setsockopt",			/* 105 = setsockopt */
119 	"listen",			/* 106 = listen */
120 	"obs_vtimes",			/* 107 = obsolete vtimes */
121 	"old.sigvec",		/* 108 = old sigvec */
122 	"old.sigblock",		/* 109 = old sigblock */
123 	"old.sigsetmask",		/* 110 = old sigsetmask */
124 	"sigsuspend",			/* 111 = sigsuspend */
125 	"old.sigstack",		/* 112 = old sigstack */
126 	"old.recvmsg",		/* 113 = old recvmsg */
127 	"old.sendmsg",		/* 114 = old sendmsg */
128 	"obs_vtrace",			/* 115 = obsolete vtrace */
129 	"gettimeofday",			/* 116 = gettimeofday */
130 	"getrusage",			/* 117 = getrusage */
131 	"getsockopt",			/* 118 = getsockopt */
132 	"#119",			/* 119 = nosys */
133 	"readv",			/* 120 = readv */
134 	"writev",			/* 121 = writev */
135 	"settimeofday",			/* 122 = settimeofday */
136 	"fchown",			/* 123 = fchown */
137 	"fchmod",			/* 124 = fchmod */
138 	"old.recvfrom",		/* 125 = old recvfrom */
139 	"setreuid",			/* 126 = setreuid */
140 	"setregid",			/* 127 = setregid */
141 	"rename",			/* 128 = rename */
142 	"old.truncate",		/* 129 = old truncate */
143 	"old.ftruncate",		/* 130 = old ftruncate */
144 	"flock",			/* 131 = flock */
145 	"mkfifo",			/* 132 = mkfifo */
146 	"sendto",			/* 133 = sendto */
147 	"shutdown",			/* 134 = shutdown */
148 	"socketpair",			/* 135 = socketpair */
149 	"mkdir",			/* 136 = mkdir */
150 	"rmdir",			/* 137 = rmdir */
151 	"utimes",			/* 138 = utimes */
152 	"obs_4.2",			/* 139 = obsolete 4.2 sigreturn */
153 	"adjtime",			/* 140 = adjtime */
154 	"old.getpeername",		/* 141 = old getpeername */
155 	"old.gethostid",		/* 142 = old gethostid */
156 	"old.sethostid",		/* 143 = old sethostid */
157 	"old.getrlimit",		/* 144 = old getrlimit */
158 	"old.setrlimit",		/* 145 = old setrlimit */
159 	"old.killpg",		/* 146 = old killpg */
160 	"setsid",			/* 147 = setsid */
161 	"quotactl",			/* 148 = quotactl */
162 	"old.quota",		/* 149 = old quota */
163 	"old.getsockname",		/* 150 = old getsockname */
164 	"#151",			/* 151 = nosys */
165 	"#152",			/* 152 = nosys */
166 	"#153",			/* 153 = nosys */
167 	"#154",			/* 154 = nosys */
168 #ifdef NFS
169 	"nfssvc",			/* 155 = nfssvc */
170 #else
171 	"#155",			/* 155 = nosys */
172 #endif
173 	"old.getdirentries",		/* 156 = old getdirentries */
174 	"statfs",			/* 157 = statfs */
175 	"fstatfs",			/* 158 = fstatfs */
176 	"#159",			/* 159 = nosys */
177 	"#160",			/* 160 = nosys */
178 #ifdef NFS
179 	"getfh",			/* 161 = getfh */
180 #else
181 	"#161",			/* 161 = nosys */
182 #endif
183 	"getdomainname",			/* 162 = getdomainname */
184 	"setdomainname",			/* 163 = setdomainname */
185 	"uname",			/* 164 = uname */
186 	"sysarch",			/* 165 = sysarch */
187 	"rtprio",			/* 166 = rtprio */
188 	"#167",			/* 167 = nosys */
189 	"#168",			/* 168 = nosys */
190 #ifdef SYSVSEM
191 	"semsys",			/* 169 = semsys */
192 #else
193 	"#169",			/* 169 = nosys */
194 #endif
195 #ifdef SYSVMSG
196 	"msgsys",			/* 170 = msgsys */
197 #else
198 	"#170",			/* 170 = nosys */
199 #endif
200 #ifdef SYSVSHM
201 	"shmsys",			/* 171 = shmsys */
202 #else
203 	"#171",			/* 171 = nosys */
204 #endif
205 	"#172",			/* 172 = nosys */
206 	"#173",			/* 173 = nosys */
207 	"#174",			/* 174 = nosys */
208 	"#175",			/* 175 = nosys */
209 	"ntp_adjtime",			/* 176 = ntp_adjtime */
210 	"#177",			/* 177 = nosys */
211 	"#178",			/* 178 = nosys */
212 	"#179",			/* 179 = nosys */
213 	"#180",			/* 180 = nosys */
214 	"setgid",			/* 181 = setgid */
215 	"setegid",			/* 182 = setegid */
216 	"seteuid",			/* 183 = seteuid */
217 #ifdef LFS
218 	"lfs_bmapv",			/* 184 = lfs_bmapv */
219 	"lfs_markv",			/* 185 = lfs_markv */
220 	"lfs_segclean",			/* 186 = lfs_segclean */
221 	"lfs_segwait",			/* 187 = lfs_segwait */
222 #else
223 	"#184",			/* 184 = nosys */
224 	"#185",			/* 185 = nosys */
225 	"#186",			/* 186 = nosys */
226 	"#187",			/* 187 = nosys */
227 #endif
228 	"stat",			/* 188 = stat */
229 	"fstat",			/* 189 = fstat */
230 	"lstat",			/* 190 = lstat */
231 	"pathconf",			/* 191 = pathconf */
232 	"fpathconf",			/* 192 = fpathconf */
233 	"#193",			/* 193 = nosys */
234 	"getrlimit",			/* 194 = getrlimit */
235 	"setrlimit",			/* 195 = setrlimit */
236 	"getdirentries",			/* 196 = getdirentries */
237 	"mmap",			/* 197 = mmap */
238 	"__syscall",			/* 198 = __syscall */
239 	"lseek",			/* 199 = lseek */
240 	"truncate",			/* 200 = truncate */
241 	"ftruncate",			/* 201 = ftruncate */
242 	"__sysctl",			/* 202 = __sysctl */
243 	"mlock",			/* 203 = mlock */
244 	"munlock",			/* 204 = munlock */
245 	"#205",			/* 205 = nosys */
246 	"#206",			/* 206 = nosys */
247 	"#207",			/* 207 = nosys */
248 	"#208",			/* 208 = nosys */
249 	"#209",			/* 209 = nosys */
250 	"lkmnosys",			/* 210 = lkmnosys */
251 	"lkmnosys",			/* 211 = lkmnosys */
252 	"lkmnosys",			/* 212 = lkmnosys */
253 	"lkmnosys",			/* 213 = lkmnosys */
254 	"lkmnosys",			/* 214 = lkmnosys */
255 	"lkmnosys",			/* 215 = lkmnosys */
256 	"lkmnosys",			/* 216 = lkmnosys */
257 	"lkmnosys",			/* 217 = lkmnosys */
258 	"lkmnosys",			/* 218 = lkmnosys */
259 	"lkmnosys",			/* 219 = lkmnosys */
260 };
261