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 
  51 SYMBOL_VERSION SUNW_1.4 {
  52     global:
  53         SUNW_1.4;
  54 } SUNW_1.3;
  55 
  56 SYMBOL_VERSION SUNW_1.3 {
  57     global:
  58         SUNW_1.3;
  59 } SUNW_1.2;
  60 
  61 SYMBOL_VERSION SUNW_1.2 {
  62     global:
  63         SUNW_1.2;
  64 } SUNW_1.1;
  65 
  66 SYMBOL_VERSION SUNW_1.1 {
  67     global:
  68         SUNW_1.1;
  69 };
  70 
  71 SYMBOL_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_secflags;
 236         proc_get_status;
 237         proc_initstdio;
 238         proc_lwp_in_set;
 239         proc_lwp_range_valid;
 240         proc_signame;
 241         proc_sigset2str;
 242         proc_str2content;
 243         proc_str2flt;
 244         proc_str2fltset;
 245         proc_str2sig;
 246         proc_str2sigset;
 247         proc_str2sys;
 248         proc_str2sysset;
 249         proc_sysname;
 250         proc_sysset2str;
 251         proc_unctrl_psinfo;
 252         proc_walk;
 253         pr_open;
 254         pr_processor_bind;
 255         pr_rename;
 256         pr_setitimer;
 257         pr_setprojrctl;
 258         pr_setrctl;
 259         pr_setrlimit;
 260         pr_setrlimit64;
 261         pr_settaskid;
 262         pr_sigaction;
 263         pr_stat;
 264         pr_stat64;
 265         pr_statvfs;
 266         pr_unlink;
 267         pr_waitid;
 268         pr_zmap;
 269         Pset_procfs_path;
 270         Psetbkpt;
 271         Psetcred;
 272         Psetfault;
 273         Psetflags;
 274         Psetpriv;
 275         Psetrun;
 276         Psetsignal;
 277         Psetsysentry;
 278         Psetsysexit;
 279         Psetwapt;
 280         Psetzoneid;
 281         Psignal;
 282         ps_lcontinue;
 283         ps_lgetfpregs;
 284         ps_lgetregs;
 285         ps_lgetxregs;
 286         ps_lgetxregsize;
 287         ps_lsetfpregs;
 288         ps_lsetregs;
 289         ps_lsetxregs;
 290         ps_lstop;
 291         ps_pauxv;
 292         ps_pbrandname;
 293         ps_pcontinue;
 294         ps_pdmodel;
 295         ps_pdread       { FLAGS = NODYNSORT; }; # Alias of ps_pread
 296         ps_pdwrite      { FLAGS = NODYNSORT; }; # Alias of ps_pwrite
 297         ps_pglobal_lookup;
 298         ps_pglobal_sym;
 299         ps_plog;
 300         ps_pread;
 301         ps_pstop;
 302         ps_ptread       { FLAGS = NODYNSORT; }; # Alias of ps_pread
 303         ps_ptwrite      { FLAGS = NODYNSORT; }; # Alias of ps_pwrite
 304         ps_pwrite;
 305         Psecflags;
 306         Psecflags_free;
 307         Pstack_iter;
 308         Pstate;
 309         Pstatus;
 310         Pstop;
 311         Pstopstatus;
 312         Psymbol_iter;
 313         Psymbol_iter_by_addr;
 314         Psymbol_iter_by_lmid;
 315         Psymbol_iter_by_name;
 316         Psync;
 317         Psyscall;
 318         Psysentry;
 319         Psysexit;
 320         Puname;
 321         Punsetflags;
 322         Pupdate_maps;
 323         Pupdate_syms;
 324         Pupanic;
 325         Pupanic_free;
 326         Pwait;
 327         Pwrite;
 328         Pxcreate;
 329         Pxecbkpt;
 330         Pxecwapt;
 331         Pxlookup_by_addr;
 332         Pxlookup_by_addr_resolved;
 333         Pxlookup_by_name;
 334         Pxsymbol_iter;
 335         Pzonename;
 336         Pzonepath;
 337         Pzoneroot;
 338         Pfdinfo_iter;
 339 
 340 $if _x86 && _ELF32
 341         Pldt;
 342         proc_get_ldt;
 343         ps_lgetLDT;
 344 $endif
 345 
 346 $if _sparc
 347         Plwp_getgwindows;
 348 $if _ELF64
 349         Plwp_getasrs;
 350         Plwp_setasrs;
 351 $endif
 352 $endif
 353 
 354     local:
 355         *;
 356 };