xref: /titanic_44/usr/src/cmd/sgs/crle/common/crle.msg (revision 4a634bb80136cc001d14ab96addd9915105e5223)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27
28
29@ _START_
30
31# Message file for cmd/sgs/crle.
32
33@ MSG_ID_CRLE
34
35
36# Argument usage messages.
37
38@ MSG_ARG_USAGE		"usage: %s [-64] [-a name] [-A name] [-c conf] \
39			 [-e env] [-E env] [-f flags] [-g name] [-G name ] \
40			 [-i name] [-I name] [-l dir] [-o dir ] [-s dir] \
41			 [-t ELF|AOUT] [-u] [-v]\n\
42			 \t[-64]\t\tprocess 64-bit objects\n\
43			 \t[-a name]\tdefine an alternative object name\n\
44			 \t[-A name]\tdefine an optional alternative object \
45			  name\n\
46			 \t[-c conf]\tspecify configuration file\n\
47			 \t[-e env]\tdefine a replaceable environment \
48			  variable\n\
49			 \t[-E env]\tdefine a permanent environment variable\n\
50			 \t[-f flags]\tspecify flags for -G and -I\n\
51			 \t[-g name]\tdefine a group object name\n\
52			 \t[-G name]\tdefine a group object name and create \
53			  alternatives\n\
54			 \t[-i name]\tdefine an individual object name\n\
55			 \t[-I name]\tdefine an individual object name and \
56			  create an\n\
57			 \t\t\talternative\n\
58			 \t[-l dir]\tdefine a default search directory\n\
59			 \t[-o dir]\tuse directory for alternative objects\n\
60			 \t[-s dir]\tdefine a  trusted search directory\n\
61			 \t[-t ELF|AOUT]\ttoggle object type for -l and -s\n\
62			 \t[-u]\t\tupdate existing configuration file\n\
63			 \t[-v]\t\tprovide verbose processing information\n\
64			 \n\
65			 \tNote: without the -u option, the information \
66			  defined by the options\n\
67			 \tto crle() result in the replacement of any existing \
68			  configuration\n\
69			 \tfile, or default search paths.  With the -u option, \
70			  the information\n\
71			 \tdefined by the options to crle() is appended to any \
72			  existing\n\
73			 \tconfiguration file, or default search paths.\n\
74			 \n\
75			 \tSet the environment variable LD_NOCONFIG=yes to \
76			  disable the processing\n\
77			 \tof any configuration file information.  \
78			  See ld.so.1(1).\n"
79
80
81@ MSG_ARG_ILLEGAL	"%s: option %s has illegal argument `%s'\n"
82@ MSG_ARG_MULT		"%s: argument %s specified multiple times\n"
83@ MSG_ARG_TYPE		"%s: unknown object type: %s\n"
84@ MSG_ARG_FLAGS		"%s: unknown flags: %s\n"
85@ MSG_ARG_MODE		"%s: RTLD_REL_EXEC cannot be used with multiple \
86			 dynamic executables: %s: %s\n"
87@ MSG_ARG_ALT		"%s: %s: cannot override original file with \
88			 alternative; specify -o\n"
89@ MSG_ARG_UPDATE	"%s: %s: version [%d] of configuration file provides \
90			 limited update (-u) and command-line regeneration \
91			 capabilities: best effort in effect\n"
92@ MSG_ARG_UPDATEVER	"%s: %s: file version [%d] newer than crle() version \
93			[%d].  Unable to update\n"
94@ MSG_ARG_PRINTVER	"%s: %s: file version [%d] newer than crle() version \
95			[%d]. Displayed information may be incomplete\n"
96@ MSG_ARG_CLASS		"%s: %s: 32-bit file is incompatible with -64 \
97			 option\n"
98@ MSG_ARG_WRONGARCH	"%s: %s: %s %s file is incompatible with \
99			%s %s version of crle()\n"
100
101@ MSG_WARN_ENV		"%s: warning: %.*s: environment variable \
102			 multiply-defined, first definition taken\n"
103
104# ISA errors
105@ MSG_ISA32_NO64SUP	"%s: This system lacks support for 64-bit \
106			configuration files\n"
107
108# System error messages
109
110@ MSG_SYS_MALLOC	"%s: malloc failed: %s\n"
111@ MSG_SYS_TEMPNAME	"%s: unable to create temporary filename: %s\n"
112@ MSG_SYS_PIPE		"%s: pipe failed: %s\n"
113@ MSG_SYS_FORK		"%s: fork failed: %s\n"
114@ MSG_SYS_PUTENV	"%s: putenv failed: %s\n"
115
116@ MSG_COR_TRUNC		"%s: %s: corrupt file, possible truncation\n"
117
118@ MSG_SYS_ACCESS	"%s: %s: access failed: %s\n"
119@ MSG_SYS_OPEN		"%s: %s: open failed: %s\n"
120@ MSG_SYS_MMAP		"%s: %s: mmap failed: %s\n"
121@ MSG_SYS_TRUNC		"%s: %s: ftruncate failed: %s\n"
122@ MSG_SYS_STAT		"%s: %s: stat failed: %s\n"
123@ MSG_SYS_WRITE		"%s: %s: write failed: %s\n"
124
125@ MSG_SYS_EXEC		"%s: %s: exec failed: due to signal %d %s\n"
126@ MSG_SYS_EXECLP	"%s: %s: exec failed: %s\n"
127@ MSG_SYS_CORE		"(core dumped)"
128
129
130# Elf error messages
131
132@ MSG_ELF_TYPE		"%s: %s: invalid ELF file\n"
133@ MSG_ELF_BEGIN		"%s: %s: elf_begin: %s\n"
134
135
136# Generic error messages
137
138@ MSG_GEN_INVFILE	"%s: %s: invalid file type\n"
139@ MSG_GEN_CREATE	"%s: configuration file: %s: not created\n"
140
141
142# System defaults
143
144@ MSG_DEF_NOCONF	"\nDefault configuration file (%s) not found\n"
145
146@ MSG_DEF_NEWDLP	"  Default Library Path (ELF):\t/lib:/usr/lib  \
147			 (system default)\n"
148@ MSG_DEF_OLDDLP	"  Default Library Path (ELF):\t/usr/lib  \
149			 (system default)\n"
150@ MSG_DEF_NEWTD		"  Trusted Directories (ELF):\t\
151			 /lib/secure:/usr/lib/secure  (system default)\n"
152@ MSG_DEF_OLDTD		"  Trusted Directories (ELF):\t/usr/lib/secure  \
153			 (system default)\n"
154@ MSG_DEF_NEWDLP_64	"  Default Library Path (ELF):\t/lib/64:/usr/lib/64  \
155			 (system default)\n"
156@ MSG_DEF_OLDDLP_64	"  Default Library Path (ELF):\t/usr/lib/64  \
157			 (system default)\n"
158@ MSG_DEF_NEWTD_64	"  Trusted Directories (ELF):\t\
159			 /lib/secure/64:/usr/lib/secure/64  (system default)\n"
160@ MSG_DEF_OLDTD_64	"  Trusted Directories (ELF):\t\
161			 /usr/lib/secure/64  (system default)\n"
162
163@ MSG_DEF_AOUTDLP	"  Default Library Path (AOUT):\t\
164			 /usr/4lib:/usr/lib:/usr/local/lib  \
165			 (system default)\n"
166@ MSG_DEF_AOUTTD	"  Trusted Directories (AOUT):\t\
167			 /usr/4lib:/usr/lib:/usr/ucblib:/usr/local/lib  \
168			 (system default)\n"
169
170@ MSG_ENV_TITLE		"\nEnvironment Variables:\n"
171@ MSG_ENV_RPL		"  %s  (replaceable)\n"
172@ MSG_ENV_PRM		"  %s  (permanent)\n"
173
174@ MSG_FLT_TITLE		"\nFilters:\n"
175@ MSG_FLT_FILTER	"  %s  -  %s:\n"
176@ MSG_FLT_FILTEE	"    %s  (filtee)\n"
177
178# Diagnostic strings
179
180@ MSG_DIA_CONFILE	"output configuration file: %s\n"
181@ MSG_DIA_OBJDIR	"output object directory: %s\n"
182@ MSG_DIA_INSPECT	"inspect: %s\n"
183@ MSG_DIA_RPLENV	" adding replaceable environment variable: %s\n"
184@ MSG_DIA_PRMENV	" adding permanent environment variable: %s\n"
185@ MSG_DIA_DLIBPTH	" adding default library path (%s): %s\n"
186@ MSG_DIA_TLIBPTH	" adding trusted library path (%s): %s\n"
187@ MSG_DIA_NOEXIST	" adding directory [id=%d]: %s  (non-existent path)\n"
188@ MSG_DIA_DIR		" adding directory [id=%d]: %s\n",
189@ MSG_DIA_FILE		"  adding file [id=%d]: %s\n"
190@ MSG_DIA_ALTCREATE	"    creating alternate: %s  (for %s)\n"
191@ MSG_DIA_ALTUPDATE	"    updating alternate: %s  (for %s)\n"
192
193# Dump strings
194
195@ MSG_DMP_HEAD		"\nConfiguration file [version %d]: %s  %s\n"
196@ MSG_DMP_PLATFORM	"  Platform:\t%s %s %s\n"
197@ MSG_DMP_APP		"  Specific application: %s  (original: %s)\n"
198@ MSG_DMP_DLIBPTH	"  Default Library Path (%s):\t%s\n"
199@ MSG_DMP_TLIBPTH	"  Trusted Directories (%s):\t%s\n"
200@ MSG_DMP_RESV		"\nMemory Reservation:\t%llx - %llx (%llx bytes)\n"
201@ MSG_DMP_DIR_1		"\nDirectory: %s\n"
202@ MSG_DMP_DIR_2		"\nDirectory: %s\t(non-existent)\n"
203@ MSG_DMP_FILE_1	"  %s\n"
204@ MSG_DMP_FILE_2	"  %s\t(alternate: %s)\n"
205@ MSG_DMP_HASH		"Object Entries:\n   Id\tBkt\tString\n"
206@ MSG_DMP_HASHENT_1	"    %d\t[%d]\t%s\t%s\n"
207@ MSG_DMP_HASHENT_2	"    %d\t\t%s\t%s\n"
208
209@ MSG_DMP_STAT		"\nWARNING: original file %s: stat failed: %s\n\n"
210@ MSG_DMP_DCMP		"\nWARNING: original directory %s: modified since \
211			 configuration file creation\n\n"
212@ MSG_DMP_FCMP		"\nWARNING: original file %s: modified since \
213			 configuration file creation\n\n"
214
215@ MSG_DMP_CMD_TITLE	"\nCommand line:\n"
216@ MSG_DMP_CMD_ONE	"  crle %s\n\n"
217@ MSG_DMP_CMD_BGN	"  crle %s "
218@ MSG_DMP_CMD_MID	"%s "
219@ MSG_DMP_CMD_END	"%s\n\n"
220
221@ MSG_DMP_CMD_ONE_V	"  crle %s\n\n"
222@ MSG_DMP_CMD_BGN_V	"  crle %s \\\n"
223@ MSG_DMP_CMD_MID_V	"    %s \\\n"
224@ MSG_DMP_CMD_END_V	"    %s\n\n"
225
226@ _END_
227
228
229# The following strings represent reserved words, files, pathnames and symbols.
230# Reference to this strings is via the MSG_ORIG() macro, and thus no message
231# translation is required.
232
233@ MSG_ARG_OPTIONS	"6:a:A:c:e:E:f:G:g:I:i:l:o:s:t:uv"
234@ MSG_ARG_6		"-6"
235@ MSG_ARG_C		"-c"
236@ MSG_ARG_F		"-f"
237
238@ MSG_CMD_64		"-64"
239@ MSG_CMD_ALTER		"-a %s"
240@ MSG_CMD_OPTIONAL	"-A %s"
241@ MSG_CMD_CONF		"-c %s"
242@ MSG_CMD_RPLENV	"-e %s"
243@ MSG_CMD_PRMENV	"-E %s"
244@ MSG_CMD_FLAGS		"-f %s"
245@ MSG_CMD_GRP		"-g %s"
246@ MSG_CMD_DUMPGRP	"-G %s"
247@ MSG_CMD_IND		"-i %s"
248@ MSG_CMD_DUMPIND	"-I %s"
249@ MSG_CMD_EDLIB		"-l %s"
250@ MSG_CMD_OUTPUT	"-o %s"
251@ MSG_CMD_ESLIB		"-s %s"
252@ MSG_CMD_ASLIB		"-t AOUT -s %s"
253@ MSG_CMD_ADLIB		"-t AOUT -l %s"
254
255@ MSG_STR_ELF		"ELF"
256@ MSG_STR_AOUT		"AOUT"
257@ MSG_STR_EMPTY		""
258@ MSG_STR_READ		"r"
259@ MSG_STR_NL		"\n"
260@ MSG_STR_COLON		":"
261
262@ MSG_AUD_PRF		"__CRLE_DEP__:"
263@ MSG_AUD_DEPEND	"depend:"
264@ MSG_AUD_FILTER	"filter:"
265@ MSG_AUD_RESBGN	"resbgn:"
266@ MSG_AUD_RESEND	"resend:"
267
268@ MSG_ENV_AUD_FD	"CRLE_FD=%d"
269@ MSG_ENV_AUD_FLAGS	"CRLE_FLAGS=%d"
270
271@ MSG_ENV_LD_AUDIT	"LD_AUDIT=libcrle.so.1"
272@ MSG_ENV_LD_PRELOAD	"LD_PRELOAD=%s"
273@ MSG_ENV_LD_CONFIG	"LD_CONFIG=%s"
274@ MSG_ENV_LD_FLAGS	"LD_FLAGS=confgen,loadfltr"
275
276@ MSG_LDFLG_LOADAVAIL	",loadavail"
277
278@ MSG_PTH_CONFIG	"/var/ld/ld.config"
279@ MSG_PTH_CONFIG_64	"/var/ld/64/ld.config"
280@ MSG_PTH_DOT		"./"
281
282@ MSG_PTH_NEWDLP	"/lib:/usr/lib"
283@ MSG_PTH_OLDDLP	"/usr/lib"
284@ MSG_PTH_UPDLP		"/lib"
285@ MSG_PTH_NEWTD		"/lib/secure:/usr/lib/secure"
286@ MSG_PTH_OLDTD		"/usr/lib/secure"
287@ MSG_PTH_UPTD		"/lib/secure"
288@ MSG_PTH_NEWDLP_64	"/lib/64:/usr/lib/64"
289@ MSG_PTH_OLDDLP_64	"/usr/lib/64"
290@ MSG_PTH_UPDLP_64	"/lib/64"
291@ MSG_PTH_NEWTD_64	"/lib/secure/64:/usr/lib/secure/64"
292@ MSG_PTH_OLDTD_64	"/usr/lib/secure/64"
293@ MSG_PTH_UPTD_64	"/lib/secure/64"
294
295@ MSG_PTH_AOUTDLP	"/usr/4lib:/usr/lib:/usr/local/lib"
296@ MSG_PTH_AOUTTD	"/usr/4lib:/usr/lib:/usr/ucblib:/usr/local/lib"
297
298@ MSG_DIR_ROOT		"/"
299@ MSG_DIR_DOT		"."
300
301@ MSG_TMP_DIR		"/var/tmp"
302@ MSG_TMP_PFX		"crle."
303
304@ MSG_FMT_PATH		"%s/%s"
305@ MSG_FMT_COLON		":%s"
306
307@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
308
309
310@ MSG_MOD_SEPARATE	" \t|"
311@ MSG_MOD_REL_RELATIVE	"RTLD_REL_RELATIVE"
312@ MSG_MOD_REL_EXEC	"RTLD_REL_EXEC"
313@ MSG_MOD_REL_DEPENDS	"RTLD_REL_DEPENDS"
314@ MSG_MOD_REL_PRELOAD	"RTLD_REL_PRELOAD"
315@ MSG_MOD_REL_SELF	"RTLD_REL_SELF"
316@ MSG_MOD_REL_WEAK	"RTLD_REL_WEAK"
317@ MSG_MOD_REL_ALL	"RTLD_REL_ALL"
318@ MSG_MOD_REL_MEMORY	"RTLD_MEMORY"
319@ MSG_MOD_REL_STRIP	"RTLD_STRIP"
320@ MSG_MOD_REL_NOHEAP	"RTLD_NOHEAP"
321@ MSG_MOD_REL_CONFGEN	"RTLD_CONFGEN"
322