File: err_mach.sub

package info (click to toggle)
glibc 2.28-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, 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 (130 lines) | stat: -rw-r--r-- 3,870 bytes parent folder | download | duplicates (21)
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
/*
 * Mach Operating System
 * Copyright (c) 1991,1990,1989 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
 * $Log$
 * Revision 1.1  1992/10/06 18:29:52  roland
 * entered into RCS
 *
 * Revision 2.3  92/04/01  19:38:05  rpd
 * 	Added MIG_DESTROY_REQUEST.
 * 	[92/03/09            rpd]
 *
 * Revision 2.2  92/01/16  00:09:05  rpd
 * 	Moved from user collection to mk collection.
 *
 * Revision 2.3  91/08/29  15:51:30  rpd
 * 	Added MIG_SERVER_DIED.
 * 	[91/08/21            rpd]
 *
 * Revision 2.2  91/03/27  16:05:37  mrt
 * 	First checkin
 *
 * Revision 2.2  91/03/18  17:39:03  rpd
 * 	Created.
 * 	[91/03/18            rpd]
 *
 */
/*
 *	File:	err_mach_ipc.sub
 *	Author:	Richard Draves, Carnegie Mellon University
 *	Date:	Jan, 1990
 *
 *	Error string definitions for the new Mach IPC
 */

static char * err_codes_mach_send[] = {
	/* 0 */	"(ipc/send) no error",
	/* 1 */	"(ipc/send) send in progress",
	/* 2 */	"(ipc/send) invalid data",
	/* 3 */	"(ipc/send) invalid destination port",
	/* 4 */	"(ipc/send) timed out",
	/* 5 */	"(ipc/send) will notify",
	/* 6 */	"(ipc/send) notify in progress",
	/* 7 */	"(ipc/send) interrupted",
	/* 8 */	"(ipc/send) msg too small",
	/* 9 */	"(ipc/send) invalid reply port",
       /* 10 */	"(ipc/send) invalid port right",
       /* 11 */	"(ipc/send) invalid notify port",
       /* 12 */	"(ipc/send) invalid memory",
       /* 13 */	"(ipc/send) no msg buffer",
       /* 14 */	"(ipc/send) no notify possible",
       /* 15 */	"(ipc/send) invalid msg-type",
       /* 16 */	"(ipc/send) invalid msg-header",
};

static char * err_codes_mach_rcv[] = {
	/* 0 */	"(ipc/rcv) no error",
	/* 1 */	"(ipc/rcv) receive in progress",
	/* 2 */	"(ipc/rcv) invalid name",
	/* 3 */	"(ipc/rcv) timed out",
	/* 4 */	"(ipc/rcv) msg too large",
	/* 5 */	"(ipc/rcv) interrupted",
	/* 6 */	"(ipc/rcv) port changed",
	/* 7 */	"(ipc/rcv) invalid notify port",
	/* 8 */	"(ipc/rcv) invalid data",
	/* 9 */	"(ipc/rcv) port died",
       /* 10 */	"(ipc/rcv) port in set",
       /* 11 */	"(ipc/rcv) header error",
       /* 12 */	"(ipc/rcv) body error",
};

static char 	* err_codes_mach_mig[] = {
	/* 0 */	"(ipc/mig) client type check failure",
	/* 1 */	"(ipc/mig) wrong reply message ID",
	/* 2 */	"(ipc/mig) server detected error",
	/* 3 */	"(ipc/mig) bad request message ID",
	/* 4 */	"(ipc/mig) server type check failure",
	/* 5 */	"(ipc/mig) no reply should be sent",
	/* 6 */	"(ipc/mig) server raised exception",
	/* 7 */	"(ipc/mig) array not large enough",
	/* 8 */	"(ipc/mig) server died",
	/* 9 */ "(ipc/mig) destroy request with no reply",
};

/*	err_mach_ipc subsystems      	*/
static struct error_subsystem err_mach_ipc_sub[] = {
	/* ipc/0; */
	{
		"(ipc/send)",
		errlib_count(err_codes_mach_send),
		err_codes_mach_send,
	},
	/* ipc/1; */
	{
		"(ipc/rcv)",
		errlib_count(err_codes_mach_rcv),
		err_codes_mach_rcv,

	},
	/* ipc/2 */
	{
		"(ipc/mig)",
		errlib_count(err_codes_mach_mig),
		err_codes_mach_mig,
	},

};