File: err_server.sub

package info (click to toggle)
glibc 2.28-8
  • links: PTS, VCS
  • area: main
  • in suites: buster, experimental, sid
  • size: 271,788 kB
  • sloc: ansic: 1,008,637; asm: 259,607; makefile: 11,271; sh: 10,477; python: 6,910; cpp: 4,992; perl: 2,258; awk: 2,005; yacc: 290; pascal: 182; sed: 73
file content (370 lines) | stat: -rw-r--r-- 10,361 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
/*
 * Mach Operating System
 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
 * All Rights Reserved.
 *
 * Permission to use, copy, modify and distribute this software and its
 * documentation is hereby granted, provided that both the copyright
 * notice and this permission notice appear in all copies of the
 * software, derivative works or modified versions, and any portions
 * thereof, and that both notices appear in supporting documentation.
 *
 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
 * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
 *
 * Carnegie Mellon requests users of this software to return to
 *
 *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
 *  School of Computer Science
 *  Carnegie Mellon University
 *  Pittsburgh PA 15213-3890
 *
 * any improvements or extensions that they make and grant Carnegie the
 * rights to redistribute these changes.
 */
/*
 * HISTORY
 *
 * Revision 2.2  92/01/16  00:10:29  rpd
 * 	Moved from user collection to mk collection.
 *
 * Revision 2.3  91/08/29  15:51:39  rpd
 * 	Fixed err_codes_netname.
 * 	[91/08/22            rpd]
 *
 * Revision 2.2  91/03/27  16:05:51  mrt
 * 	First checkin
 *
 * Revision 2.3  90/10/29  17:27:20  dpj
 * 	Merged-up to U25
 * 	[90/09/02  20:00:25  dpj]
 *
 */
/*
 *	File:	err_server.sub
 *	Author:	Douglas Orr, Carnegie Mellon University
 *	Date:	Mar, 1988
 *
 *	Definitions of Servers error strings
 */

static char * err_codes_netname[] = {			/* 0 */
		"(server/netname) name is not yours",
		"(server/netname) name not checked in",
		"(server/netname) no such host",
		"(server/netname) host not found",
};
static char * err_codes_env_mgr[] = {			/* 1 */
		NO_SUCH_ERROR,
		"(server/env_mgr) variable not found",
		"(server/env_mgr) wrong type of variable",
		"(server/env_mgr) unknown port",
		"(server/env_mgr) read only environment",
		"(server/env_mgr) no more connections available",
		"(server/env_mgr) port table full",
		"(server/env_mgr) attempting to enter a null port ",
};
static char * err_codes_execd[] = {			/* 2 */
		NO_SUCH_ERROR,
		"(server/execd) could not find file to run",
		"(server/execd) userid or password incorrect",
		"(server/execd) fork failed",
};
static char * err_codes_netmemory[] = {			/* 3 */
		"(server/netmemory) successful",
		"(server/netmemory) invalid argument",
		"(server/netmemory) resource shortage",
};
static char * err_codes_ufs[] = {			/* 4 */
		NO_SUCH_ERROR,
/* XXX		"(server/ufs) invalid port", */
};

static char * err_codes_task_master[] = {		/* 5 */
		"(server/task_master) GENERIC ERROR",
		"(server/task_master) invalid tm_task port",
		"(server/task_master) invalid task id",
		"(server/task_master) invalid kernel port",
		"(server/task_master) invalid job group",
		"(server/task_master) invalid action",
};

static char * err_codes_ns[] = {			/* 6 */
		"(server/ns) GENERIC ERROR",
		"(server/ns) invalid handle",
		"(server/ns) name not found",
		"(server/ns) name already exists",
		"(server/ns) name too long",
		"(server/ns) path too long",
		"(server/ns) invalid name",
		"(server/ns) not a directory",
		"(server/ns) is a directory",
		"(server/ns) directory not empty",
		"(server/ns) infinite retry loop in resolver",
		"(server/ns) infinite forwarding loop in resolver",
		"(server/ns) invalid prefix",
		"(server/ns) prefix table overflow",
		"(server/ns) bad format for directory",
		"(server/ns) unknown entry type",
		"(server/ns) invalid generation",
		"(server/ns) entry not reserved",
};

