Merge commit 'b1e7e97d3b60469b243b3b2e22c7d8cbd11c7c90'
[unleashed.git] / usr / src / cmd / listen / lsdata.c
blob15c631540ff71ac68b9466d2b49c66519b6f3675
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
23 /* All Rights Reserved */
26 #ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.9.1.1 */
29 * network listener process global initialized data
32 #include <fcntl.h>
34 #define GLOBAL_DATA
36 #include "lserror.h"
38 errlist err_list[] = {
40 /* error message exit code */
42 {(char *)0, 0},
43 {"command line error", 1}, /* E_CMDLINE */
44 {"cannot change directory to home", 2}, /* E_CDHOME */
45 {"cannot create a required file", 3}, /* E_CREAT */
46 {"cannot access or execute a file", 4},
47 {"cannot open a required file", 5},
48 {"cannot initialize properly (listener can't fork itself)",6},
49 {"cannot initialize properly (pidfile write)", 7},
51 {"cannot open channel to network (FD1)", 11},
52 {"cannot open channel to network (FD2)", 12},
53 {"cannot open channel to network (FD3)", 13},
54 {"uname system call error", 14},
55 {"caught SIGTERM (exiting)", 15},
57 {"data base and/or cmd line inconsistency", 99},
59 {"TLI t_alloc failed", 101},
60 {"TLI t_bind failed", 102},
61 {"TLI bound a different name than requested", 103},
62 {"TLI t_free failed", 104},
63 {"System call failed while in a TLI routine", 105},
64 {"TLI t_listen failed", 106},
65 {"TLI t_accept failed", 107},
66 {"TLI t_snddis failed", 108},
67 {"TLI t_rcv failed", 109},
68 {"TLI t_snd failed", 110},
70 {"Transport provider bug - too many outstanding connections", 201},
72 {"Login service request; no intermediary process", 51},
73 {"Error during fork() to start a service", 52},
74 {"Error trying to rcv message to start a service", 53},
75 {"Timed out trying to rcv message to start a service", 54},
77 {"An error occurred during network initialization", 61},
79 {"An I/O error occurred while reading the listener data base", 71},
81 {"ATT service: unknown version", 81},
82 {"ATT service: bad message format", 82},
84 {"System error", 91},
85 {"Cannot allocate enough memory for data base", 92},
86 {"System error: poll failed", 93},
87 {"cannot allocate enough memory", 36},
88 {"TLI t_rcvdis failed", 111},
89 {"TLI t_look failed", 38},
90 {"Database file has been corrupted", 39},
91 {"Database file is not at the current version", 40},
92 {"Incoming call on FD without private address", 41},