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