static char 	* err_codes_io[] = {			/* 7 */
		"(server/io) GENERIC ERROR",
		"(server/io) invalid offset",
		"(server/io) invalid size",
		"(server/io) invalid mode",
		"(server/io) invalid strategy",
		"(server/io) operation rejected under current I/O strategy",
};

static char * err_codes_auth[] = {			/* 8 */
		"(server/auth) GENERIC ERROR",
		"(server/auth) bad private port",
		"(server/auth) bad name",
		"(server/auth) not primary",
		"(server/auth) bad pauthsword",
		"(server/auth) bad group",
		"(server/auth) duplicate id",
		"(server/auth) duplicate name",
		"(server/auth) not secondary",
};

static char * err_codes_us[] = {			/* 9 */
		"(server/us) GENERIC ERROR",
		"(server/us) unknown error",
		"(server/us) object not found",
		"(server/us) object exists",
		"(server/us) object busy",
		"(server/us) object not started",
		"(server/us) object dead",
		"(server/us) invalid args",
		"(server/us) invalid access",
		"(server/us) invalid format",
		"(server/us) invalid buffer size",
		"(server/us) access denied",
		"(server/us) resource exhausted",
		"(server/us) quota exceeded",
		"(server/us) limit exceeded",
		"(server/us) not implemented",
		"(server/us) not supported",
		"(server/us) hardware error",
		"(server/us) retry required",
		"(server/us) not authenticated",
		"(server/us) exclusive access",
		"(server/us) timeout",
		"(server/us) bad reference count",
		"(server/us) internal error",
};

static char * err_codes_sunrpc[] = {			/* 10 */
		"(server/sunrpc) GENERIC ERROR",
		"(server/sunrpc) cannot encode arguments",
		"(server/sunrpc) cannot decode results",
		"(server/sunrpc) failure in sending call",
		"(server/sunrpc) failure in receiving result",
		"(server/sunrpc) call timed out",
		"(server/sunrpc) rpc versions not compatible",
		"(server/sunrpc) authentication error",
		"(server/sunrpc) program not available",
		"(server/sunrpc) program version mismatched",
		"(server/sunrpc) procedure unavailable",
		"(server/sunrpc) decode arguments error",
		"(server/sunrpc) generic other problem",
		"(server/sunrpc) unknown host name",
		"(server/sunrpc) portmapper failed",
		"(server/sunrpc) remote program not registered",
		"(server/sunrpc) unspecified error",
		"(server/sunrpc) unknown protocol",
};

static char	* err_codes_machobj[] = {		/* 11 */
		"(server/object system) GENERIC ERROR",
		"(server/object system) object not found",
		"(server/object system) no such operation",
		"(server/object system) undefined ipc method arguments",
		"(server/object system) too many arguments to method",
		"(server/object system) bad ipc message format",
};

static char 	* err_codes_loader[] = {		/* 12 */
		"(server/loader) GENERIC ERROR",
		"(server/loader) object file not relocated",
		"(server/loader) unknown file type",
		"(server/loader) symbol not found",
		"(server/loader) symbol multiply defined",
		"(server/loader) memory region overlap",
};


static char	* err_codes_exception[] = {		/* 13 */
	"(server/exception) GENERIC ERROR",
	"(server/exception) invalid access",
	"(server/exception) invalid instruction",
	"(server/exception) arithmetic exception",
	"(server/exception) emulation exception",
	"(server/exception) software exception",
	"(server/exception) breakpoint exception",
};

