xref: /illumos-gate/usr/src/lib/libproc/common/mapfile-vers (revision e2d5066a004ea2b47d7cd687f38c43d6cfb21275)
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 2026 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	_libproc_test_fail_copyinargs	{
87				  ASSERT = {
88					  TYPE = OBJECT;
89					  SIZE = 4;
90					};
91				};
92	Lmain_stack;
93	Lprochandle;
94	Lpsinfo;
95	Lputareg;
96	Lsetfpregs;
97	Lsetregs;
98	Lsetrun;
99	Lsetxregs;
100	Lstack;
101	Lstate;
102	Lstatus;
103	Lstop;
104	Lsync;
105	Lwait;
106	Lxecbkpt;
107	Lxecwapt;
108	Paddr_to_ctf;
109	Paddr_to_loadobj;
110	Paddr_to_map;
111	Paddr_to_text_map;
112	Pasfd;
113	Pclearfault;
114	Pclearsig;
115	Pcontent;
116	Pcreate;
117	Pcreate_agent;
118	Pcreate_callback;
119	Pcreate_error;
120	Pcred;
121	Pctlfd;
122	Pcwd;
123	Pcwd_free;
124	Pdelbkpt;
125	Pdelwapt;
126	Pdestroy_agent;
127	Pdstop;
128	Penv_iter;
129	Perror_printf;
130	Pexecname;
131	Pfault;
132	Pfgcore;
133	Pfgrab_core;
134	Pfree;
135	Pgcore;
136	Pgetareg;
137	Pgetauxval;
138	Pgetauxvec;
139	Pgetenv;
140	Pgrab;
141	Pgrab_core;
142	Pgrab_error;
143	Pgrab_file;
144	Pgrab_ops;
145	Pisprocdir;
146	Pissyscall;
147	Pissyscall_prev;
148	Plmid;
149	Plmid_to_ctf;
150	Plmid_to_loadobj;
151	Plmid_to_map;
152	Plookup_by_addr;
153	Plookup_by_name;
154	Plwp_alt_stack;
155	Plwp_freexregs;
156	Plwp_getfpregs;
157	Plwp_getname;
158	Plwp_getpsinfo;
159	Plwp_getregs;
160	Plwp_getspymaster;
161	Plwp_getxregs;
162	Plwp_iter;
163	Plwp_iter_all;
164	Plwp_main_stack;
165	Plwp_setfpregs;
166	Plwp_setregs;
167	Plwp_setxregs;
168	Plwp_stack;
169	Pmapping_iter;
170	Pmapping_iter_resolved;
171	Pname_to_ctf;
172	Pname_to_loadobj;
173	Pname_to_map;
174	Pobject_iter;
175	Pobject_iter_resolved;
176	Pobjname;
177	Pobjname_resolved;
178	Pplatform;
179	Ppltdest;
180	Ppriv;
181	Pprivinfo;
182	Ppriv_free;
183	Ppsinfo;
184	Pputareg;
185	pr_access;
186	pr_close;
187	pr_creat;
188	Prd_agent;
189	pr_door_info;
190	Pread;
191	Pread_string;
192	Prelease;
193	Preopen;
194	Preset_maps;
195	pr_exit;
196	pr_fcntl;
197	pr_fstat;
198	pr_fstat64;
199	pr_fstatvfs;
200	pr_getitimer;
201	pr_getpeername;
202	pr_getpeerucred;
203	pr_getprojid;
204	pr_getrctl;
205	pr_getrlimit;
206	pr_getrlimit64;
207	pr_getsockname;
208	pr_getsockopt;
209	pr_gettaskid;
210	pr_getzoneid;
211	pr_ioctl;
212	pr_link;
213	pr_llseek;
214	pr_lseek;
215	pr_lstat;
216	pr_lstat64;
217	pr_lwp_exit;
218	pr_memcntl;
219	pr_meminfo;
220	pr_mmap;
221	pr_munmap;
222	proc_arg_grab;
223	proc_arg_psinfo;
224	proc_arg_xgrab;
225	proc_arg_xpsinfo;
226	proc_content2str;
227	proc_dmodelname;
228	proc_fdinfo_free;
229	proc_fdinfo_misc;
230	proc_fdinfowalk;
231	proc_fdwalk;
232	proc_finistdio;
233	proc_fltname;
234	proc_fltset2str;
235	proc_flushstdio;
236	proc_free_priv;
237	proc_get_auxv;
238	proc_get_cred;
239	proc_get_fdinfo;
240	proc_get_priv;
241	proc_get_psinfo;
242	proc_get_lwpsinfo;
243	proc_get_lwpstatus;
244	proc_get_secflags;
245	proc_get_status;
246	proc_initstdio;
247	proc_lwp_in_set;
248	proc_lwp_range_valid;
249	proc_signame;
250	proc_sigset2str;
251	proc_str2content;
252	proc_str2flt;
253	proc_str2fltset;
254	proc_str2sig;
255	proc_str2sigset;
256	proc_str2sys;
257	proc_str2sysset;
258	proc_sysname;
259	proc_sysset2str;
260	proc_unctrl_psinfo;
261	proc_walk;
262	pr_open;
263	pr_processor_bind;
264	pr_rename;
265	pr_setitimer;
266	pr_setprojrctl;
267	pr_setrctl;
268	pr_setrlimit;
269	pr_setrlimit64;
270	pr_settaskid;
271	pr_sigaction;
272	pr_stat;
273	pr_stat64;
274	pr_statvfs;
275	pr_unlink;
276	pr_waitid;
277	pr_zmap;
278	Pset_procfs_path;
279	Psetbkpt;
280	Psetcred;
281	Psetfault;
282	Psetflags;
283	Psetpriv;
284	Psetrun;
285	Psetsignal;
286	Psetsysentry;
287	Psetsysexit;
288	Psetwapt;
289	Psetzoneid;
290	Psignal;
291	ps_lcontinue;
292	ps_lgetfpregs;
293	ps_lgetregs;
294	ps_lgetxregs;
295	ps_lgetxregsize;
296	ps_lsetfpregs;
297	ps_lsetregs;
298	ps_lsetxregs;
299	ps_lstop;
300	ps_pauxv;
301	ps_pbrandname;
302	ps_pcontinue;
303	ps_pdmodel;
304	ps_pdread	{ FLAGS = NODYNSORT; };	# Alias of ps_pread
305	ps_pdwrite	{ FLAGS = NODYNSORT; };	# Alias of ps_pwrite
306	ps_pglobal_lookup;
307	ps_pglobal_sym;
308	ps_plog;
309	ps_pread;
310	ps_pstop;
311	ps_ptread	{ FLAGS = NODYNSORT; };	# Alias of ps_pread
312	ps_ptwrite	{ FLAGS = NODYNSORT; };	# Alias of ps_pwrite
313	ps_pwrite;
314	Psecflags;
315	Psecflags_free;
316	Pstack_iter;
317	Pstate;
318	Pstatus;
319	Pstop;
320	Pstopstatus;
321	Psymbol_iter;
322	Psymbol_iter_by_addr;
323	Psymbol_iter_by_lmid;
324	Psymbol_iter_by_name;
325	Psync;
326	Psyscall;
327	Psysentry;
328	Psysexit;
329	Puname;
330	Punsetflags;
331	Pupdate_maps;
332	Pupdate_syms;
333	Pupanic;
334	Pupanic_free;
335	Pwait;
336	Pwrite;
337	Pxcreate;
338	Pxecbkpt;
339	Pxecwapt;
340	Pxlookup_by_addr;
341	Pxlookup_by_addr_resolved;
342	Pxlookup_by_name;
343	Pxsymbol_iter;
344	Pzonename;
345	Pzonepath;
346	Pzoneroot;
347	Pfdinfo_iter;
348
349$if _x86 && _ELF32
350	Pldt;
351	proc_get_ldt;
352	ps_lgetLDT;
353$endif
354
355$if _sparc
356	Plwp_getgwindows;
357$if _ELF64
358	Plwp_getasrs;
359	Plwp_setasrs;
360$endif
361$endif
362
363    local:
364	*;
365};
366