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