static char	* err_codes_ux_signal[] = {		/* 14 */
	"(server/unix-signal) GENERIC ERROR",
	"(server/unix-signal) hangup",
	"(server/unix-signal) interrupt",
	"(server/unix-signal) quit",
	"(server/unix-signal) undefined",
	"(server/unix-signal) undefined",
	"(server/unix-signal) undefined",
	"(server/unix-signal) undefined",
	"(server/unix-signal) kill",
	"(server/unix-signal) undefined",
	"(server/unix-signal) undefined",
	"(server/unix-signal) system error",
	"(server/unix-signal) pipe signal",
	"(server/unix-signal) alarm",
	"(server/unix-signal) terminate",
	"(server/unix-signal) urgent i/o",
	"(server/unix-signal) stop",
	"(server/unix-signal) terminal stop",
	"(server/unix-signal) continue",
	"(server/unix-signal) child death",
	"(server/unix-signal) tty input",
	"(server/unix-signal) tty output",
	"(server/unix-signal) i/o signal",
	"(server/unix-signal) cpu time limit exceeded",
	"(server/unix-signal) file size exceeded",
	"(server/unix-signal) virtual alarm",
	"(server/unix-signal) profile signal",
	"(server/unix-signal) window size change",
	"(server/unix-signal) user-defined signal 1",
	"(server/unix-signal) user-defined signal 2",
};

static char	* err_codes_xkernel[] = {		/* 15 */
	"(server/xkernel) GENERIC ERROR",
	"(server/xkernel) map full",
	"(server/xkernel) inconsistent bind",
	"(server/xkernel) cannot resolve",
	"(server/xkernel) cannot unbind",
	"(server/xkernel) invalid type",
	"(server/xkernel) invalid opcode",
	"(server/xkernel) buffer too small",
	"(server/xkernel) invalid ev code",
	"(server/xkernel) event not registered",
	"(server/xkernel) invalid open",
	"(server/xkernel) already open",
	"(server/xkernel) bad addr",
};


/*	err_server subsystems      	*/
static struct error_subsystem err_server_sub[] = {
	/* server/0; */
	{
		"(server/netname)",
		errlib_count(err_codes_netname),
		err_codes_netname,
	},
	/* server/1; */
	{
		"(server/env_mgr)",
		errlib_count(err_codes_env_mgr),
		err_codes_env_mgr,
	},
	/* server/2; */
	{
		"(server/execd)",
		errlib_count(err_codes_execd),
		err_codes_execd,
	},
	/* server/3; */
	{
		"(server/netmemory)",
		errlib_count(err_codes_netmemory),
		err_codes_netmemory,
	},
	/* server/4; */
	{
		"(server/ufs)",
		errlib_count(err_codes_ufs),
		err_codes_ufs,
	},
	/* server/5; */
	{
		"(server/task_master)",
		errlib_count(err_codes_task_master),
		err_codes_task_master,
	},
	/* server/6; */
	{
		"(server/ns)",
		errlib_count(err_codes_ns),
		err_codes_ns,
	},

	/* server/7; i/o subsystem */
	{
		"(server/io)",
		errlib_count(err_codes_io),
		err_codes_io,
	},

	/* server/8; authentication server */
	{
		"(server/auth)",
		errlib_count(err_codes_auth),
		err_codes_auth,
	},

	/* server/9; generic US system */
	{
		"(server/us)",
		errlib_count(err_codes_us),
		err_codes_us,
	},

	/* server/10; SUN RPC package */
	{
		"(server/sunrpc)",
		errlib_count(err_codes_sunrpc),
		err_codes_sunrpc,
	},

	/* server/11; MachObject system */
	{
		"(server/object system)",
		errlib_count(err_codes_machobj),
		err_codes_machobj,
	},

	/* server/12; loader */
	{
		"(server/loader)",
		errlib_count(err_codes_loader),
		err_codes_loader,
	},

	/* server/13; mach exception */
	{
		"(server/exception)",
		errlib_count(err_codes_exception),
		err_codes_exception,
	},

	/* server/14; unix signal */
	{
		"(server/unix-signal)",
		errlib_count(err_codes_ux_signal),
		err_codes_ux_signal,
	},

	/* server/15; xkernel */
	{
		"(server/xkernel)",
		errlib_count(err_codes_xkernel),
		err_codes_xkernel,
	},

};