blob: 3b2fe588125cba120fe4479535db390d4438b10d [file] [log] [blame]
raff808c852006-08-08 23:21:36 -07001#
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#
Ali Bahramicd3e9332010-06-24 18:16:42 -060022# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
Garrett D'Amore34bdffb2012-11-02 09:48:42 -070023# Copyright 2012 DEY Storage Systems, Inc. All rights reserved.
John Levonab618542018-10-08 15:34:11 +010024# Copyright 2018 Joyent, Inc.
Jeremy Jones2a12f852013-08-21 15:45:46 -080025# Copyright (c) 2013 by Delphix. All rights reserved.
raff808c852006-08-08 23:21:36 -070026#
raff808c852006-08-08 23:21:36 -070027
Ali Bahramibfed4862009-02-10 09:38:02 -070028#
29# MAPFILE HEADER START
30#
31# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
32# Object versioning must comply with the rules detailed in
33#
34# usr/src/lib/README.mapfiles
35#
36# You should not be making modifications here until you've read the most current
37# copy of that file. If you need help, contact a gatekeeper for guidance.
38#
39# MAPFILE HEADER END
40#
41
Ali Bahramicd3e9332010-06-24 18:16:42 -060042$mapfile_version 2
43
raff808c852006-08-08 23:21:36 -070044# Due to mistakes made early in the history of this library, there are no
45# SUNW_1.1 through SUNW_1.4 symbols, but they are now kept as placeholders.
46# Don't add any symbols to these versions.
47
Ali Bahramicd3e9332010-06-24 18:16:42 -060048SYMBOL_VERSION SUNW_1.4 {
raff808c852006-08-08 23:21:36 -070049 global:
50 SUNW_1.4;
51} SUNW_1.3;
52
Ali Bahramicd3e9332010-06-24 18:16:42 -060053SYMBOL_VERSION SUNW_1.3 {
raff808c852006-08-08 23:21:36 -070054 global:
55 SUNW_1.3;
56} SUNW_1.2;
57
Ali Bahramicd3e9332010-06-24 18:16:42 -060058SYMBOL_VERSION SUNW_1.2 {
raff808c852006-08-08 23:21:36 -070059 global:
60 SUNW_1.2;
61} SUNW_1.1;
62
Ali Bahramicd3e9332010-06-24 18:16:42 -060063SYMBOL_VERSION SUNW_1.1 {
raff808c852006-08-08 23:21:36 -070064 global:
65 SUNW_1.1;
66};
67
Ali Bahramicd3e9332010-06-24 18:16:42 -060068SYMBOL_VERSION SUNWprivate_1.1 {
raff808c852006-08-08 23:21:36 -070069 global:
70 Lalt_stack;
71 Lclearfault;
72 Lclearsig;
73 Lctlfd;
74 Ldstop;
75 Lfree;
76 Lgetareg;
77 Lgrab;
78 Lgrab_error;
79 _libproc_debug;
80 Lmain_stack;
81 Lprochandle;
82 Lpsinfo;
83 Lputareg;
84 Lsetrun;
85 Lstack;
86 Lstate;
87 Lstatus;
88 Lstop;
89 Lsync;
90 Lwait;
91 Lxecbkpt;
92 Lxecwapt;
93 Paddr_to_ctf;
94 Paddr_to_loadobj;
95 Paddr_to_map;
96 Paddr_to_text_map;
97 Pasfd;
98 Pclearfault;
99 Pclearsig;
100 Pcontent;
101 Pcreate;
102 Pcreate_agent;
103 Pcreate_callback;
104 Pcreate_error;
105 Pcred;
106 Pctlfd;
107 Pdelbkpt;
108 Pdelwapt;
109 Pdestroy_agent;
110 Pdstop;
111 Penv_iter;
112 Perror_printf;
113 Pexecname;
114 Pfault;
115 Pfgcore;
116 Pfgrab_core;
117 Pfree;
118 Pgcore;
119 Pgetareg;
120 Pgetauxval;
121 Pgetauxvec;
122 Pgetenv;
123 Pgrab;
124 Pgrab_core;
125 Pgrab_error;
126 Pgrab_file;
Jeremy Jones2a12f852013-08-21 15:45:46 -0800127 Pgrab_ops;
raff808c852006-08-08 23:21:36 -0700128 Pisprocdir;
Robert Mustacchi43051d22016-05-12 09:47:18 -0700129 Pissyscall;
raff808c852006-08-08 23:21:36 -0700130 Pissyscall_prev;
131 Plmid;
Robert Mustacchi43051d22016-05-12 09:47:18 -0700132 Plmid_to_ctf;
raff808c852006-08-08 23:21:36 -0700133 Plmid_to_loadobj;
134 Plmid_to_map;
135 Plookup_by_addr;
136 Plookup_by_name;
137 Plwp_alt_stack;
138 Plwp_getfpregs;
John Levonab618542018-10-08 15:34:11 +0100139 Plwp_getname;
raff808c852006-08-08 23:21:36 -0700140 Plwp_getpsinfo;
141 Plwp_getregs;
Bryan Cantrillf971a342013-04-02 13:52:19 -0700142 Plwp_getspymaster;
raff808c852006-08-08 23:21:36 -0700143 Plwp_iter;
144 Plwp_iter_all;
145 Plwp_main_stack;
146 Plwp_setfpregs;
147 Plwp_setregs;
148 Plwp_stack;
149 Pmapping_iter;
Edward Pilatowicz186f7fb2008-09-23 22:32:10 -0700150 Pmapping_iter_resolved;
raff808c852006-08-08 23:21:36 -0700151 Pname_to_ctf;
152 Pname_to_loadobj;
153 Pname_to_map;
154 Pobject_iter;
Edward Pilatowicz186f7fb2008-09-23 22:32:10 -0700155 Pobject_iter_resolved;
raff808c852006-08-08 23:21:36 -0700156 Pobjname;
Edward Pilatowicz186f7fb2008-09-23 22:32:10 -0700157 Pobjname_resolved;
raff808c852006-08-08 23:21:36 -0700158 Pplatform;
159 Ppltdest;
160 Ppriv;
161 Pprivinfo;
Robert Mustacchi43051d22016-05-12 09:47:18 -0700162 Ppriv_free;
raff808c852006-08-08 23:21:36 -0700163 Ppsinfo;
164 Pputareg;
165 pr_access;
166 pr_close;
167 pr_creat;
168 Prd_agent;
169 pr_door_info;
170 Pread;
171 Pread_string;
172 Prelease;
173 Preopen;
174 Preset_maps;
175 pr_exit;
176 pr_fcntl;
177 pr_fstat;
178 pr_fstat64;
179 pr_fstatvfs;
180 pr_getitimer;
181 pr_getpeername;
Alexander Stetsenkoa154f012010-10-06 21:18:18 +0400182 pr_getpeerucred;
raff808c852006-08-08 23:21:36 -0700183 pr_getprojid;
184 pr_getrctl;
185 pr_getrlimit;
186 pr_getrlimit64;
187 pr_getsockname;
188 pr_getsockopt;
189 pr_gettaskid;
190 pr_getzoneid;
191 pr_ioctl;
192 pr_link;
193 pr_llseek;
194 pr_lseek;
195 pr_lstat;
196 pr_lstat64;
197 pr_lwp_exit;
198 pr_memcntl;
199 pr_meminfo;
200 pr_mmap;
201 pr_munmap;
202 proc_arg_grab;
203 proc_arg_psinfo;
204 proc_arg_xgrab;
205 proc_arg_xpsinfo;
206 proc_content2str;
207 proc_finistdio;
208 proc_fltname;
209 proc_fltset2str;
210 proc_flushstdio;
Robert Mustacchi43051d22016-05-12 09:47:18 -0700211 proc_free_priv;
raff808c852006-08-08 23:21:36 -0700212 proc_get_auxv;
213 proc_get_cred;
214 proc_get_priv;
215 proc_get_psinfo;
Richard Lowed2a70782014-04-16 02:39:14 +0100216 proc_get_secflags;
raff808c852006-08-08 23:21:36 -0700217 proc_get_status;
218 proc_initstdio;
219 proc_lwp_in_set;
220 proc_lwp_range_valid;
221 proc_signame;
222 proc_sigset2str;
223 proc_str2content;
224 proc_str2flt;
225 proc_str2fltset;
226 proc_str2sig;
227 proc_str2sigset;
228 proc_str2sys;
229 proc_str2sysset;
230 proc_sysname;
231 proc_sysset2str;
232 proc_unctrl_psinfo;
233 proc_walk;
234 pr_open;
235 pr_processor_bind;
raff808c852006-08-08 23:21:36 -0700236 pr_rename;
237 pr_setitimer;
rd117015532877c2007-02-20 10:39:20 -0800238 pr_setprojrctl;
raff808c852006-08-08 23:21:36 -0700239 pr_setrctl;
240 pr_setrlimit;
241 pr_setrlimit64;
242 pr_settaskid;
243 pr_sigaction;
244 pr_stat;
245 pr_stat64;
246 pr_statvfs;
247 pr_unlink;
248 pr_waitid;
249 pr_zmap;
nn352489acbbea2006-09-11 22:51:59 -0700250 Pset_procfs_path;
raff808c852006-08-08 23:21:36 -0700251 Psetbkpt;
252 Psetcred;
253 Psetfault;
254 Psetflags;
255 Psetpriv;
256 Psetrun;
257 Psetsignal;
258 Psetsysentry;
259 Psetsysexit;
260 Psetwapt;
261 Psetzoneid;
262 Psignal;
263 ps_lcontinue;
264 ps_lgetfpregs;
265 ps_lgetregs;
266 ps_lsetfpregs;
267 ps_lsetregs;
268 ps_lstop;
269 ps_pauxv;
nn352489acbbea2006-09-11 22:51:59 -0700270 ps_pbrandname;
raff808c852006-08-08 23:21:36 -0700271 ps_pcontinue;
272 ps_pdmodel;
Ali Bahramicd3e9332010-06-24 18:16:42 -0600273 ps_pdread { FLAGS = NODYNSORT }; # Alias of ps_pread
274 ps_pdwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite
raff808c852006-08-08 23:21:36 -0700275 ps_pglobal_lookup;
276 ps_pglobal_sym;
277 ps_plog;
278 ps_pread;
279 ps_pstop;
Ali Bahramicd3e9332010-06-24 18:16:42 -0600280 ps_ptread { FLAGS = NODYNSORT }; # Alias of ps_pread
281 ps_ptwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite
raff808c852006-08-08 23:21:36 -0700282 ps_pwrite;
Richard Lowed2a70782014-04-16 02:39:14 +0100283 Psecflags;
284 Psecflags_free;
raff808c852006-08-08 23:21:36 -0700285 Pstack_iter;
286 Pstate;
287 Pstatus;
288 Pstop;
289 Pstopstatus;
290 Psymbol_iter;
291 Psymbol_iter_by_addr;
292 Psymbol_iter_by_lmid;
293 Psymbol_iter_by_name;
294 Psync;
295 Psyscall;
296 Psysentry;
297 Psysexit;
298 Puname;
299 Punsetflags;
300 Pupdate_maps;
301 Pupdate_syms;
302 Pwait;
303 Pwrite;
304 Pxcreate;
305 Pxecbkpt;
306 Pxecwapt;
307 Pxlookup_by_addr;
Edward Pilatowicz186f7fb2008-09-23 22:32:10 -0700308 Pxlookup_by_addr_resolved;
raff808c852006-08-08 23:21:36 -0700309 Pxlookup_by_name;
310 Pxsymbol_iter;
311 Pzonename;
Edward Pilatowicz186f7fb2008-09-23 22:32:10 -0700312 Pzonepath;
313 Pzoneroot;
Garrett D'Amore34bdffb2012-11-02 09:48:42 -0700314 Pfdinfo_iter;
Ali Bahramicd3e9332010-06-24 18:16:42 -0600315
316$if _x86 && _ELF32
317 Pldt;
318 proc_get_ldt;
319 ps_lgetLDT;
320$endif
321
322$if _sparc
323 Plwp_getgwindows;
324 Plwp_getxregs;
325 Plwp_setxregs;
326 ps_lgetxregs;
327 ps_lgetxregsize;
328 ps_lsetxregs;
329
330$if _ELF64
331 Plwp_getasrs;
332 Plwp_setasrs;
333$endif
334$endif
335
raff808c852006-08-08 23:21:36 -0700336 local:
337 *;
338};