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 # Copyright (c) 2013 by Delphix. All rights reserved.
  26 #
  27 
  28 #
  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 
  42 $mapfile_version 2
  43 
  44 # 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 
  48 SYMBOL_VERSION SUNW_1.4 {
  49     global:
  50         SUNW_1.4;
  51 } SUNW_1.3;
  52 
  53 SYMBOL_VERSION SUNW_1.3 {
  54     global:
  55         SUNW_1.3;
  56 } SUNW_1.2;
  57 
  58 SYMBOL_VERSION SUNW_1.2 {
  59     global:
  60         SUNW_1.2;
  61 } SUNW_1.1;
  62 
  63 SYMBOL_VERSION SUNW_1.1 {
  64     global:
  65         SUNW_1.1;
  66 };
  67 
  68 SYMBOL_VERSION SUNWprivate_1.1 {
  69     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;
 127         Pgrab_ops;
 128         Pisprocdir;
 129         Pissyscall_prev;
 130         Plmid;
 131         Plmid_to_loadobj;
 132         Plmid_to_map;
 133         Plookup_by_addr;
 134         Plookup_by_name;
 135         Plwp_alt_stack;
 136         Plwp_getfpregs;
 137         Plwp_getpsinfo;
 138         Plwp_getregs;
 139         Plwp_getspymaster;
 140         Plwp_iter;
 141         Plwp_iter_all;
 142         Plwp_main_stack;
 143         Plwp_setfpregs;
 144         Plwp_setregs;
 145         Plwp_stack;
 146         Pmapping_iter;
 147         Pmapping_iter_resolved;
 148         Pname_to_ctf;
 149         Pname_to_loadobj;
 150         Pname_to_map;
 151         Pobject_iter;
 152         Pobject_iter_resolved;
 153         Pobjname;
 154         Pobjname_resolved;
 155         Pplatform;
 156         Ppltdest;
 157         Ppriv;
 158         Pprivinfo;
 159         Ppsinfo;
 160         Pputareg;
 161         pr_access;
 162         pr_close;
 163         pr_creat;
 164         Prd_agent;
 165         pr_door_info;
 166         Pread;
 167         Pread_string;
 168         Prelease;
 169         Preopen;
 170         Preset_maps;
 171         pr_exit;
 172         pr_fcntl;
 173         pr_fstat;
 174         pr_fstat64;
 175         pr_fstatvfs;
 176         pr_getitimer;
 177         pr_getpeername;
 178         pr_getpeerucred;
 179         pr_getprojid;
 180         pr_getrctl;
 181         pr_getrlimit;
 182         pr_getrlimit64;
 183         pr_getsockname;
 184         pr_getsockopt;
 185         pr_gettaskid;
 186         pr_getzoneid;
 187         pr_ioctl;
 188         pr_link;
 189         pr_llseek;
 190         pr_lseek;
 191         pr_lstat;
 192         pr_lstat64;
 193         pr_lwp_exit;
 194         pr_memcntl;
 195         pr_meminfo;
 196         pr_mmap;
 197         pr_munmap;
 198         proc_arg_grab;
 199         proc_arg_psinfo;
 200         proc_arg_xgrab;
 201         proc_arg_xpsinfo;
 202         proc_content2str;
 203         proc_finistdio;
 204         proc_fltname;
 205         proc_fltset2str;
 206         proc_flushstdio;
 207         proc_get_auxv;
 208         proc_get_cred;
 209         proc_get_priv;
 210         proc_get_psinfo;
 211         proc_get_status;
 212         proc_initstdio;
 213         proc_lwp_in_set;
 214         proc_lwp_range_valid;
 215         proc_signame;
 216         proc_sigset2str;
 217         proc_str2content;
 218         proc_str2flt;
 219         proc_str2fltset;
 220         proc_str2sig;
 221         proc_str2sigset;
 222         proc_str2sys;
 223         proc_str2sysset;
 224         proc_sysname;
 225         proc_sysset2str;
 226         proc_unctrl_psinfo;
 227         proc_walk;
 228         pr_open;
 229         pr_processor_bind;
 230         pr_rename;
 231         pr_setitimer;
 232         pr_setprojrctl;
 233         pr_setrctl;
 234         pr_setrlimit;
 235         pr_setrlimit64;
 236         pr_settaskid;
 237         pr_sigaction;
 238         pr_stat;
 239         pr_stat64;
 240         pr_statvfs;
 241         pr_unlink;
 242         pr_waitid;
 243         pr_zmap;
 244         Pset_procfs_path;
 245         Psetbkpt;
 246         Psetcred;
 247         Psetfault;
 248         Psetflags;
 249         Psetpriv;
 250         Psetrun;
 251         Psetsignal;
 252         Psetsysentry;
 253         Psetsysexit;
 254         Psetwapt;
 255         Psetzoneid;
 256         Psignal;
 257         ps_lcontinue;
 258         ps_lgetfpregs;
 259         ps_lgetregs;
 260         ps_lsetfpregs;
 261         ps_lsetregs;
 262         ps_lstop;
 263         ps_pauxv;
 264         ps_pbrandname;
 265         ps_pcontinue;
 266         ps_pdmodel;
 267         ps_pdread               { FLAGS = NODYNSORT };  # Alias of ps_pread
 268         ps_pdwrite              { FLAGS = NODYNSORT };  # Alias of ps_pwrite
 269         ps_pglobal_lookup;
 270         ps_pglobal_sym;
 271         ps_plog;
 272         ps_pread;
 273         ps_pstop;
 274         ps_ptread               { FLAGS = NODYNSORT };  # Alias of ps_pread
 275         ps_ptwrite              { FLAGS = NODYNSORT };  # Alias of ps_pwrite
 276         ps_pwrite;
 277         Pstack_iter;
 278         Pstate;
 279         Pstatus;
 280         Pstop;
 281         Pstopstatus;
 282         Psymbol_iter;
 283         Psymbol_iter_by_addr;
 284         Psymbol_iter_by_lmid;
 285         Psymbol_iter_by_name;
 286         Psync;
 287         Psyscall;
 288         Psysentry;
 289         Psysexit;
 290         Puname;
 291         Punsetflags;
 292         Pupdate_maps;
 293         Pupdate_syms;
 294         Pwait;
 295         Pwrite;
 296         Pxcreate;
 297         Pxecbkpt;
 298         Pxecwapt;
 299         Pxlookup_by_addr;
 300         Pxlookup_by_addr_resolved;
 301         Pxlookup_by_name;
 302         Pxsymbol_iter;
 303         Pzonename;
 304         Pzonepath;
 305         Pzoneroot;
 306         Pfdinfo_iter;
 307 
 308 $if _x86 && _ELF32
 309         Pldt;
 310         proc_get_ldt;
 311         ps_lgetLDT;
 312 $endif
 313 
 314 $if _sparc
 315         Plwp_getgwindows;
 316         Plwp_getxregs;
 317         Plwp_setxregs;
 318         ps_lgetxregs;
 319         ps_lgetxregsize;
 320         ps_lsetxregs;
 321 
 322 $if _ELF64
 323         Plwp_getasrs;
 324         Plwp_setasrs;
 325 $endif
 326 $endif
 327 
 328     local:
 329         *;
 330 };