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