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# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
24# Copyright 2018 Joyent, Inc.
25# Copyright (c) 2013 by Delphix. All rights reserved.
26# Copyright (c) 2019 Carlos Neira <cneirabustos@gmail.com>
27# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
28# Copyright 2023 Oxide Computer Company
29#
30
31#
32# MAPFILE HEADER START
33#
34# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
35# Object versioning must comply with the rules detailed in
36#
37#	usr/src/lib/README.mapfiles
38#
39# You should not be making modifications here until you've read the most current
40# copy of that file. If you need help, contact a gatekeeper for guidance.
41#
42# MAPFILE HEADER END
43#
44
45$mapfile_version 2
46
47# Due to mistakes made early in the history of this library, there are no
48# SUNW_1.1 through SUNW_1.4 symbols, but they are now kept as placeholders.
49# Don't add any symbols to these versions.
50
51SYMBOL_VERSION SUNW_1.4 {
52    global:
53	SUNW_1.4;
54} SUNW_1.3;
55
56SYMBOL_VERSION SUNW_1.3 {
57    global:
58	SUNW_1.3;
59} SUNW_1.2;
60
61SYMBOL_VERSION SUNW_1.2 {
62    global:
63	SUNW_1.2;
64} SUNW_1.1;
65
66SYMBOL_VERSION SUNW_1.1 {
67    global:
68	SUNW_1.1;
69};
70
71SYMBOL_VERSION SUNWprivate_1.1 {
72    global:
73	Lalt_stack;
74	Lclearfault;
75	Lclearsig;
76	Lctlfd;
77	Ldstop;
78	Lfree;
79	Lgetareg;
80	Lgetfpregs;
81	Lgetregs;
82	Lgetxregs;
83	Lgrab;
84	Lgrab_error;
85	_libproc_debug	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
86	Lmain_stack;
87	Lprochandle;
88	Lpsinfo;
89	Lputareg;
90	Lsetfpregs;
91	Lsetregs;
92	Lsetrun;
93	Lsetxregs;
94	Lstack;
95	Lstate;
96	Lstatus;
97	Lstop;
98	Lsync;
99	Lwait;
100	Lxecbkpt;
101	Lxecwapt;
102	Paddr_to_ctf;
103	Paddr_to_loadobj;
104	Paddr_to_map;
105	Paddr_to_text_map;
106	Pasfd;
107	Pclearfault;
108	Pclearsig;
109	Pcontent;
110	Pcreate;
111	Pcreate_agent;
112	Pcreate_callback;
113	Pcreate_error;
114	Pcred;
115	Pctlfd;
116	Pdelbkpt;
117	Pdelwapt;
118	Pdestroy_agent;
119	Pdstop;
120	Penv_iter;
121	Perror_printf;
122	Pexecname;
123	Pfault;
124	Pfgcore;
125	Pfgrab_core;
126	Pfree;
127	Pgcore;
128	Pgetareg;
129	Pgetauxval;
130	Pgetauxvec;
131	Pgetenv;
132	Pgrab;
133	Pgrab_core;
134	Pgrab_error;
135	Pgrab_file;
136	Pgrab_ops;
137	Pisprocdir;
138	Pissyscall;
139	Pissyscall_prev;
140	Plmid;
141	Plmid_to_ctf;
142	Plmid_to_loadobj;
143	Plmid_to_map;
144	Plookup_by_addr;
145	Plookup_by_name;
146	Plwp_alt_stack;
147	Plwp_freexregs;
148	Plwp_getfpregs;
149	Plwp_getname;
150	Plwp_getpsinfo;
151	Plwp_getregs;
152	Plwp_getspymaster;
153	Plwp_getxregs;
154	Plwp_iter;
155	Plwp_iter_all;
156	Plwp_main_stack;
157	Plwp_setfpregs;
158	Plwp_setregs;
159	Plwp_setxregs;
160	Plwp_stack;
161	Pmapping_iter;
162	Pmapping_iter_resolved;
163	Pname_to_ctf;
164	Pname_to_loadobj;
165	Pname_to_map;
166	Pobject_iter;
167	Pobject_iter_resolved;
168	Pobjname;
169	Pobjname_resolved;
170	Pplatform;
171	Ppltdest;
172	Ppriv;
173	Pprivinfo;
174	Ppriv_free;
175	Ppsinfo;
176	Pputareg;
177	pr_access;
178	pr_close;
179	pr_creat;
180	Prd_agent;
181	pr_door_info;
182	Pread;
183	Pread_string;
184	Prelease;
185	Preopen;
186	Preset_maps;
187	pr_exit;
188	pr_fcntl;
189	pr_fstat;
190	pr_fstat64;
191	pr_fstatvfs;
192	pr_getitimer;
193	pr_getpeername;
194	pr_getpeerucred;
195	pr_getprojid;
196	pr_getrctl;
197	pr_getrlimit;
198	pr_getrlimit64;
199	pr_getsockname;
200	pr_getsockopt;
201	pr_gettaskid;
202	pr_getzoneid;
203	pr_ioctl;
204	pr_link;
205	pr_llseek;
206	pr_lseek;
207	pr_lstat;
208	pr_lstat64;
209	pr_lwp_exit;
210	pr_memcntl;
211	pr_meminfo;
212	pr_mmap;
213	pr_munmap;
214	proc_arg_grab;
215	proc_arg_psinfo;
216	proc_arg_xgrab;
217	proc_arg_xpsinfo;
218	proc_content2str;
219	proc_dmodelname;
220	proc_fdinfo_free;
221	proc_fdinfo_misc;
222	proc_fdinfowalk;
223	proc_fdwalk;
224	proc_finistdio;
225	proc_fltname;
226	proc_fltset2str;
227	proc_flushstdio;
228	proc_free_priv;
229	proc_get_auxv;
230	proc_get_cred;
231	proc_get_fdinfo;
232	proc_get_priv;
233	proc_get_psinfo;
234	proc_get_lwpsinfo;
235	proc_get_lwpstatus;
236	proc_get_secflags;
237	proc_get_status;
238	proc_initstdio;
239	proc_lwp_in_set;
240	proc_lwp_range_valid;
241	proc_signame;
242	proc_sigset2str;
243	proc_str2content;
244	proc_str2flt;
245	proc_str2fltset;
246	proc_str2sig;
247	proc_str2sigset;
248	proc_str2sys;
249	proc_str2sysset;
250	proc_sysname;
251	proc_sysset2str;
252	proc_unctrl_psinfo;
253	proc_walk;
254	pr_open;
255	pr_processor_bind;
256	pr_rename;
257	pr_setitimer;
258	pr_setprojrctl;
259	pr_setrctl;
260	pr_setrlimit;
261	pr_setrlimit64;
262	pr_settaskid;
263	pr_sigaction;
264	pr_stat;
265	pr_stat64;
266	pr_statvfs;
267	pr_unlink;
268	pr_waitid;
269	pr_zmap;
270	Pset_procfs_path;
271	Psetbkpt;
272	Psetcred;
273	Psetfault;
274	Psetflags;
275	Psetpriv;
276	Psetrun;
277	Psetsignal;
278	Psetsysentry;
279	Psetsysexit;
280	Psetwapt;
281	Psetzoneid;
282	Psignal;
283	ps_lcontinue;
284	ps_lgetfpregs;
285	ps_lgetregs;
286	ps_lgetxregs;
287	ps_lgetxregsize;
288	ps_lsetfpregs;
289	ps_lsetregs;
290	ps_lsetxregs;
291	ps_lstop;
292	ps_pauxv;
293	ps_pbrandname;
294	ps_pcontinue;
295	ps_pdmodel;
296	ps_pdread	{ FLAGS = NODYNSORT; };	# Alias of ps_pread
297	ps_pdwrite	{ FLAGS = NODYNSORT; };	# Alias of ps_pwrite
298	ps_pglobal_lookup;
299	ps_pglobal_sym;
300	ps_plog;
301	ps_pread;
302	ps_pstop;
303	ps_ptread	{ FLAGS = NODYNSORT; };	# Alias of ps_pread
304	ps_ptwrite	{ FLAGS = NODYNSORT; };	# Alias of ps_pwrite
305	ps_pwrite;
306	Psecflags;
307	Psecflags_free;
308	Pstack_iter;
309	Pstate;
310	Pstatus;
311	Pstop;
312	Pstopstatus;
313	Psymbol_iter;
314	Psymbol_iter_by_addr;
315	Psymbol_iter_by_lmid;
316	Psymbol_iter_by_name;
317	Psync;
318	Psyscall;
319	Psysentry;
320	Psysexit;
321	Puname;
322	Punsetflags;
323	Pupdate_maps;
324	Pupdate_syms;
325	Pupanic;
326	Pupanic_free;
327	Pwait;
328	Pwrite;
329	Pxcreate;
330	Pxecbkpt;
331	Pxecwapt;
332	Pxlookup_by_addr;
333	Pxlookup_by_addr_resolved;
334	Pxlookup_by_name;
335	Pxsymbol_iter;
336	Pzonename;
337	Pzonepath;
338	Pzoneroot;
339	Pfdinfo_iter;
340
341$if _x86 && _ELF32
342	Pldt;
343	proc_get_ldt;
344	ps_lgetLDT;
345$endif
346
347$if _sparc
348	Plwp_getgwindows;
349$if _ELF64
350	Plwp_getasrs;
351	Plwp_setasrs;
352$endif
353$endif
354
355    local:
356	*;
357};
358