1 #ifndef	_MSG_DOT_H
2 #define	_MSG_DOT_H
3 
4 #include <sgsmsg.h>	/* Msg typedef */
5 
6 #ifndef	__lint
7 
8 #define	MSG_SGS_LOCAL_ARRAY	__sgs_msg
9 
10 extern	const char	__sgs_msg[];
11 
12 #define	MSG_ORIG_STRTAB(_x, _s)	&_s[_x]
13 
14 #define	MSG_ORIG(x)	MSG_ORIG_STRTAB(x, __sgs_msg)
15 
16 extern	const char *	_sgs_msg(Msg);
17 
18 #define	MSG_INTL(x)	_sgs_msg(x)
19 
20 
21 #define	MSG_DB_NOLDDATA	1
22 #define	MSG_DB_NOLDDATA_SIZE	74
23 
24 #define	MSG_DB_FLDDATA	76
25 #define	MSG_DB_FLDDATA_SIZE	56
26 
27 #define	MSG_DB_SYMRDEBUG	133
28 #define	MSG_DB_SYMRDEBUG_SIZE	50
29 
30 #define	MSG_DB_LOOKFAIL	184
31 #define	MSG_DB_LOOKFAIL_SIZE	32
32 
33 #define	MSG_DB_NOAUXV	217
34 #define	MSG_DB_NOAUXV_SIZE	38
35 
36 #define	MSG_DB_DMLOOKFAIL	256
37 #define	MSG_DB_DMLOOKFAIL_SIZE	40
38 
39 #define	MSG_DB_NODYNAMIC	297
40 #define	MSG_DB_NODYNAMIC_SIZE	44
41 
42 #define	MSG_DB_INITFAILED	342
43 #define	MSG_DB_INITFAILED_SIZE	52
44 
45 #define	MSG_DB_RESETFAIL	395
46 #define	MSG_DB_RESETFAIL_SIZE	28
47 
48 #define	MSG_DB_LKMAPFAIL	424
49 #define	MSG_DB_LKMAPFAIL_SIZE	40
50 
51 #define	MSG_DB_CALLBACKR0	465
52 #define	MSG_DB_CALLBACKR0_SIZE	75
53 
54 #define	MSG_DB_ITERMAP	541
55 #define	MSG_DB_ITERMAP_SIZE	91
56 
57 #define	MSG_DB_READDBGFAIL_1	633
58 #define	MSG_DB_READDBGFAIL_1_SIZE	49
59 
60 #define	MSG_DB_READDBGFAIL_2	683
61 #define	MSG_DB_READDBGFAIL_2_SIZE	43
62 
63 #define	MSG_DB_READDBGFAIL_3	727
64 #define	MSG_DB_READDBGFAIL_3_SIZE	49
65 
66 #define	MSG_DB_READDBGFAIL_4	777
67 #define	MSG_DB_READDBGFAIL_4_SIZE	47
68 
69 #define	MSG_DB_READDBGFAIL_5	825
70 #define	MSG_DB_READDBGFAIL_5_SIZE	58
71 
72 #define	MSG_DB_READDBGFAIL_6	884
73 #define	MSG_DB_READDBGFAIL_6_SIZE	44
74 
75 #define	MSG_DB_READPRIVFAIL_1	929
76 #define	MSG_DB_READPRIVFAIL_1_SIZE	46
77 
78 #define	MSG_DB_BADPVERS	976
79 #define	MSG_DB_BADPVERS_SIZE	56
80 
81 #define	MSG_DB_VALIDRDEBUG	1033
82 #define	MSG_DB_VALIDRDEBUG_SIZE	111
83 
84 #define	MSG_DB_LKMAPNOINIT	1145
85 #define	MSG_DB_LKMAPNOINIT_SIZE	69
86 
87 #define	MSG_DB_LKMAPNOINIT_1	1215
88 #define	MSG_DB_LKMAPNOINIT_1_SIZE	67
89 
90 #define	MSG_DB_NULLITER	1283
91 #define	MSG_DB_NULLITER_SIZE	39
92 
93 #define	MSG_DB_UNEXPEVENT	1323
94 #define	MSG_DB_UNEXPEVENT_SIZE	38
95 
96 #define	MSG_DB_READFAIL_1	1362
97 #define	MSG_DB_READFAIL_1_SIZE	34
98 
99 #define	MSG_DB_READFAIL_2	1397
100 #define	MSG_DB_READFAIL_2_SIZE	35
101 
102 #define	MSG_DB_READFAIL_3	1433
103 #define	MSG_DB_READFAIL_3_SIZE	35
104 
105 #define	MSG_DB_READFAIL_4	1469
106 #define	MSG_DB_READFAIL_4_SIZE	35
107 
108 #define	MSG_DB_READFAIL_5	1505
109 #define	MSG_DB_READFAIL_5_SIZE	34
110 
111 #define	MSG_DB_READFAIL_6	1540
112 #define	MSG_DB_READFAIL_6_SIZE	34
113 
114 #define	MSG_DB_WRITEFAIL_1	1575
115 #define	MSG_DB_WRITEFAIL_1_SIZE	36
116 
117 #define	MSG_DB_WRITEFAIL_2	1612
118 #define	MSG_DB_WRITEFAIL_2_SIZE	36
119 
120 #define	MSG_DB_UNFNDSYM	1649
121 #define	MSG_DB_UNFNDSYM_SIZE	37
122 
123 #define	MSG_DB_NODYNDEBUG	1687
124 #define	MSG_DB_NODYNDEBUG_SIZE	39
125 
126 #define	MSG_DB_FINDDYNAMIC	1727
127 #define	MSG_DB_FINDDYNAMIC_SIZE	60
128 
129 #define	MSG_DB_HELPER_PREFIX	1788
130 #define	MSG_DB_HELPER_PREFIX_SIZE	14
131 
132 #define	MSG_DB_LOGENABLE	1803
133 #define	MSG_DB_LOGENABLE_SIZE	25
134 
135 #define	MSG_DB_RDINIT	1829
136 #define	MSG_DB_RDINIT_SIZE	20
137 
138 #define	MSG_DB_RDNEW	1850
139 #define	MSG_DB_RDNEW_SIZE	21
140 
141 #define	MSG_DB_RDDELETE	1872
142 #define	MSG_DB_RDDELETE_SIZE	24
143 
144 #define	MSG_DB_LOADOBJITER	1897
145 #define	MSG_DB_LOADOBJITER_SIZE	54
146 
147 #define	MSG_DB_RDEVENTADDR	1952
148 #define	MSG_DB_RDEVENTADDR_SIZE	45
149 
150 #define	MSG_DB_RDRESET	1998
151 #define	MSG_DB_RDRESET_SIZE	28
152 
153 #define	MSG_DB_RDEVENTENABLE	2027
154 #define	MSG_DB_RDEVENTENABLE_SIZE	45
155 
156 #define	MSG_DB_RDEVENTGETMSG	2073
157 #define	MSG_DB_RDEVENTGETMSG_SIZE	54
158 
159 #define	MSG_DB_RDOBJPADE	2128
160 #define	MSG_DB_RDOBJPADE_SIZE	41
161 
162 #define	MSG_DB_64BIT_PREFIX	2170
163 #define	MSG_DB_64BIT_PREFIX_SIZE	3
164 
165 #define	MSG_DB_BRAND_HELPERPATH_PREFIX	2174
166 #define	MSG_DB_BRAND_HELPERPATH_PREFIX_SIZE	29
167 
168 #define	MSG_DB_BRAND_HELPERPATH	2177
169 #define	MSG_DB_BRAND_HELPERPATH_SIZE	26
170 
171 #define	MSG_DB_HELPERNOOPS	2204
172 #define	MSG_DB_HELPERNOOPS_SIZE	45
173 
174 #define	MSG_DB_HELPERLOADED	2250
175 #define	MSG_DB_HELPERLOADED_SIZE	45
176 
177 #define	MSG_DB_HELPERLOADFAILED	2296
178 #define	MSG_DB_HELPERLOADFAILED_SIZE	46
179 
180 #define	MSG_DB_HELPERINITFAILED	2343
181 #define	MSG_DB_HELPERINITFAILED_SIZE	51
182 
183 #define	MSG_ER_OK	2395
184 #define	MSG_ER_OK_SIZE	8
185 
186 #define	MSG_ER_ERR	2404
187 #define	MSG_ER_ERR_SIZE	24
188 
189 #define	MSG_ER_DBERR	2429
190 #define	MSG_ER_DBERR_SIZE	23
191 
192 #define	MSG_ER_NOCAPAB	2453
193 #define	MSG_ER_NOCAPAB_SIZE	24
194 
195 #define	MSG_ER_NODYNAM	2478
196 #define	MSG_ER_NODYNAM_SIZE	24
197 
198 #define	MSG_ER_NOBASE	2503
199 #define	MSG_ER_NOBASE_SIZE	32
200 
201 #define	MSG_ER_NOMAPS	2536
202 #define	MSG_ER_NOMAPS_SIZE	29
203 
204 #define	MSG_ER_DEFAULT	2566
205 #define	MSG_ER_DEFAULT_SIZE	29
206 
207 #define	MSG_SYM_DEBUG	2596
208 #define	MSG_SYM_DEBUG_SIZE	7
209 
210 #define	MSG_SYM_PREINIT	2604
211 #define	MSG_SYM_PREINIT_SIZE	15
212 
213 #define	MSG_SYM_POSTINIT	2620
214 #define	MSG_SYM_POSTINIT_SIZE	16
215 
216 #define	MSG_SYM_DLACT	2637
217 #define	MSG_SYM_DLACT_SIZE	18
218 
219 #define	MSG_SYM_RTBIND	2656
220 #define	MSG_SYM_RTBIND_SIZE	10
221 
222 #define	MSG_SYM_DYNAMIC	2667
223 #define	MSG_SYM_DYNAMIC_SIZE	8
224 
225 #define	MSG_SYM_BRANDOPS_32	2676
226 #define	MSG_SYM_BRANDOPS_32_SIZE	19
227 
228 #define	MSG_SYM_BRANDOPS_64	2696
229 #define	MSG_SYM_BRANDOPS_64_SIZE	19
230 
231 #define	MSG_DB_READFAIL_X86_1	2716
232 #define	MSG_DB_READFAIL_X86_1_SIZE	36
233 
234 #define	MSG_DB_NODYN_X86	2753
235 #define	MSG_DB_NODYN_X86_SIZE	34
236 
237 #define	MSG_DB_NOGOT_X86	2788
238 #define	MSG_DB_NOGOT_X86_SIZE	40
239 
240 #else	/* __lint */
241 
242 extern	const char *	_sgs_msg(Msg);
243 
244 #ifndef MSG_SGS_LOCAL_ARRAY
245 #define	MSG_SGS_LOCAL_ARRAY	""
246 #endif
247 
248 extern	const char	__sgs_msg[];
249 
250 #define MSG_ORIG_STRTAB(_x, _s)	_x
251 #define MSG_ORIG(x)	x
252 #define MSG_INTL(x)	x
253 
254 #ifndef LINTSUP_SUPPRESS_STRINGS
255 
256 #define	MSG_DB_NOLDDATA	"rtld_db: rr: no LDDATA found in aux vector - falling back to symbol lookup"
257 #define	MSG_DB_NOLDDATA_SIZE	74
258 
259 #define	MSG_DB_FLDDATA	"rtld_db: rl: found LDDATA auxv ld.so.1 data seg at: 0x%p"
260 #define	MSG_DB_FLDDATA_SIZE	56
261 
262 #define	MSG_DB_SYMRDEBUG	"rtld_db: rr: found ld.so.1::rdebug address: 0x%llx"
263 #define	MSG_DB_SYMRDEBUG_SIZE	50
264 
265 #define	MSG_DB_LOOKFAIL	"rtld_db: rr: lookup of %s failed"
266 #define	MSG_DB_LOOKFAIL_SIZE	32
267 
268 #define	MSG_DB_NOAUXV	"rtld_db: rr: call to ps_pauxv() failed"
269 #define	MSG_DB_NOAUXV_SIZE	38
270 
271 #define	MSG_DB_DMLOOKFAIL	"rtld_db: rr: lookup of data model failed"
272 #define	MSG_DB_DMLOOKFAIL_SIZE	40
273 
274 #define	MSG_DB_NODYNAMIC	"rtld_db: rr: unable to find _DYNAMIC in exec"
275 #define	MSG_DB_NODYNAMIC_SIZE	44
276 
277 #define	MSG_DB_INITFAILED	"rtld_db: rr: can't find r_debug, rtld_db init failed"
278 #define	MSG_DB_INITFAILED_SIZE	52
279 
280 #define	MSG_DB_RESETFAIL	"rtld_db: rn: rd_reset failed"
281 #define	MSG_DB_RESETFAIL_SIZE	28
282 
283 #define	MSG_DB_LKMAPFAIL	"rtld_db: im: failed in reading link_maps"
284 #define	MSG_DB_LKMAPFAIL_SIZE	40
285 
286 #define	MSG_DB_CALLBACKR0	"rtld_db: im: itermap() callback returned 0 - terminating link-map traversal"
287 #define	MSG_DB_CALLBACKR0_SIZE	75
288 
289 #define	MSG_DB_ITERMAP	"rtld_db: im: itermap_cb(cb=0x%p, data=0x%p,\nrtld_db: im:      objbase=0x%llx, ident=0x%llx)"
290 #define	MSG_DB_ITERMAP_SIZE	91
291 
292 #define	MSG_DB_READDBGFAIL_1	"rtld_db: rli: failed to read rtld_db_priv: 0x%llx"
293 #define	MSG_DB_READDBGFAIL_1_SIZE	49
294 
295 #define	MSG_DB_READDBGFAIL_2	"rtld_db: reg: failed to read rdebug: 0x%llx"
296 #define	MSG_DB_READDBGFAIL_2_SIZE	43
297 
298 #define	MSG_DB_READDBGFAIL_3	"rtld_db: rli: failed to read rtd_dynlmlst: 0x%llx"
299 #define	MSG_DB_READDBGFAIL_3_SIZE	49
300 
301 #define	MSG_DB_READDBGFAIL_4	"rtld_db: rli: failed to read dynlm_list: 0x%llx"
302 #define	MSG_DB_READDBGFAIL_4_SIZE	47
303 
304 #define	MSG_DB_READDBGFAIL_5	"rtld_db: rli: failed to read dynlm_list->ap_data[]: 0x%llx"
305 #define	MSG_DB_READDBGFAIL_5_SIZE	58
306 
307 #define	MSG_DB_READDBGFAIL_6	"rtld_db: rli: failed to read Lm_list: 0x%llx"
308 #define	MSG_DB_READDBGFAIL_6_SIZE	44
309 
310 #define	MSG_DB_READPRIVFAIL_1	"rtld_db: rr: fail to read rtld_db_priv: 0x%llx"
311 #define	MSG_DB_READPRIVFAIL_1_SIZE	46
312 
313 #define	MSG_DB_BADPVERS	"rtld_db: ve: rtld vs. rtld_db version mismatch: %d != %d"
314 #define	MSG_DB_BADPVERS_SIZE	56
315 
316 #define	MSG_DB_VALIDRDEBUG	"rtld_db: ve: found valid r_debug structure. Addr: 0x%llx\nrtld_db: ve:	rtld_dbVers: %d rtldVers: %d Corefile: %d"
317 #define	MSG_DB_VALIDRDEBUG_SIZE	111
318 
319 #define	MSG_DB_LKMAPNOINIT	"rtld_db: rli: link maps are not yet initialized: rtd_dynlmlst: 0x%llx"
320 #define	MSG_DB_LKMAPNOINIT_SIZE	69
321 
322 #define	MSG_DB_LKMAPNOINIT_1	"rtld_db: rli: dynlm_list is not yet initialized: dynlm_list: 0x%llx"
323 #define	MSG_DB_LKMAPNOINIT_1_SIZE	67
324 
325 #define	MSG_DB_NULLITER	"rtld_db: rli: called with null iterator"
326 #define	MSG_DB_NULLITER_SIZE	39
327 
328 #define	MSG_DB_UNEXPEVENT	"rtld_db: rea: unexpected event num: %d"
329 #define	MSG_DB_UNEXPEVENT_SIZE	38
330 
331 #define	MSG_DB_READFAIL_1	"rtld_db: vr: read of 0x%llx failed"
332 #define	MSG_DB_READFAIL_1_SIZE	34
333 
334 #define	MSG_DB_READFAIL_2	"rtld_db: rpr: read of 0x%llx failed"
335 #define	MSG_DB_READFAIL_2_SIZE	35
336 
337 #define	MSG_DB_READFAIL_3	"rtld_db: roe: read of 0x%llx failed"
338 #define	MSG_DB_READFAIL_3_SIZE	35
339 
340 #define	MSG_DB_READFAIL_4	"rtld_db: fde: read of 0x%llx failed"
341 #define	MSG_DB_READFAIL_4_SIZE	35
342 
343 #define	MSG_DB_READFAIL_5	"rtld_db: ge: read of 0x%llx failed"
344 #define	MSG_DB_READFAIL_5_SIZE	34
345 
346 #define	MSG_DB_READFAIL_6	"rtld_db: gd: read of 0x%llx failed"
347 #define	MSG_DB_READFAIL_6_SIZE	34
348 
349 #define	MSG_DB_WRITEFAIL_1	"rtld_db: ree: write of 0x%llx failed"
350 #define	MSG_DB_WRITEFAIL_1_SIZE	36
351 
352 #define	MSG_DB_WRITEFAIL_2	"rtld_db: roe: write of 0x%llx failed"
353 #define	MSG_DB_WRITEFAIL_2_SIZE	36
354 
355 #define	MSG_DB_UNFNDSYM	"rtld_db: rbea: unable to find sym: %s"
356 #define	MSG_DB_UNFNDSYM_SIZE	37
357 
358 #define	MSG_DB_NODYNDEBUG	"rtld_db: fde: no %lld found in .dynamic"
359 #define	MSG_DB_NODYNDEBUG_SIZE	39
360 
361 #define	MSG_DB_FINDDYNAMIC	"rtld_db: fde: DYNAMIC entry found tag: %d found. val: 0x%llx"
362 #define	MSG_DB_FINDDYNAMIC_SIZE	60
363 
364 #define	MSG_DB_HELPER_PREFIX	"/usr/lib/brand"
365 #define	MSG_DB_HELPER_PREFIX_SIZE	14
366 
367 #define	MSG_DB_LOGENABLE	"rtld_db: logging enabled!"
368 #define	MSG_DB_LOGENABLE_SIZE	25
369 
370 #define	MSG_DB_RDINIT	"rtld_db: rd_init(%d)"
371 #define	MSG_DB_RDINIT_SIZE	20
372 
373 #define	MSG_DB_RDNEW	"rtld_db: rd_new(0x%p)"
374 #define	MSG_DB_RDNEW_SIZE	21
375 
376 #define	MSG_DB_RDDELETE	"rtld_db: rd_delete(0x%p)"
377 #define	MSG_DB_RDDELETE_SIZE	24
378 
379 #define	MSG_DB_LOADOBJITER	"rtld_db: rd_loadobj_iter32(dmodel=%d, cb=0x%p, d=0x%p)"
380 #define	MSG_DB_LOADOBJITER_SIZE	54
381 
382 #define	MSG_DB_RDEVENTADDR	"rtld_db: rd_event_addr(event=%d, addr=0x%llx)"
383 #define	MSG_DB_RDEVENTADDR_SIZE	45
384 
385 #define	MSG_DB_RDRESET	"rtld_db: rd_reset(dmodel=%d)"
386 #define	MSG_DB_RDRESET_SIZE	28
387 
388 #define	MSG_DB_RDEVENTENABLE	"rtld_db: rd_event_enable(dmodel=%d, onoff=%d)"
389 #define	MSG_DB_RDEVENTENABLE_SIZE	45
390 
391 #define	MSG_DB_RDEVENTGETMSG	"rtld_db: rd_event_getmsg(dmodel=%d, type=%d, state=%d)"
392 #define	MSG_DB_RDEVENTGETMSG_SIZE	54
393 
394 #define	MSG_DB_RDOBJPADE	"rtld_db: rd_objpad_enable(padsize=0x%llx)"
395 #define	MSG_DB_RDOBJPADE_SIZE	41
396 
397 #define	MSG_DB_64BIT_PREFIX	"64/"
398 #define	MSG_DB_64BIT_PREFIX_SIZE	3
399 
400 #define	MSG_DB_BRAND_HELPERPATH_PREFIX	"%s/%s/%s/%s%s_librtld_db.so.1"
401 #define	MSG_DB_BRAND_HELPERPATH_PREFIX_SIZE	29
402 
403 #define	MSG_DB_BRAND_HELPERPATH	"%s/%s/%s%s_librtld_db.so.1"
404 #define	MSG_DB_BRAND_HELPERPATH_SIZE	26
405 
406 #define	MSG_DB_HELPERNOOPS	"rtld_db: helper lib loaded but ops not preset"
407 #define	MSG_DB_HELPERNOOPS_SIZE	45
408 
409 #define	MSG_DB_HELPERLOADED	"rtld_db: helper library loaded for brand \"%s\""
410 #define	MSG_DB_HELPERLOADED_SIZE	45
411 
412 #define	MSG_DB_HELPERLOADFAILED	"rtld_db: couldn't load brand helper library %s"
413 #define	MSG_DB_HELPERLOADFAILED_SIZE	46
414 
415 #define	MSG_DB_HELPERINITFAILED	"rtld_db: brand helper library initialization failed"
416 #define	MSG_DB_HELPERINITFAILED_SIZE	51
417 
418 #define	MSG_ER_OK	"no error"
419 #define	MSG_ER_OK_SIZE	8
420 
421 #define	MSG_ER_ERR	"generic rtld_db.so error"
422 #define	MSG_ER_ERR_SIZE	24
423 
424 #define	MSG_ER_DBERR	"debugger service failed"
425 #define	MSG_ER_DBERR_SIZE	23
426 
427 #define	MSG_ER_NOCAPAB	"capability not available"
428 #define	MSG_ER_NOCAPAB_SIZE	24
429 
430 #define	MSG_ER_NODYNAM	"couldn't find '_DYNAMIC'"
431 #define	MSG_ER_NODYNAM_SIZE	24
432 
433 #define	MSG_ER_NOBASE	"couldn't find auxv tag 'AT_BASE'"
434 #define	MSG_ER_NOBASE_SIZE	32
435 
436 #define	MSG_ER_NOMAPS	"link-maps are not initialized"
437 #define	MSG_ER_NOMAPS_SIZE	29
438 
439 #define	MSG_ER_DEFAULT	"unknown rtld_db.so error code"
440 #define	MSG_ER_DEFAULT_SIZE	29
441 
442 #define	MSG_SYM_DEBUG	"r_debug"
443 #define	MSG_SYM_DEBUG_SIZE	7
444 
445 #define	MSG_SYM_PREINIT	"rtld_db_preinit"
446 #define	MSG_SYM_PREINIT_SIZE	15
447 
448 #define	MSG_SYM_POSTINIT	"rtld_db_postinit"
449 #define	MSG_SYM_POSTINIT_SIZE	16
450 
451 #define	MSG_SYM_DLACT	"rtld_db_dlactivity"
452 #define	MSG_SYM_DLACT_SIZE	18
453 
454 #define	MSG_SYM_RTBIND	"elf_rtbndr"
455 #define	MSG_SYM_RTBIND_SIZE	10
456 
457 #define	MSG_SYM_DYNAMIC	"_DYNAMIC"
458 #define	MSG_SYM_DYNAMIC_SIZE	8
459 
460 #define	MSG_SYM_BRANDOPS_32	"rtld_db_brand_ops32"
461 #define	MSG_SYM_BRANDOPS_32_SIZE	19
462 
463 #define	MSG_SYM_BRANDOPS_64	"rtld_db_brand_ops64"
464 #define	MSG_SYM_BRANDOPS_64_SIZE	19
465 
466 #define	MSG_DB_READFAIL_X86_1	"rtld_db: rlif: read of 0x%llx failed"
467 #define	MSG_DB_READFAIL_X86_1_SIZE	36
468 
469 #define	MSG_DB_NODYN_X86	"rtld_db: rlif: no PT_DYNAMIC found"
470 #define	MSG_DB_NODYN_X86_SIZE	34
471 
472 #define	MSG_DB_NOGOT_X86	"rtld_db: rpr: unable to resolve GOT addr"
473 #define	MSG_DB_NOGOT_X86_SIZE	40
474 
475 #endif	/* LINTSUP_SUPPRESS_STRINGS */
476 
477 #endif	/* __lint */
478 
479 #endif
480