summaryrefslogtreecommitdiff
path: root/usr/src/lib
diff options
context:
space:
mode:
authorAli Bahrami <Ali.Bahrami@Oracle.COM>2010-06-24 18:16:42 -0600
committerAli Bahrami <Ali.Bahrami@Oracle.COM>2010-06-24 18:16:42 -0600
commitcd3e933325e68e23516a196a8fea7f49b1e497c3 (patch)
treeb3d6fcc31c1e7dc60bd48d34239721e8a8b68cfe /usr/src/lib
parentf6f041a26ccdc2172df744c7a891423cabe01265 (diff)
downloadillumos-joyent-cd3e933325e68e23516a196a8fea7f49b1e497c3.tar.gz
6916796 OSnet mapfiles should use version 2 link-editor syntax
--HG-- rename : usr/src/cmd/sgs/libelf/common/mapfile-common => usr/src/cmd/sgs/libelf/common/mapfile-vers rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-bindings => usr/src/cmd/sgs/link_audit/common/mapfile-vers-bindings rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-perfcnt => usr/src/cmd/sgs/link_audit/common/mapfile-vers-perfcnt rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-symbindrep => usr/src/cmd/sgs/link_audit/common/mapfile-vers-symbindrep rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-truss => usr/src/cmd/sgs/link_audit/common/mapfile-vers-truss rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-who => usr/src/cmd/sgs/link_audit/common/mapfile-vers-who rename : usr/src/common/mapfiles/i386/map.noexdata => usr/src/common/mapfiles/common/map.noexdata rename : usr/src/lib/libaio/sparc/mapfile-vers => usr/src/lib/libaio/common/mapfile-vers rename : usr/src/lib/libelfsign/common/mapfile.map => usr/src/lib/libelfsign/common/mapfile-vers rename : usr/src/lib/libpthread/sparc/mapfile-vers => usr/src/lib/libpthread/common/mapfile-vers rename : usr/src/lib/librt/amd64/mapfile-vers => usr/src/lib/librt/common/mapfile-vers rename : usr/src/lib/libsys/sparc/mapfile-vers => usr/src/lib/libsys/common/mapfile-vers rename : usr/src/lib/libthread/sparc/mapfile-vers => usr/src/lib/libthread/common/mapfile-vers
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/README.mapfiles90
-rw-r--r--usr/src/lib/auditd_plugins/binfile/mapfile-vers7
-rw-r--r--usr/src/lib/auditd_plugins/remote/mapfile-vers7
-rw-r--r--usr/src/lib/auditd_plugins/syslog/mapfile-vers7
-rw-r--r--usr/src/lib/brand/shared/librtld_db/common/mapfile-vers28
-rw-r--r--usr/src/lib/brand/sn1/librtld_db/amd64/Makefile1
-rw-r--r--usr/src/lib/brand/sn1/librtld_db/sparcv9/Makefile1
-rw-r--r--usr/src/lib/brand/sn1/sn1_brand/common/mapfile-vers7
-rw-r--r--usr/src/lib/brand/solaris10/librtld_db/amd64/Makefile3
-rw-r--r--usr/src/lib/brand/solaris10/librtld_db/sparcv9/Makefile3
-rw-r--r--usr/src/lib/brand/solaris10/s10_brand/common/mapfile-vers7
-rw-r--r--usr/src/lib/brand/solaris10/s10_npreload/common/mapfile-vers7
-rw-r--r--usr/src/lib/c_synonyms/Makefile.com9
-rw-r--r--usr/src/lib/cfgadm_plugins/ac/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/fp/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/sbd/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/shp/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/sysctrl/common/mapfile-vers7
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers7
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/mapfile-vers7
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/mapfile-vers7
-rw-r--r--usr/src/lib/crypt_modules/sha256/mapfile-vers7
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/mapfile-vers7
-rw-r--r--usr/src/lib/efcode/extend/sparcv9/mapfile-extern9
-rw-r--r--usr/src/lib/efcode/interpreter/mapfile648
-rw-r--r--usr/src/lib/efcode/packages/mapfile-extern11
-rw-r--r--usr/src/lib/extendedFILE/common/mapfile-vers8
-rw-r--r--usr/src/lib/fm/libdiagcode/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/libdiskstatus/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/libfmd_adm/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/libfmd_agent/amd64/Makefile5
-rw-r--r--usr/src/lib/fm/libfmd_agent/common/mapfile-vers16
-rw-r--r--usr/src/lib/fm/libfmd_agent/i386/Makefile5
-rw-r--r--usr/src/lib/fm/libfmd_agent/i386/mapfile-vers49
-rw-r--r--usr/src/lib/fm/libfmd_agent/sparc/Makefile5
-rw-r--r--usr/src/lib/fm/libfmd_agent/sparc/mapfile-vers45
-rw-r--r--usr/src/lib/fm/libfmd_agent/sparcv9/Makefile5
-rw-r--r--usr/src/lib/fm/libfmd_agent/sparcv9/mapfile-vers45
-rw-r--r--usr/src/lib/fm/libfmd_log/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/libfmd_msg/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/libfmd_snmp/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/libfmevent/common/mapfile-vers9
-rw-r--r--usr/src/lib/fm/libldom/sparc/mapfile-vers7
-rw-r--r--usr/src/lib/fm/libmdesc/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/topo/libtopo/common/mapfile-vers7
-rw-r--r--usr/src/lib/fm/topo/libtopo/common/topo_mod.map126
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/backend/mapfile-vers7
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/dh1024/mapfile-vers7
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/dh192/mapfile-vers7
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/dh640/mapfile-vers7
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/mapfile-vers8
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean7
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/mapfile-vers7
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean7
-rw-r--r--usr/src/lib/hal/libhal-storage/common/mapfile-vers9
-rw-r--r--usr/src/lib/hal/libhal/common/mapfile-vers9
-rw-r--r--usr/src/lib/hbaapi/common/mapfile-vers9
-rw-r--r--usr/src/lib/krb5/dyn/mapfile-vers9
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/mapfile-vers7
-rw-r--r--usr/src/lib/krb5/kadm5/srv/mapfile-vers6
-rw-r--r--usr/src/lib/krb5/kdb/mapfile-vers9
-rw-r--r--usr/src/lib/krb5/plugins/kdb/db2/libdb2/mapfile-vers9
-rw-r--r--usr/src/lib/krb5/plugins/kdb/db2/mapfile-vers7
-rw-r--r--usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/mapfile-vers7
-rw-r--r--usr/src/lib/krb5/plugins/kdb/ldap/mapfile-vers7
-rw-r--r--usr/src/lib/krb5/plugins/preauth/pkinit/mapfile-vers7
-rw-r--r--usr/src/lib/krb5/ss/mapfile-vers7
-rw-r--r--usr/src/lib/libadm/Makefile.com7
-rw-r--r--usr/src/lib/libadm/amd64/mapfile-vers41
-rw-r--r--usr/src/lib/libadm/common/mapfile-vers48
-rw-r--r--usr/src/lib/libadm/i386/mapfile-vers60
-rw-r--r--usr/src/lib/libadm/sparc/mapfile-vers60
-rw-r--r--usr/src/lib/libadm/sparcv9/mapfile-vers60
-rw-r--r--usr/src/lib/libadt_jni/auditxml_jni7
-rw-r--r--usr/src/lib/libadutils/common/mapfile-vers4
-rw-r--r--usr/src/lib/libaio/Makefile.com4
-rw-r--r--usr/src/lib/libaio/amd64/mapfile-vers73
-rw-r--r--usr/src/lib/libaio/common/mapfile-vers (renamed from usr/src/lib/libaio/sparc/mapfile-vers)50
-rw-r--r--usr/src/lib/libaio/i386/mapfile-vers74
-rw-r--r--usr/src/lib/libaio/sparcv9/mapfile-vers73
-rw-r--r--usr/src/lib/libast/mapfile-vers6
-rw-r--r--usr/src/lib/libavl/mapfile-vers4
-rw-r--r--usr/src/lib/libbrand/common/mapfile-vers4
-rw-r--r--usr/src/lib/libbsdmalloc/common/mapfile-vers13
-rw-r--r--usr/src/lib/libbsm/common/mapfile-vers22
-rw-r--r--usr/src/lib/libc/amd64/Makefile5
-rw-r--r--usr/src/lib/libc/amd64/mapfile-vers788
-rw-r--r--usr/src/lib/libc/i386/Makefile.com5
-rw-r--r--usr/src/lib/libc/i386/mapfile-vers947
-rw-r--r--usr/src/lib/libc/i386_hwcap1/mapfile17
-rw-r--r--usr/src/lib/libc/i386_hwcap2/mapfile17
-rw-r--r--usr/src/lib/libc/i386_hwcap3/mapfile12
-rw-r--r--usr/src/lib/libc/port/mapfile-vers1689
-rw-r--r--usr/src/lib/libc/sparc/Makefile.com6
-rw-r--r--usr/src/lib/libc/sparc/mapfile-vers1002
-rw-r--r--usr/src/lib/libc/sparc/mapfile-vers-aux29
-rw-r--r--usr/src/lib/libc/sparc_hwcap1/sparc/mapfile9
-rw-r--r--usr/src/lib/libc/sparc_hwcap1/sparc/mapfile-vers-aux11
-rw-r--r--usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile9
-rw-r--r--usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile-vers-aux11
-rw-r--r--usr/src/lib/libc/sparcv9/Makefile.com6
-rw-r--r--usr/src/lib/libc/sparcv9/mapfile-vers825
-rw-r--r--usr/src/lib/libc/sparcv9/mapfile-vers-aux29
-rw-r--r--usr/src/lib/libc_db/common/mapfile-vers45
-rw-r--r--usr/src/lib/libc_psr/sun4u/mapfile-memcpy9
-rw-r--r--usr/src/lib/libc_psr/sun4u/mapfile-vers7
-rw-r--r--usr/src/lib/libc_psr/sun4u_hwcap2/mapfile17
-rw-r--r--usr/src/lib/libc_psr/sun4v/mapfile-vers9
-rw-r--r--usr/src/lib/libc_psr/sun4v_hwcap1/mapfile17
-rw-r--r--usr/src/lib/libc_psr/sun4v_hwcap2/mapfile14
-rw-r--r--usr/src/lib/libcfgadm/common/mapfile-vers11
-rw-r--r--usr/src/lib/libcmd/mapfile-vers12
-rw-r--r--usr/src/lib/libcmdutils/common/mapfile-vers7
-rw-r--r--usr/src/lib/libcommputil/common/mapfile-vers7
-rw-r--r--usr/src/lib/libcontract/common/mapfile-vers11
-rw-r--r--usr/src/lib/libcpc/Makefile.com7
-rw-r--r--usr/src/lib/libcpc/amd64/mapfile-vers42
-rw-r--r--usr/src/lib/libcpc/common/mapfile-vers47
-rw-r--r--usr/src/lib/libcpc/i386/mapfile-vers73
-rw-r--r--usr/src/lib/libcpc/sparc/mapfile-vers73
-rw-r--r--usr/src/lib/libcpc/sparcv9/mapfile-vers73
-rw-r--r--usr/src/lib/libcrypt/common/mapfile-vers21
-rw-r--r--usr/src/lib/libcryptoutil/common/mapfile-vers4
-rw-r--r--usr/src/lib/libctf/common/mapfile-vers9
-rw-r--r--usr/src/lib/libcurses/screen/mapfile-vers11
-rw-r--r--usr/src/lib/libdevice/mapfile-vers7
-rw-r--r--usr/src/lib/libdevid/mapfile-vers11
-rw-r--r--usr/src/lib/libdevinfo/mapfile-vers12
-rw-r--r--usr/src/lib/libdhcpagent/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdhcpdu/common/mapfile7
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers7
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/mapfile-vers7
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers7
-rw-r--r--usr/src/lib/libdhcpsvc/private/mapfile-vers7
-rw-r--r--usr/src/lib/libdhcputil/common/mapfile-vers9
-rw-r--r--usr/src/lib/libdisasm/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdiskmgt/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdladm/common/mapfile-vers4
-rw-r--r--usr/src/lib/libdll/mapfile-vers7
-rw-r--r--usr/src/lib/libdlpi/common/mapfile-vers10
-rw-r--r--usr/src/lib/libdns_sd/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdns_sd/java/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdoor/common/mapfile-vers29
-rw-r--r--usr/src/lib/libds/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdscfg/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdscp/mapfile-vers7
-rw-r--r--usr/src/lib/libdtrace/common/mapfile-vers7
-rw-r--r--usr/src/lib/libdtrace_jni/common/mapfile-vers7
-rw-r--r--usr/src/lib/libefi/common/mapfile-vers11
-rw-r--r--usr/src/lib/libelfsign/Makefile.com12
-rw-r--r--usr/src/lib/libelfsign/common/mapfile-vers (renamed from usr/src/lib/fm/libfmd_agent/amd64/mapfile-vers)37
-rw-r--r--usr/src/lib/libelfsign/common/mapfile.map73
-rw-r--r--usr/src/lib/libeti/form/amd64/Makefile7
-rw-r--r--usr/src/lib/libeti/form/common/mapfile-vers24
-rw-r--r--usr/src/lib/libeti/form/common/mapfile32-vers43
-rw-r--r--usr/src/lib/libeti/form/common/mapfile64-vers43
-rw-r--r--usr/src/lib/libeti/form/i386/Makefile7
-rw-r--r--usr/src/lib/libeti/form/sparc/Makefile7
-rw-r--r--usr/src/lib/libeti/form/sparcv9/Makefile7
-rw-r--r--usr/src/lib/libeti/menu/common/mapfile-vers9
-rw-r--r--usr/src/lib/libeti/panel/common/mapfile-vers9
-rw-r--r--usr/src/lib/libexacct/common/mapfile-vers13
-rw-r--r--usr/src/lib/libfcoe/common/mapfile-vers7
-rw-r--r--usr/src/lib/libfdisk/common/mapfile-vers7
-rw-r--r--usr/src/lib/libfru/libnvfru/mapfile-vers7
-rw-r--r--usr/src/lib/libfsmgt/common/mapfile-vers7
-rw-r--r--usr/src/lib/libfstyp/common/mapfile-vers9
-rw-r--r--usr/src/lib/libgen/Makefile.com7
-rw-r--r--usr/src/lib/libgen/amd64/Makefile7
-rw-r--r--usr/src/lib/libgen/common/mapfile-vers13
-rw-r--r--usr/src/lib/libgen/common/mapfile32-vers43
-rw-r--r--usr/src/lib/libgen/i386/Makefile7
-rw-r--r--usr/src/lib/libgen/sparc/Makefile7
-rw-r--r--usr/src/lib/libgen/sparcv9/Makefile7
-rw-r--r--usr/src/lib/libgrubmgmt/common/mapfile-vers21
-rw-r--r--usr/src/lib/libgss/mapfile-vers14
-rw-r--r--usr/src/lib/libhotplug/common/mapfile-vers7
-rw-r--r--usr/src/lib/libidmap/common/mapfile-vers4
-rw-r--r--usr/src/lib/libilb/common/mapfile-vers8
-rw-r--r--usr/src/lib/libima/common/mapfile-vers10
-rw-r--r--usr/src/lib/libinetsvc/common/mapfile-vers7
-rw-r--r--usr/src/lib/libinetutil/common/mapfile-vers7
-rw-r--r--usr/src/lib/libinstzones/common/mapfile-vers7
-rw-r--r--usr/src/lib/libintl/common/mapfile-vers23
-rw-r--r--usr/src/lib/libipmi/common/mapfile-vers4
-rw-r--r--usr/src/lib/libipmp/common/mapfile-vers7
-rw-r--r--usr/src/lib/libipp/mapfile-vers7
-rw-r--r--usr/src/lib/libipsecutil/common/mapfile-vers23
-rw-r--r--usr/src/lib/libiscsit/common/mapfile-vers10
-rw-r--r--usr/src/lib/libkmf/ber_der/common/mapfile-vers7
-rw-r--r--usr/src/lib/libkmf/libkmf/common/mapfile-vers6
-rw-r--r--usr/src/lib/libkmf/plugins/kmf_nss/common/mapfile-vers7
-rw-r--r--usr/src/lib/libkmf/plugins/kmf_openssl/common/mapfile-vers7
-rw-r--r--usr/src/lib/libkmf/plugins/kmf_pkcs11/common/mapfile-vers7
-rw-r--r--usr/src/lib/libkrb5/common/mapfile-vers571
-rw-r--r--usr/src/lib/libkstat/common/mapfile-vers9
-rw-r--r--usr/src/lib/libkvm/common/mapfile-vers9
-rw-r--r--usr/src/lib/libldap4/common/mapfile-vers11
-rw-r--r--usr/src/lib/libldap5/mapfile-vers13
-rw-r--r--usr/src/lib/liblgrp/common/mapfile-vers9
-rw-r--r--usr/src/lib/liblm/common/mapfile-vers7
-rw-r--r--usr/src/lib/libmail/amd64/Makefile7
-rw-r--r--usr/src/lib/libmail/common/mapfile-vers30
-rw-r--r--usr/src/lib/libmail/common/mapfile32-vers59
-rw-r--r--usr/src/lib/libmail/i386/Makefile7
-rw-r--r--usr/src/lib/libmail/sparc/Makefile7
-rw-r--r--usr/src/lib/libmail/sparcv9/Makefile7
-rw-r--r--usr/src/lib/libmalloc/common/mapfile-vers29
-rw-r--r--usr/src/lib/libmapid/common/mapfile-vers7
-rw-r--r--usr/src/lib/libmapmalloc/common/mapfile-vers25
-rw-r--r--usr/src/lib/libmd/common/mapfile-vers25
-rw-r--r--usr/src/lib/libmd/sun4u/sparc/mapfile7
-rw-r--r--usr/src/lib/libmd/sun4u/sparcv9/mapfile7
-rw-r--r--usr/src/lib/libmd/sun4v/sparc/mapfile7
-rw-r--r--usr/src/lib/libmd/sun4v/sparcv9/mapfile7
-rw-r--r--usr/src/lib/libmd5/common/mapfile-vers15
-rw-r--r--usr/src/lib/libmp/common/mapfile-vers9
-rw-r--r--usr/src/lib/libmp/common/mapfile_1-vers9
-rw-r--r--usr/src/lib/libmtmalloc/common/mapfile-vers25
-rw-r--r--usr/src/lib/libndmp/common/mapfile-vers7
-rw-r--r--usr/src/lib/libnisdb/mapfile-vers9
-rw-r--r--usr/src/lib/libnls/common/mapfile-vers9
-rw-r--r--usr/src/lib/libnsctl/common/mapfile-vers7
-rw-r--r--usr/src/lib/libnsl/Makefile.com1
-rw-r--r--usr/src/lib/libnsl/amd64/mapfile-vers187
-rw-r--r--usr/src/lib/libnsl/common/mapfile-vers215
-rw-r--r--usr/src/lib/libnsl/i386/mapfile-vers196
-rw-r--r--usr/src/lib/libnsl/sparc/mapfile-vers200
-rw-r--r--usr/src/lib/libnsl/sparcv9/mapfile-vers187
-rw-r--r--usr/src/lib/libntfs/common/mapfile-vers7
-rw-r--r--usr/src/lib/libnvpair/mapfile-vers19
-rw-r--r--usr/src/lib/libnwam/common/mapfile-vers7
-rw-r--r--usr/src/lib/libpam/mapfile-vers11
-rw-r--r--usr/src/lib/libparted/common/mapfile-vers9
-rw-r--r--usr/src/lib/libpcp/common/mapfile-vers7
-rw-r--r--usr/src/lib/libpctx/common/mapfile-vers9
-rw-r--r--usr/src/lib/libpicl/mapfile-vers11
-rw-r--r--usr/src/lib/libpicltree/mapfile-vers15
-rw-r--r--usr/src/lib/libpkg/common/mapfile-vers7
-rw-r--r--usr/src/lib/libplot/plot/common/mapfile-vers9
-rw-r--r--usr/src/lib/libplot/t300/common/mapfile-vers9
-rw-r--r--usr/src/lib/libplot/t300s/common/mapfile-vers9
-rw-r--r--usr/src/lib/libplot/t4014/common/mapfile-vers9
-rw-r--r--usr/src/lib/libplot/t450/common/mapfile-vers9
-rw-r--r--usr/src/lib/libplot/vt0/common/mapfile-vers9
-rw-r--r--usr/src/lib/libpool/common/mapfile-vers9
-rw-r--r--usr/src/lib/libpp/mapfile-vers7
-rw-r--r--usr/src/lib/libpri/common/mapfile-vers7
-rw-r--r--usr/src/lib/libproc/Makefile.com5
-rw-r--r--usr/src/lib/libproc/amd64/mapfile-vers42
-rw-r--r--usr/src/lib/libproc/common/mapfile-vers44
-rw-r--r--usr/src/lib/libproc/i386/mapfile-vers45
-rw-r--r--usr/src/lib/libproc/sparc/mapfile-vers48
-rw-r--r--usr/src/lib/libproc/sparcv9/mapfile-vers50
-rw-r--r--usr/src/lib/libproject/common/mapfile-vers11
-rw-r--r--usr/src/lib/libpthread/Makefile.com4
-rw-r--r--usr/src/lib/libpthread/amd64/mapfile-vers265
-rw-r--r--usr/src/lib/libpthread/common/mapfile-vers277
-rw-r--r--usr/src/lib/libpthread/i386/mapfile-vers269
-rw-r--r--usr/src/lib/libpthread/sparc/mapfile-vers269
-rw-r--r--usr/src/lib/libpthread/sparcv9/mapfile-vers265
-rw-r--r--usr/src/lib/libraidcfg/common/mapfile-vers7
-rw-r--r--usr/src/lib/librcm/mapfile-vers7
-rw-r--r--usr/src/lib/librdc/common/mapfile-vers7
-rw-r--r--usr/src/lib/libreparse/common/mapfile-vers7
-rw-r--r--usr/src/lib/libresolv/mapfile-vers17
-rw-r--r--usr/src/lib/libresolv2/common/mapfile-vers23
-rw-r--r--usr/src/lib/librestart/common/mapfile-vers7
-rw-r--r--usr/src/lib/librpcsvc/common/mapfile-vers11
-rw-r--r--usr/src/lib/librsm/common/mapfile-vers7
-rw-r--r--usr/src/lib/librstp/common/mapfile-vers7
-rw-r--r--usr/src/lib/librt/Makefile.com4
-rw-r--r--usr/src/lib/librt/amd64/mapfile-vers130
-rw-r--r--usr/src/lib/librt/common/mapfile-vers145
-rw-r--r--usr/src/lib/librt/i386/mapfile-vers139
-rw-r--r--usr/src/lib/librt/sparc/mapfile-vers139
-rw-r--r--usr/src/lib/librt/sparcv9/mapfile-vers130
-rw-r--r--usr/src/lib/libsasl/lib/mapfile-vers9
-rw-r--r--usr/src/lib/libscf/common/mapfile-vers8
-rw-r--r--usr/src/lib/libsched/common/mapfile-vers13
-rw-r--r--usr/src/lib/libsctp/common/mapfile-vers7
-rw-r--r--usr/src/lib/libsec/common/mapfile-vers13
-rw-r--r--usr/src/lib/libsecdb/common/mapfile-vers6
-rw-r--r--usr/src/lib/libsendfile/Makefile.com7
-rw-r--r--usr/src/lib/libsendfile/common/mapfile-vers13
-rw-r--r--usr/src/lib/libsendfile/common/mapfile32-vers44
-rw-r--r--usr/src/lib/libsendfile/i386/Makefile7
-rw-r--r--usr/src/lib/libsendfile/sparc/Makefile7
-rw-r--r--usr/src/lib/libshare/common/mapfile-vers4
-rw-r--r--usr/src/lib/libshare/nfs/mapfile-vers7
-rw-r--r--usr/src/lib/libshare/smb/mapfile-vers7
-rw-r--r--usr/src/lib/libshare/smbfs/mapfile-vers7
-rw-r--r--usr/src/lib/libshell/mapfile-vers9
-rw-r--r--usr/src/lib/libsip/common/mapfile-vers9
-rw-r--r--usr/src/lib/libsldap/common/mapfile-vers23
-rw-r--r--usr/src/lib/libslp/clib/mapfile-vers9
-rw-r--r--usr/src/lib/libsmbfs/smb/mapfile-vers11
-rw-r--r--usr/src/lib/libsmbios/common/mapfile-vers7
-rw-r--r--usr/src/lib/libsmedia/library/common/mapfile-vers7
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers7
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers7
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers7
-rw-r--r--usr/src/lib/libsocket/Makefile.com5
-rw-r--r--usr/src/lib/libsocket/amd64/mapfile-vers66
-rw-r--r--usr/src/lib/libsocket/common/mapfile-vers69
-rw-r--r--usr/src/lib/libsocket/i386/mapfile-vers66
-rw-r--r--usr/src/lib/libsocket/sparc/mapfile-vers70
-rw-r--r--usr/src/lib/libsocket/sparcv9/mapfile-vers66
-rw-r--r--usr/src/lib/libsqlite/mapfile-sqlite7
-rw-r--r--usr/src/lib/libstmf/common/mapfile-vers6
-rw-r--r--usr/src/lib/libstmfproxy/common/mapfile-vers10
-rw-r--r--usr/src/lib/libsum/mapfile-vers7
-rw-r--r--usr/src/lib/libsun_ima/common/mapfile-vers7
-rw-r--r--usr/src/lib/libsys/Makefile.com4
-rw-r--r--usr/src/lib/libsys/common/mapfile-vers (renamed from usr/src/lib/libsys/sparc/mapfile-vers)476
-rw-r--r--usr/src/lib/libsys/i386/mapfile-vers395
-rw-r--r--usr/src/lib/libsysevent/mapfile-vers11
-rw-r--r--usr/src/lib/libtecla/common/mapfile-vers15
-rw-r--r--usr/src/lib/libthread/Makefile.com4
-rw-r--r--usr/src/lib/libthread/amd64/mapfile-vers321
-rw-r--r--usr/src/lib/libthread/common/mapfile-vers369
-rw-r--r--usr/src/lib/libthread/i386/mapfile-vers327
-rw-r--r--usr/src/lib/libthread/sparc/mapfile-vers340
-rw-r--r--usr/src/lib/libthread/sparcv9/mapfile-vers322
-rw-r--r--usr/src/lib/libtnf/mapfile-vers7
-rw-r--r--usr/src/lib/libtnfctl/mapfile-vers9
-rw-r--r--usr/src/lib/libtnfprobe/Makefile.com6
-rw-r--r--usr/src/lib/libtnfprobe/amd64/mapfile-vers42
-rw-r--r--usr/src/lib/libtnfprobe/i386/mapfile-vers42
-rw-r--r--usr/src/lib/libtnfprobe/mapfile-vers14
-rw-r--r--usr/src/lib/libtnfprobe/sparc/mapfile-vers43
-rw-r--r--usr/src/lib/libtnfprobe/sparcv9/mapfile-vers43
-rw-r--r--usr/src/lib/libtsalarm/common/mapfile-vers7
-rw-r--r--usr/src/lib/libtsnet/common/mapfile-vers7
-rw-r--r--usr/src/lib/libtsol/common/mapfile-vers9
-rw-r--r--usr/src/lib/libumem/common/mapfile-vers21
-rw-r--r--usr/src/lib/libumem/common/stand_mapfile7
-rw-r--r--usr/src/lib/libunistat/common/mapfile-vers7
-rw-r--r--usr/src/lib/libuuid/common/mapfile-vers9
-rw-r--r--usr/src/lib/libuutil/common/mapfile-vers7
-rw-r--r--usr/src/lib/libvolmgt/common/mapfile-vers15
-rw-r--r--usr/src/lib/libvrrpadm/common/mapfile-vers7
-rw-r--r--usr/src/lib/libvscan/common/mapfile-vers7
-rw-r--r--usr/src/lib/libw/common/mapfile-vers173
-rw-r--r--usr/src/lib/libwanboot/common/mapfile-vers7
-rw-r--r--usr/src/lib/libwanbootutil/common/mapfile-vers7
-rw-r--r--usr/src/lib/libwrap/mapfile11
-rw-r--r--usr/src/lib/libxcurses/src/mapfile-vers11
-rw-r--r--usr/src/lib/libxcurses2/src/mapfile-vers11
-rw-r--r--usr/src/lib/libxnet/common/mapfile-vers236
-rw-r--r--usr/src/lib/libzfs/common/mapfile-vers4
-rw-r--r--usr/src/lib/libzfs_jni/common/mapfile-vers7
-rw-r--r--usr/src/lib/libzonecfg/common/mapfile-vers4
-rw-r--r--usr/src/lib/libzoneinfo/common/mapfile-vers7
-rw-r--r--usr/src/lib/lvm/libmeta/common/mapfile-vers77
-rw-r--r--usr/src/lib/lvm/libpreen/common/mapfile-vers13
-rw-r--r--usr/src/lib/lvm/libsvm/common/mapfile-vers7
-rw-r--r--usr/src/lib/mpapi/libmpapi/common/mapfile-vers7
-rw-r--r--usr/src/lib/mpapi/libmpscsi_vhci/common/mapfile-vers9
-rw-r--r--usr/src/lib/nametoaddr/straddr/common/mapfile-vers7
-rw-r--r--usr/src/lib/ncad_addr/Makefile.com7
-rw-r--r--usr/src/lib/ncad_addr/amd64/mapfile-vers46
-rw-r--r--usr/src/lib/ncad_addr/common/mapfile-vers39
-rw-r--r--usr/src/lib/ncad_addr/i386/mapfile-vers46
-rw-r--r--usr/src/lib/ncad_addr/sparc/mapfile-vers51
-rw-r--r--usr/src/lib/ncad_addr/sparcv9/mapfile-vers46
-rw-r--r--usr/src/lib/nsswitch/ad/common/mapfile-vers7
-rw-r--r--usr/src/lib/nsswitch/compat/common/mapfile-vers7
-rw-r--r--usr/src/lib/nsswitch/dns/common/mapfile-vers7
-rw-r--r--usr/src/lib/nsswitch/files/common/mapfile-vers7
-rw-r--r--usr/src/lib/nsswitch/ldap/common/mapfile-vers7
-rw-r--r--usr/src/lib/nsswitch/mdns/common/mapfile-vers7
-rw-r--r--usr/src/lib/nsswitch/nis/common/mapfile-vers7
-rw-r--r--usr/src/lib/nsswitch/user/common/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/allow/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/authtok_check/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/authtok_get/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/authtok_store/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/deny/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/dhkeys/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/dial_auth/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/krb5/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/ldap/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/list/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/roles/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/sample/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/smb/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/smbfs/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/tsol_acct/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/unix_account/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/unix_auth/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/unix_cred/mapfile-vers7
-rw-r--r--usr/src/lib/pam_modules/unix_session/mapfile-vers7
-rw-r--r--usr/src/lib/passwdutil/mapfile-vers7
-rw-r--r--usr/src/lib/pkcs11/libkcfd/common/mapfile-vers343
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers9
-rw-r--r--usr/src/lib/pkcs11/libsoftcrypto/common/mapfile-vers4
-rw-r--r--usr/src/lib/pkcs11/libsoftcrypto/sun4u/mapfile-vers4
-rw-r--r--usr/src/lib/pkcs11/libsoftcrypto/sun4v/mapfile-vers4
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers9
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers7
-rw-r--r--usr/src/lib/pkcs11/pkcs11_tpm/common/mapfile-vers7
-rw-r--r--usr/src/lib/policykit/libpolkit/common/mapfile-vers9
-rw-r--r--usr/src/lib/print/libhttp-core/common/mapfile7
-rw-r--r--usr/src/lib/print/libipp-core/common/mapfile7
-rw-r--r--usr/src/lib/print/libipp-listener/common/mapfile7
-rw-r--r--usr/src/lib/print/libpapi-common/common/mapfile111
-rw-r--r--usr/src/lib/print/libpapi-dynamic/common/mapfile196
-rw-r--r--usr/src/lib/print/libpapi-ipp/common/mapfile221
-rw-r--r--usr/src/lib/print/libpapi-lpd/common/mapfile271
-rw-r--r--usr/src/lib/print/libprint/common/mapfile-vers7
-rw-r--r--usr/src/lib/print/mod_ipp/mapfile7
-rw-r--r--usr/src/lib/pyzfs/common/mapfile-vers7
-rw-r--r--usr/src/lib/rpcsec_gss/mapfile-vers11
-rw-r--r--usr/src/lib/sasl_plugins/mapfile-vers7
-rw-r--r--usr/src/lib/scsi/libscsi/libscsi_api.map48
-rw-r--r--usr/src/lib/scsi/libscsi/mapfile-vers7
-rw-r--r--usr/src/lib/scsi/libses/libses_api.map84
-rw-r--r--usr/src/lib/scsi/libses/mapfile-vers7
-rw-r--r--usr/src/lib/smbsrv/libmlrpc/common/mapfile-vers7
-rw-r--r--usr/src/lib/smbsrv/libmlsvc/common/mapfile-vers9
-rw-r--r--usr/src/lib/smbsrv/libsmb/common/mapfile-vers4
-rw-r--r--usr/src/lib/smbsrv/libsmbns/common/mapfile-vers7
-rw-r--r--usr/src/lib/smbsrv/libsmbrdr/common/mapfile-vers7
-rw-r--r--usr/src/lib/smhba/common/mapfile-vers6
-rw-r--r--usr/src/lib/storage/liba5k/common/mapfile-vers7
-rw-r--r--usr/src/lib/storage/libg_fc/common/mapfile-vers7
-rw-r--r--usr/src/lib/sun_fc/common/mapfile-vers7
-rw-r--r--usr/src/lib/sun_sas/common/mapfile-vers7
-rw-r--r--usr/src/lib/udapl/libdat/common/mapfile-vers7
-rw-r--r--usr/src/lib/udapl/udapl_tavor/common/mapfile-vers7
-rw-r--r--usr/src/lib/watchmalloc/common/mapfile-vers23
439 files changed, 6355 insertions, 12437 deletions
diff --git a/usr/src/lib/README.mapfiles b/usr/src/lib/README.mapfiles
index 8c6b601c55..c94ffe8b91 100644
--- a/usr/src/lib/README.mapfiles
+++ b/usr/src/lib/README.mapfiles
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
Mapfiles and versioning in ON
@@ -55,16 +54,24 @@ you must do as a shared library developer if you:
2.0 What's a mapfile?
-Mapfiles are used to tell the link editor ("ld") all sorts of things about
+Mapfiles are used to tell the link-editor ("ld") all sorts of things about
how to generate an executable file or a shared object from a collection of
relocatable objects, such as generated by a compiler. For all the gory
details, see the Solaris Linker and Libraries Guide, which can be found
under http://docs.sun.com.
+There are two versions of the mapfile language accepted by the link-editor.
+Version 1 derives from AT&T System V Release 4 Unix. Version 2 is a newer
+syntax specific to Solaris. All mapfiles in the OSnet (ON consolidation) are
+required to use version 2 syntax. Note that every mapfile using version 2
+syntax must start with the line:
+
+ $mapfile_version 2
+
Here, we are only concerned with specifying externally-visible interfaces
for shared libraries (shared objects) and with specifying their versions
for ABI (Application Binary Interface) purposes. For these purposes, we
-only need to deal with a subset of the mapfile interfaces.
+only need to deal with a subset of the mapfile language.
There should be a "mapfile-vers" file associated with every shared library
and it should reside in the common source directory for that library, most
@@ -91,20 +98,22 @@ The structure of mapfile-vers is best explained by an example
(the license notification and copyright notice is omitted here
for brevity):
-SUNW_1.2 { # update to libwombat, Solaris 10
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 { # update to libwombat, Solaris 10
global:
wb_readv;
wb_stat;
wb_writev;
} SUNW_1.1;
-SUNW_1.1 { # first release of libwombat, Solaris 9
+SYMBOL_VERSION SUNW_1.1 { # first release of libwombat, Solaris 9
global:
wb_read;
wb_write;
};
-SUNWprivate { # private libwombat symbols
+SYMBOL_VERSION SUNWprivate { # private libwombat symbols
global:
wb_add;
wb_delete;
@@ -126,7 +135,7 @@ only one version should be used for the entire release.
So, for example, if an update to libwombat is made in Solaris 11,
you would add "SUNW_1.3" at the start of the mapfile:
-SUNW_1.3 { # update to libwombat, Solaris 11
+SYMBOL_VERSION SUNW_1.3 { # update to libwombat, Solaris 11
global:
wb_lseek;
} SUNW_1.2;
@@ -145,18 +154,36 @@ these two lines should appear in SUNW_1.1.
For maintainability, the list of names in each version block should
be sorted in dictionary order (sort -d). Please comply.
-In addition to the common mapfile:
+The version 2 mapfile language supports a simple mechanism for conditional
+input, in which lines in the mapfile apply only to a specific platform or
+ELFCLASS (32/64-bit). This mechanism works very much like the #if/#endif
+feature of the C preprocessor. For instance, the following mapfile declares
+a version SUNW_1.1 that always exports a symbol foo, and also exports
+the symbol bar on 32-bit sparc platforms:
+
+$mapfile_version
+SYMBOL_VERSION SUNW_1.1 {
+ foo;
+$if _sparc && _ELF32
+ bar;
+$endif
+};
+
+Conditional input can be used if there are ISA-specific library interfaces
+not common to all instances of the library. It is the preferred method for
+expressing platform specific items, as long as the differences are simple
+(which is almost always the case). For example, see libproc, or, if you
+are masochistic, libc or libnsl.
+
+In addition to conditional input, there is a second heavier weight mechanism
+for expressing ISA-specific differences. In addition to the common mapfile:
common/mapfile-vers
-some libraries require ISA-specific supplemental mapfiles, one in each
+some libraries may have ISA-specific supplemental mapfiles, one in each
of the ISA directories:
amd64/mapfile-vers
i386/mapfile-vers
sparc/mapfile-vers
sparcv9/mapfile-vers
-This is necessary only if there are ISA-specific library interfaces not
-common to all instances of the library. For example, see libproc, or,
-if you are masochistic, libc or libnsl.
-
The ISA-specific mapfiles look like the common mapfile, except that only
the ISA-specific names appear. The version names are the same as those
in the common mapfile, but only non-empty version instances are present
@@ -164,6 +191,11 @@ and no inheritance specification is present. The link-editor reads the
information from the common and ISA-specific mapfiles and merges them
in memory into a single description used to create the resulting object.
+ISA-specific mapfiles were used with the version 1 mapfile language, which
+lacked conditional input. Their use is rare now, as conditional input is
+generally preferred. However, it is important to use conditional input
+carefully, or the resulting mapfile can be extremly difficult to read.
+
-------------------------------------------------------------------------------
4.0 Making interface additions to an existing library
@@ -233,37 +265,39 @@ two successive minor versions. For example, the mapfile-vers file for
minor release "N+1" to reflect its inclusion of micro releases will
look like the following:
-SUNW_1.4 { # release N+1
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.4 { # release N+1
global:
...
} SUNW_1.3.2;
-SUNW_1.3.2 { # micro release 2 (e.g., release NU3)
+SYMBOL_VERSION SUNW_1.3.2 { # micro release 2 (e.g., release NU3)
global:
...
} SUNW_1.3.1;
-SUNW_1.3.1 { # micro release 1 (e.g., release NU2)
+SYMBOL_VERSION SUNW_1.3.1 { # micro release 1 (e.g., release NU2)
global:
...
} SUNW_1.3;
-SUNW_1.3 { # release N
+SYMBOL_VERSION SUNW_1.3 { # release N
global:
...
} SUNW_1.2;
-SUNW_1.2 { # release N-1
+SYMBOL_VERSION SUNW_1.2 { # release N-1
global:
...
} SUNW_1.1;
-SUNW_1.1 { # first release
+SYMBOL_VERSION SUNW_1.1 { # first release
global:
...
};
-SUNW_private { # same in all releases
+SYMBOL_VERSION SUNW_private { # same in all releases
global:
...
local:
@@ -298,7 +332,7 @@ deleted from the library and added to libc, then the mapfile for the
library has to have the interface's entry changed from:
getfoobar;
to:
- getfoobar = FUNCTION FILTER libc.so.1;
+ getfoobar { TYPE = FUNCTION; FILTER = libc.so.1 };
See, for example, libnsl's common/mapfile-vers file.
Follow the rules for adding a new interface for the necessary changes
@@ -384,12 +418,14 @@ how to organize the Makefiles.
The new common/mapfile-vers file would contain:
-SUNW_1.1 { # first release of libfoo
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 { # first release of libfoo
global:
...
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
...
local:
@@ -425,12 +461,14 @@ unchanged, but a new SUNWobsolete version is created with no symbols in it.
This becomes a tag by which the obsolescence of the library can be recognized.
There is no numbering of this version name.
-SUNWobsolete {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWobsolete {
global:
SUNWobsolete; # This is the only way to do it.
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
...
-------------------------------------------------------------------------------
diff --git a/usr/src/lib/auditd_plugins/binfile/mapfile-vers b/usr/src/lib/auditd_plugins/binfile/mapfile-vers
index 149970b340..45d96db896 100644
--- a/usr/src/lib/auditd_plugins/binfile/mapfile-vers
+++ b/usr/src/lib/auditd_plugins/binfile/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
auditd_plugin;
auditd_plugin_close;
diff --git a/usr/src/lib/auditd_plugins/remote/mapfile-vers b/usr/src/lib/auditd_plugins/remote/mapfile-vers
index d106c11906..6ec2f65afe 100644
--- a/usr/src/lib/auditd_plugins/remote/mapfile-vers
+++ b/usr/src/lib/auditd_plugins/remote/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
auditd_plugin;
auditd_plugin_close;
diff --git a/usr/src/lib/auditd_plugins/syslog/mapfile-vers b/usr/src/lib/auditd_plugins/syslog/mapfile-vers
index 149970b340..45d96db896 100644
--- a/usr/src/lib/auditd_plugins/syslog/mapfile-vers
+++ b/usr/src/lib/auditd_plugins/syslog/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
auditd_plugin;
auditd_plugin_close;
diff --git a/usr/src/lib/brand/shared/librtld_db/common/mapfile-vers b/usr/src/lib/brand/shared/librtld_db/common/mapfile-vers
index 571267a133..d7d8b53f06 100644
--- a/usr/src/lib/brand/shared/librtld_db/common/mapfile-vers
+++ b/usr/src/lib/brand/shared/librtld_db/common/mapfile-vers
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,21 +36,29 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
rtld_db_brand_ops32;
+
+$if _ELF64
+ rtld_db_brand_ops64;
+$endif
+
local:
*;
};
#Externally defined symbols
-{
+SYMBOL_SCOPE {
global:
- ps_pauxv = NODIRECT PARENT;
- ps_pdmodel = NODIRECT PARENT;
- ps_pglobal_lookup = NODIRECT PARENT;
- ps_pglobal_sym = NODIRECT PARENT;
- ps_plog = NODIRECT PARENT;
- ps_pread = NODIRECT PARENT;
- ps_pwrite = NODIRECT PARENT;
+ ps_pauxv { FLAGS = NODIRECT PARENT };
+ ps_pdmodel { FLAGS = NODIRECT PARENT };
+ ps_pglobal_lookup { FLAGS = NODIRECT PARENT };
+ ps_pglobal_sym { FLAGS = NODIRECT PARENT };
+ ps_plog { FLAGS = NODIRECT PARENT };
+ ps_pread { FLAGS = NODIRECT PARENT };
+ ps_pwrite { FLAGS = NODIRECT PARENT };
};
+
diff --git a/usr/src/lib/brand/sn1/librtld_db/amd64/Makefile b/usr/src/lib/brand/sn1/librtld_db/amd64/Makefile
index 2f81f1df30..266a688533 100644
--- a/usr/src/lib/brand/sn1/librtld_db/amd64/Makefile
+++ b/usr/src/lib/brand/sn1/librtld_db/amd64/Makefile
@@ -28,6 +28,5 @@ include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
CLOBBERFILES = $(ROOTLIBDIR64)/$(DYNLIB)
-DYNFLAGS += -M$(BRAND_SHARED)/librtld_db/common/mapfile-vers.64
install: all $(ROOTLIBS64)
diff --git a/usr/src/lib/brand/sn1/librtld_db/sparcv9/Makefile b/usr/src/lib/brand/sn1/librtld_db/sparcv9/Makefile
index 2f81f1df30..266a688533 100644
--- a/usr/src/lib/brand/sn1/librtld_db/sparcv9/Makefile
+++ b/usr/src/lib/brand/sn1/librtld_db/sparcv9/Makefile
@@ -28,6 +28,5 @@ include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
CLOBBERFILES = $(ROOTLIBDIR64)/$(DYNLIB)
-DYNFLAGS += -M$(BRAND_SHARED)/librtld_db/common/mapfile-vers.64
install: all $(ROOTLIBS64)
diff --git a/usr/src/lib/brand/sn1/sn1_brand/common/mapfile-vers b/usr/src/lib/brand/sn1/sn1_brand/common/mapfile-vers
index 0663f4bc19..29800204f8 100644
--- a/usr/src/lib/brand/sn1/sn1_brand/common/mapfile-vers
+++ b/usr/src/lib/brand/sn1/sn1_brand/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,10 +37,12 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Scope everything local -- our .init section is our only public interface.
#
-{
+SYMBOL_SCOPE {
local:
*;
};
diff --git a/usr/src/lib/brand/solaris10/librtld_db/amd64/Makefile b/usr/src/lib/brand/solaris10/librtld_db/amd64/Makefile
index 5bae7648ff..266a688533 100644
--- a/usr/src/lib/brand/solaris10/librtld_db/amd64/Makefile
+++ b/usr/src/lib/brand/solaris10/librtld_db/amd64/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
COBJS64 = brand_librtld_db64.o
@@ -28,6 +28,5 @@ include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
CLOBBERFILES = $(ROOTLIBDIR64)/$(DYNLIB)
-DYNFLAGS += -M$(BRAND_SHARED)/librtld_db/common/mapfile-vers.64
install: all $(ROOTLIBS64)
diff --git a/usr/src/lib/brand/solaris10/librtld_db/sparcv9/Makefile b/usr/src/lib/brand/solaris10/librtld_db/sparcv9/Makefile
index 5bae7648ff..266a688533 100644
--- a/usr/src/lib/brand/solaris10/librtld_db/sparcv9/Makefile
+++ b/usr/src/lib/brand/solaris10/librtld_db/sparcv9/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
COBJS64 = brand_librtld_db64.o
@@ -28,6 +28,5 @@ include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
CLOBBERFILES = $(ROOTLIBDIR64)/$(DYNLIB)
-DYNFLAGS += -M$(BRAND_SHARED)/librtld_db/common/mapfile-vers.64
install: all $(ROOTLIBS64)
diff --git a/usr/src/lib/brand/solaris10/s10_brand/common/mapfile-vers b/usr/src/lib/brand/solaris10/s10_brand/common/mapfile-vers
index 0663f4bc19..29800204f8 100644
--- a/usr/src/lib/brand/solaris10/s10_brand/common/mapfile-vers
+++ b/usr/src/lib/brand/solaris10/s10_brand/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,10 +37,12 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Scope everything local -- our .init section is our only public interface.
#
-{
+SYMBOL_SCOPE {
local:
*;
};
diff --git a/usr/src/lib/brand/solaris10/s10_npreload/common/mapfile-vers b/usr/src/lib/brand/solaris10/s10_npreload/common/mapfile-vers
index 182f914dbc..c1a3e8b3b2 100644
--- a/usr/src/lib/brand/solaris10/s10_npreload/common/mapfile-vers
+++ b/usr/src/lib/brand/solaris10/s10_npreload/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.0 {
local:
*;
};
diff --git a/usr/src/lib/c_synonyms/Makefile.com b/usr/src/lib/c_synonyms/Makefile.com
index cfea924839..ece376e15d 100644
--- a/usr/src/lib/c_synonyms/Makefile.com
+++ b/usr/src/lib/c_synonyms/Makefile.com
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = c_synonyms.a
@@ -55,7 +52,9 @@ synonym_list: ../syn_common ../syn2_common syn_isa
$(DYNLIB): mapfile-vers $(PICS)
mapfile-vers: ../syn_common ../syn2_common syn_isa
- echo "SUNWprivate_1.1 {\n global:" >mapfile-vers
+ echo "\$$mapfile_version 2\n\nSYMBOL_VERSION SUNWprivate_1.1 {\n" \
+ >mapfile-vers
+ echo " global:" >>mapfile-vers
$(CAT) ../syn_common syn_isa | \
$(SED) -e '/^#/d' -e '/^$$/d' -e 's/.*/ _&;/' >>mapfile-vers
$(CAT) ../syn2_common | \
diff --git a/usr/src/lib/cfgadm_plugins/ac/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/ac/common/mapfile-vers
index 9fed621db0..62d26d6b9b 100644
--- a/usr/src/lib/cfgadm_plugins/ac/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/ac/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_private_func;
diff --git a/usr/src/lib/cfgadm_plugins/fp/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/fp/common/mapfile-vers
index 0a45ce4ece..e0dd2bf462 100644
--- a/usr/src/lib/cfgadm_plugins/fp/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/fp/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_ap_id_cmp;
cfga_change_state;
diff --git a/usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers
index 3f6e58d469..cb08f9f389 100644
--- a/usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_help;
diff --git a/usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers
index 3f6e58d469..cb08f9f389 100644
--- a/usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_help;
diff --git a/usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers
index 3f6e58d469..cb08f9f389 100644
--- a/usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_help;
diff --git a/usr/src/lib/cfgadm_plugins/sbd/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/sbd/common/mapfile-vers
index 2399790fcd..0546d02b01 100644
--- a/usr/src/lib/cfgadm_plugins/sbd/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/sbd/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_version;
cfga_change_state;
diff --git a/usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers
index 3f6e58d469..cb08f9f389 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_help;
diff --git a/usr/src/lib/cfgadm_plugins/shp/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/shp/common/mapfile-vers
index 3f6e58d469..70211d1678 100644
--- a/usr/src/lib/cfgadm_plugins/shp/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/shp/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_help;
diff --git a/usr/src/lib/cfgadm_plugins/sysctrl/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/sysctrl/common/mapfile-vers
index 9fed621db0..62d26d6b9b 100644
--- a/usr/src/lib/cfgadm_plugins/sysctrl/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/sysctrl/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_private_func;
diff --git a/usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers
index 3f6e58d469..cb08f9f389 100644
--- a/usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers
+++ b/usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfga_change_state;
cfga_help;
diff --git a/usr/src/lib/crypt_modules/bsdbf/mapfile-vers b/usr/src/lib/crypt_modules/bsdbf/mapfile-vers
index f385d53472..5c3723a1f2 100644
--- a/usr/src/lib/crypt_modules/bsdbf/mapfile-vers
+++ b/usr/src/lib/crypt_modules/bsdbf/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.0 {
global:
crypt_genhash_impl;
crypt_gensalt_impl;
diff --git a/usr/src/lib/crypt_modules/bsdmd5/mapfile-vers b/usr/src/lib/crypt_modules/bsdmd5/mapfile-vers
index f385d53472..5c3723a1f2 100644
--- a/usr/src/lib/crypt_modules/bsdmd5/mapfile-vers
+++ b/usr/src/lib/crypt_modules/bsdmd5/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.0 {
global:
crypt_genhash_impl;
crypt_gensalt_impl;
diff --git a/usr/src/lib/crypt_modules/sha256/mapfile-vers b/usr/src/lib/crypt_modules/sha256/mapfile-vers
index 85aa7f2f85..48a8ed0746 100644
--- a/usr/src/lib/crypt_modules/sha256/mapfile-vers
+++ b/usr/src/lib/crypt_modules/sha256/mapfile-vers
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNW_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.0 {
global:
crypt_genhash_impl;
crypt_gensalt_impl;
diff --git a/usr/src/lib/crypt_modules/sunmd5/mapfile-vers b/usr/src/lib/crypt_modules/sunmd5/mapfile-vers
index f385d53472..5c3723a1f2 100644
--- a/usr/src/lib/crypt_modules/sunmd5/mapfile-vers
+++ b/usr/src/lib/crypt_modules/sunmd5/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.0 {
global:
crypt_genhash_impl;
crypt_gensalt_impl;
diff --git a/usr/src/lib/efcode/extend/sparcv9/mapfile-extern b/usr/src/lib/efcode/extend/sparcv9/mapfile-extern
index 69480bbef5..02211fe487 100644
--- a/usr/src/lib/efcode/extend/sparcv9/mapfile-extern
+++ b/usr/src/lib/efcode/extend/sparcv9/mapfile-extern
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,8 +35,10 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# External interface requirements
-{
+SYMBOL_SCOPE {
global:
- env = EXTERN;
+ env { FLAGS = EXTERN };
};
diff --git a/usr/src/lib/efcode/interpreter/mapfile64 b/usr/src/lib/efcode/interpreter/mapfile64
index 2e03b1a59c..736f4a333e 100644
--- a/usr/src/lib/efcode/interpreter/mapfile64
+++ b/usr/src/lib/efcode/interpreter/mapfile64
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -42,4 +41,7 @@
#
# MAPFILE HEADER END
#
-text = V0x80000000;
+
+$mapfile_version 2
+
+LOAD_SEGMENT text { VADDR = 0x80000000 };
diff --git a/usr/src/lib/efcode/packages/mapfile-extern b/usr/src/lib/efcode/packages/mapfile-extern
index 46a1b694b7..7860827aa7 100644
--- a/usr/src/lib/efcode/packages/mapfile-extern
+++ b/usr/src/lib/efcode/packages/mapfile-extern
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,9 +35,11 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# External interface requirements
-{
+SYMBOL_SCOPE {
global:
- fc_run_priv = EXTERN;
- search_for_fcode_file = EXTERN;
+ fc_run_priv { FLAGS = EXTERN };
+ search_for_fcode_file { FLAGS = EXTERN };
};
diff --git a/usr/src/lib/extendedFILE/common/mapfile-vers b/usr/src/lib/extendedFILE/common/mapfile-vers
index 5955b80548..8b52b43e23 100644
--- a/usr/src/lib/extendedFILE/common/mapfile-vers
+++ b/usr/src/lib/extendedFILE/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,10 @@
#
# MAPFILE HEADER END
#
-{
+
+$mapfile_version 2
+
+SYMBOL_SCOPE {
local:
*;
};
diff --git a/usr/src/lib/fm/libdiagcode/common/mapfile-vers b/usr/src/lib/fm/libdiagcode/common/mapfile-vers
index e9e1a1c3e1..c26aec645d 100644
--- a/usr/src/lib/fm/libdiagcode/common/mapfile-vers
+++ b/usr/src/lib/fm/libdiagcode/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
fm_dc_closedict;
fm_dc_code2key;
diff --git a/usr/src/lib/fm/libdiskstatus/common/mapfile-vers b/usr/src/lib/fm/libdiskstatus/common/mapfile-vers
index 63f783f5a4..a4df28e85c 100644
--- a/usr/src/lib/fm/libdiskstatus/common/mapfile-vers
+++ b/usr/src/lib/fm/libdiskstatus/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
disk_status_close;
disk_status_errmsg;
diff --git a/usr/src/lib/fm/libfmd_adm/common/mapfile-vers b/usr/src/lib/fm/libfmd_adm/common/mapfile-vers
index 2720d66a30..76b9b85cb4 100644
--- a/usr/src/lib/fm/libfmd_adm/common/mapfile-vers
+++ b/usr/src/lib/fm/libfmd_adm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
fmd_adm_case_iter;
fmd_adm_case_repair;
diff --git a/usr/src/lib/fm/libfmd_agent/amd64/Makefile b/usr/src/lib/fm/libfmd_agent/amd64/Makefile
index 9d7e1ecabc..92de54697e 100644
--- a/usr/src/lib/fm/libfmd_agent/amd64/Makefile
+++ b/usr/src/lib/fm/libfmd_agent/amd64/Makefile
@@ -19,13 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
include ../../../Makefile.lib.64
-MAPFILES += mapfile-vers
-
install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
diff --git a/usr/src/lib/fm/libfmd_agent/common/mapfile-vers b/usr/src/lib/fm/libfmd_agent/common/mapfile-vers
index b4cd5282f8..4927478847 100644
--- a/usr/src/lib/fm/libfmd_agent/common/mapfile-vers
+++ b/usr/src/lib/fm/libfmd_agent/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
fmd_agent_open;
fmd_agent_close;
@@ -48,6 +49,15 @@ SUNWprivate {
fmd_agent_page_unretire;
fmd_agent_page_isretired;
+$if _x86
+ fmd_agent_physcpu_info;
+$if _ELF32
+ fmd_agent_cpu_retire;
+ fmd_agent_cpu_isretired;
+ fmd_agent_cpu_unretire;
+$endif
+$endif
+
local:
*;
};
diff --git a/usr/src/lib/fm/libfmd_agent/i386/Makefile b/usr/src/lib/fm/libfmd_agent/i386/Makefile
index f933588790..7c23244ca8 100644
--- a/usr/src/lib/fm/libfmd_agent/i386/Makefile
+++ b/usr/src/lib/fm/libfmd_agent/i386/Makefile
@@ -19,12 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
-MAPFILES += mapfile-vers
-
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/libfmd_agent/i386/mapfile-vers b/usr/src/lib/fm/libfmd_agent/i386/mapfile-vers
deleted file mode 100644
index 7986bb1cde..0000000000
--- a/usr/src/lib/fm/libfmd_agent/i386/mapfile-vers
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate {
- global:
- fmd_agent_physcpu_info;
- fmd_agent_cpu_retire;
- fmd_agent_cpu_isretired;
- fmd_agent_cpu_unretire;
-
- local:
- *;
-};
diff --git a/usr/src/lib/fm/libfmd_agent/sparc/Makefile b/usr/src/lib/fm/libfmd_agent/sparc/Makefile
index f933588790..7c23244ca8 100644
--- a/usr/src/lib/fm/libfmd_agent/sparc/Makefile
+++ b/usr/src/lib/fm/libfmd_agent/sparc/Makefile
@@ -19,12 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
-MAPFILES += mapfile-vers
-
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/libfmd_agent/sparc/mapfile-vers b/usr/src/lib/fm/libfmd_agent/sparc/mapfile-vers
deleted file mode 100644
index 0c118c33e7..0000000000
--- a/usr/src/lib/fm/libfmd_agent/sparc/mapfile-vers
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate {
- global:
-
- local:
- *;
-};
diff --git a/usr/src/lib/fm/libfmd_agent/sparcv9/Makefile b/usr/src/lib/fm/libfmd_agent/sparcv9/Makefile
index 9d7e1ecabc..92de54697e 100644
--- a/usr/src/lib/fm/libfmd_agent/sparcv9/Makefile
+++ b/usr/src/lib/fm/libfmd_agent/sparcv9/Makefile
@@ -19,13 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
include ../../../Makefile.lib.64
-MAPFILES += mapfile-vers
-
install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
diff --git a/usr/src/lib/fm/libfmd_agent/sparcv9/mapfile-vers b/usr/src/lib/fm/libfmd_agent/sparcv9/mapfile-vers
deleted file mode 100644
index 0c118c33e7..0000000000
--- a/usr/src/lib/fm/libfmd_agent/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate {
- global:
-
- local:
- *;
-};
diff --git a/usr/src/lib/fm/libfmd_log/common/mapfile-vers b/usr/src/lib/fm/libfmd_log/common/mapfile-vers
index 8baaea8a33..387e41b992 100644
--- a/usr/src/lib/fm/libfmd_log/common/mapfile-vers
+++ b/usr/src/lib/fm/libfmd_log/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
fmd_log_close;
fmd_log_errmsg;
diff --git a/usr/src/lib/fm/libfmd_msg/common/mapfile-vers b/usr/src/lib/fm/libfmd_msg/common/mapfile-vers
index cdb5e37b18..2c36a033be 100644
--- a/usr/src/lib/fm/libfmd_msg/common/mapfile-vers
+++ b/usr/src/lib/fm/libfmd_msg/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
# MAPFILE HEADER START
#
@@ -35,7 +34,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
fmd_msg_fini;
fmd_msg_getitem_id;
diff --git a/usr/src/lib/fm/libfmd_snmp/common/mapfile-vers b/usr/src/lib/fm/libfmd_snmp/common/mapfile-vers
index 73ab2875a0..b2be7713f3 100644
--- a/usr/src/lib/fm/libfmd_snmp/common/mapfile-vers
+++ b/usr/src/lib/fm/libfmd_snmp/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
fmd_fmri_alloc;
fmd_fmri_error;
diff --git a/usr/src/lib/fm/libfmevent/common/mapfile-vers b/usr/src/lib/fm/libfmevent/common/mapfile-vers
index 759c7ae124..732242af37 100644
--- a/usr/src/lib/fm/libfmevent/common/mapfile-vers
+++ b/usr/src/lib/fm/libfmevent/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
fmev_attr_list;
fmev_class;
@@ -65,7 +66,7 @@ SUNW_1.1 {
*;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
__fmev_errno;
local:
diff --git a/usr/src/lib/fm/libldom/sparc/mapfile-vers b/usr/src/lib/fm/libldom/sparc/mapfile-vers
index 9988147dc9..5b7f6d71e3 100644
--- a/usr/src/lib/fm/libldom/sparc/mapfile-vers
+++ b/usr/src/lib/fm/libldom/sparc/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
ldom_fini;
ldom_find_id;
diff --git a/usr/src/lib/fm/libmdesc/common/mapfile-vers b/usr/src/lib/fm/libmdesc/common/mapfile-vers
index 009a966b3e..794766921e 100644
--- a/usr/src/lib/fm/libmdesc/common/mapfile-vers
+++ b/usr/src/lib/fm/libmdesc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
md_find_name;
md_find_node_prop;
diff --git a/usr/src/lib/fm/topo/libtopo/common/mapfile-vers b/usr/src/lib/fm/topo/libtopo/common/mapfile-vers
index edcee2ae3b..b8aba822c2 100644
--- a/usr/src/lib/fm/topo/libtopo/common/mapfile-vers
+++ b/usr/src/lib/fm/topo/libtopo/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
topo_close;
topo_debug_set;
diff --git a/usr/src/lib/fm/topo/libtopo/common/topo_mod.map b/usr/src/lib/fm/topo/libtopo/common/topo_mod.map
index 160d9f461f..44b62bdf7f 100644
--- a/usr/src/lib/fm/topo/libtopo/common/topo_mod.map
+++ b/usr/src/lib/fm/topo/libtopo/common/topo_mod.map
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -22,73 +21,74 @@
# CDDL HEADER END
#
-{
- topo_node_range_create = FUNCTION extern;
- topo_node_range_destroy = FUNCTION extern;
- topo_node_bind = FUNCTION extern;
- topo_node_unbind = FUNCTION extern;
- topo_node_name = FUNCTION extern;
- topo_node_setspecific = FUNCTION extern;
- topo_node_getspecific = FUNCTION extern;
- topo_node_instance = FUNCTION extern;
+$mapfile_version 2
- topo_mod_alloc = FUNCTION extern;
- topo_mod_zalloc = FUNCTION extern;
- topo_mod_free = FUNCTION extern;
- topo_mod_nvalloc = FUNCTION extern;
- topo_mod_nvdup = FUNCTION extern;
- topo_mod_strfree = FUNCTION extern;
- topo_mod_strdup = FUNCTION extern;
+SYMBOL_SCOPE {
+ topo_node_range_create { TYPE = FUNCTION; FLAGS = extern };
+ topo_node_range_destroy { TYPE = FUNCTION; FLAGS = extern };
+ topo_node_bind { TYPE = FUNCTION; FLAGS = extern };
+ topo_node_unbind { TYPE = FUNCTION; FLAGS = extern };
+ topo_node_name { TYPE = FUNCTION; FLAGS = extern };
+ topo_node_setspecific { TYPE = FUNCTION; FLAGS = extern };
+ topo_node_getspecific { TYPE = FUNCTION; FLAGS = extern };
+ topo_node_instance { TYPE = FUNCTION; FLAGS = extern };
- topo_mod_clrdebug = FUNCTION extern;
- topo_mod_setdebug = FUNCTION extern;
- topo_mod_dprintf = FUNCTION extern;
- topo_mod_errmsg = FUNCTION extern;
- topo_mod_errno = FUNCTION extern;
+ topo_mod_alloc { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_zalloc { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_free { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_nvalloc { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_nvdup { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_strfree { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_strdup { TYPE = FUNCTION; FLAGS = extern };
- topo_mod_load = FUNCTION extern;
- topo_mod_unload = FUNCTION extern;
- topo_mod_register = FUNCTION extern;
- topo_mod_unregister = FUNCTION extern;
- topo_mod_enumerate = FUNCTION extern;
- topo_mod_enummap = FUNCTION extern;
- topo_mod_release = FUNCTION extern;
- topo_mod_getspecific = FUNCTION extern;
- topo_mod_setspecific = FUNCTION extern;
- topo_mod_hcfmri = FUNCTION extern;
- topo_mod_devfmri = FUNCTION extern;
- topo_mod_cpufmri = FUNCTION extern;
- topo_mod_pkgfmri = FUNCTION extern;
- topo_mod_modfmri = FUNCTION extern;
- topo_mod_nvl2str = FUNCTION extern;
- topo_mod_str2nvl = FUNCTION extern;
- topo_mod_auth = FUNCTION extern;
+ topo_mod_clrdebug { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_setdebug { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_dprintf { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_errmsg { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_errno { TYPE = FUNCTION; FLAGS = extern };
- topo_mod_walk_init = FUNCTION extern;
+ topo_mod_load { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_unload { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_register { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_unregister { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_enumerate { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_enummap { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_release { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_getspecific { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_setspecific { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_hcfmri { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_devfmri { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_cpufmri { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_pkgfmri { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_modfmri { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_nvl2str { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_str2nvl { TYPE = FUNCTION; FLAGS = extern };
+ topo_mod_auth { TYPE = FUNCTION; FLAGS = extern };
- topo_mod_smbios = FUNCTION extern;
+ topo_mod_walk_init { TYPE = FUNCTION; FLAGS = extern };
- topo_method_register = FUNCTION extern;
- topo_method_unregister = FUNCTION extern;
- topo_method_unregister_all = FUNCTION extern;
- topo_method_invoke = FUNCTION extern;
- topo_method_sensor_failure = FUNCTION extern;
+ topo_mod_smbios { TYPE = FUNCTION; FLAGS = extern };
- topo_prop_method_register = FUNCTION extern;
- topo_prop_method_unregister = FUNCTION extern;
- topo_prop_set_int32 = FUNCTION extern;
- topo_prop_set_uint32 = FUNCTION extern;
- topo_prop_set_int64 = FUNCTION extern;
- topo_prop_set_uint64 = FUNCTION extern;
- topo_prop_set_string = FUNCTION extern;
- topo_prop_set_fmri = FUNCTION extern;
- topo_prop_set_int32_array = FUNCTION extern;
- topo_prop_set_uint32_array = FUNCTION extern;
- topo_prop_set_int64_array = FUNCTION extern;
- topo_prop_set_uint64_array = FUNCTION extern;
- topo_prop_set_string_array = FUNCTION extern;
- topo_prop_set_fmri_array = FUNCTION extern;
- topo_prop_inherit = FUNCTION extern;
- topo_pgroup_create = FUNCTION extern;
+ topo_method_register { TYPE = FUNCTION; FLAGS = extern };
+ topo_method_unregister { TYPE = FUNCTION; FLAGS = extern };
+ topo_method_unregister_all { TYPE = FUNCTION; FLAGS = extern };
+ topo_method_invoke { TYPE = FUNCTION; FLAGS = extern };
+ topo_method_sensor_failure { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_method_register { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_method_unregister { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_int32 { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_uint32 { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_int64 { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_uint64 { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_string { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_fmri { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_int32_array { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_uint32_array { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_int64_array { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_uint64_array { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_string_array { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_set_fmri_array { TYPE = FUNCTION; FLAGS = extern };
+ topo_prop_inherit { TYPE = FUNCTION; FLAGS = extern };
+ topo_pgroup_create { TYPE = FUNCTION; FLAGS = extern };
};
diff --git a/usr/src/lib/gss_mechs/mech_dh/backend/mapfile-vers b/usr/src/lib/gss_mechs/mech_dh/backend/mapfile-vers
index 720185b45e..b5ad1c7a6a 100644
--- a/usr/src/lib/gss_mechs/mech_dh/backend/mapfile-vers
+++ b/usr/src/lib/gss_mechs/mech_dh/backend/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -39,7 +38,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__dh_gss_initialize;
__DH_GSS_C_NT_NETNAME;
diff --git a/usr/src/lib/gss_mechs/mech_dh/dh1024/mapfile-vers b/usr/src/lib/gss_mechs/mech_dh/dh1024/mapfile-vers
index b01e7d40b6..210f16eaa1 100644
--- a/usr/src/lib/gss_mechs/mech_dh/dh1024/mapfile-vers
+++ b/usr/src/lib/gss_mechs/mech_dh/dh1024/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -39,7 +38,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
gss_mech_initialize; # Entry point for libgss
diff --git a/usr/src/lib/gss_mechs/mech_dh/dh192/mapfile-vers b/usr/src/lib/gss_mechs/mech_dh/dh192/mapfile-vers
index b01e7d40b6..210f16eaa1 100644
--- a/usr/src/lib/gss_mechs/mech_dh/dh192/mapfile-vers
+++ b/usr/src/lib/gss_mechs/mech_dh/dh192/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -39,7 +38,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
gss_mech_initialize; # Entry point for libgss
diff --git a/usr/src/lib/gss_mechs/mech_dh/dh640/mapfile-vers b/usr/src/lib/gss_mechs/mech_dh/dh640/mapfile-vers
index b01e7d40b6..210f16eaa1 100644
--- a/usr/src/lib/gss_mechs/mech_dh/dh640/mapfile-vers
+++ b/usr/src/lib/gss_mechs/mech_dh/dh640/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -39,7 +38,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
gss_mech_initialize; # Entry point for libgss
diff --git a/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers
index ecf3a647d7..d87ac78aed 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers
+++ b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers
@@ -20,6 +20,8 @@
#
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
+
+#
# MAPFILE HEADER START
#
# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
@@ -37,12 +39,14 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
adb_error_table;
add_com_err_hook;
diff --git a/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean
index ba72663378..e9f4619d47 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean
+++ b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
gss_mech_initialize;
mit_afs_string_to_key;
diff --git a/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers
index 7320f4a5bb..98baa33346 100644
--- a/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers
+++ b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
spnego_gss_accept_sec_context;
spnego_gss_acquire_cred;
diff --git a/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean
index ba2f5edf67..777c2c8d9a 100644
--- a/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean
+++ b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
gss_mech_initialize;
};
diff --git a/usr/src/lib/hal/libhal-storage/common/mapfile-vers b/usr/src/lib/hal/libhal-storage/common/mapfile-vers
index 0ba4749926..5bd4271b32 100644
--- a/usr/src/lib/hal/libhal-storage/common/mapfile-vers
+++ b/usr/src/lib/hal/libhal-storage/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
libhal_storage_policy_new;
libhal_storage_policy_free;
@@ -124,7 +125,7 @@ SUNW_1.1 {
libhal_volume_policy_get_mount_fs;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/hal/libhal/common/mapfile-vers b/usr/src/lib/hal/libhal/common/mapfile-vers
index c6b1fca536..fae81b85c3 100644
--- a/usr/src/lib/hal/libhal/common/mapfile-vers
+++ b/usr/src/lib/hal/libhal/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
libhal_ctx_new;
libhal_ctx_set_cache;
@@ -130,7 +131,7 @@ SUNW_1.1 {
libhal_device_addon_is_ready;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/hbaapi/common/mapfile-vers b/usr/src/lib/hbaapi/common/mapfile-vers
index 40801fd1cf..7252d66360 100644
--- a/usr/src/lib/hbaapi/common/mapfile-vers
+++ b/usr/src/lib/hbaapi/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
HBA_GetVersion;
HBA_GetWrapperLibraryAttributes;
@@ -69,7 +70,7 @@ SUNW_1.1 {
*;
};
-SUNW_2.0 {
+SYMBOL_VERSION SUNW_2.0 {
global:
HBA_GetVendorLibraryAttributes;
HBA_OpenAdapterByWWN;
diff --git a/usr/src/lib/krb5/dyn/mapfile-vers b/usr/src/lib/krb5/dyn/mapfile-vers
index 95e2fd0343..94a511275b 100644
--- a/usr/src/lib/krb5/dyn/mapfile-vers
+++ b/usr/src/lib/krb5/dyn/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,12 +40,14 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
DynAdd;
DynAppend;
diff --git a/usr/src/lib/krb5/kadm5/clnt/mapfile-vers b/usr/src/lib/krb5/kadm5/clnt/mapfile-vers
index 7c3bfaa798..c7595bdb7c 100644
--- a/usr/src/lib/krb5/kadm5/clnt/mapfile-vers
+++ b/usr/src/lib/krb5/kadm5/clnt/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_kadm5_get_kpasswd_protocol;
chpass_principal3_2;
diff --git a/usr/src/lib/krb5/kadm5/srv/mapfile-vers b/usr/src/lib/krb5/kadm5/srv/mapfile-vers
index 1249ea45dd..20f09393f0 100644
--- a/usr/src/lib/krb5/kadm5/srv/mapfile-vers
+++ b/usr/src/lib/krb5/kadm5/srv/mapfile-vers
@@ -39,12 +39,14 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__kadm5_get_priv;
_kadm5_get_kpasswd_protocol;
diff --git a/usr/src/lib/krb5/kdb/mapfile-vers b/usr/src/lib/krb5/kdb/mapfile-vers
index e59909dca6..da493e0dfa 100644
--- a/usr/src/lib/krb5/kdb/mapfile-vers
+++ b/usr/src/lib/krb5/kdb/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,12 +40,14 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
krb5_db_alloc;
krb5_db_create;
diff --git a/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mapfile-vers b/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mapfile-vers
index 69660769a9..8bd3f7ebf7 100644
--- a/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mapfile-vers
+++ b/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,12 +40,14 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
kdb2_bt_rseq;
kdb2_dbm_clearerr;
diff --git a/usr/src/lib/krb5/plugins/kdb/db2/mapfile-vers b/usr/src/lib/krb5/plugins/kdb/db2/mapfile-vers
index 9f7e4e9ff9..d2b91c0614 100644
--- a/usr/src/lib/krb5/plugins/kdb/db2/mapfile-vers
+++ b/usr/src/lib/krb5/plugins/kdb/db2/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,7 +40,9 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
kdb_function_table;
local:
diff --git a/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/mapfile-vers b/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/mapfile-vers
index 5ca0676aff..3b56f17b95 100644
--- a/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/mapfile-vers
+++ b/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
krb5_ldap_free;
krb5_ldap_open;
diff --git a/usr/src/lib/krb5/plugins/kdb/ldap/mapfile-vers b/usr/src/lib/krb5/plugins/kdb/ldap/mapfile-vers
index 8b97fed824..35851d60b1 100644
--- a/usr/src/lib/krb5/plugins/kdb/ldap/mapfile-vers
+++ b/usr/src/lib/krb5/plugins/kdb/ldap/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
kdb_function_table;
local:
diff --git a/usr/src/lib/krb5/plugins/preauth/pkinit/mapfile-vers b/usr/src/lib/krb5/plugins/preauth/pkinit/mapfile-vers
index 759a217e1f..352586b973 100644
--- a/usr/src/lib/krb5/plugins/preauth/pkinit/mapfile-vers
+++ b/usr/src/lib/krb5/plugins/preauth/pkinit/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,7 +41,9 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
preauthentication_client_1;
preauthentication_server_1;
diff --git a/usr/src/lib/krb5/ss/mapfile-vers b/usr/src/lib/krb5/ss/mapfile-vers
index fd4fd60578..a92c5d4731 100644
--- a/usr/src/lib/krb5/ss/mapfile-vers
+++ b/usr/src/lib/krb5/ss/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ss_abort_subsystem;
ss_add_info_dir;
diff --git a/usr/src/lib/libadm/Makefile.com b/usr/src/lib/libadm/Makefile.com
index 9e8f1299cf..58420e2cfc 100644
--- a/usr/src/lib/libadm/Makefile.com
+++ b/usr/src/lib/libadm/Makefile.com
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY= libadm.a
@@ -44,8 +41,6 @@ include ../../Makefile.rootfs
LIBS= $(DYNLIB) $(LINTLIB)
SRCDIR= ../common
-MAPFILES += mapfile-vers
-
CPPFLAGS += -I ../inc
$(LINTLIB) := SRCS=$(SRCDIR)/$(LINTSRC)
diff --git a/usr/src/lib/libadm/amd64/mapfile-vers b/usr/src/lib/libadm/amd64/mapfile-vers
deleted file mode 100644
index 6e47fe847e..0000000000
--- a/usr/src/lib/libadm/amd64/mapfile-vers
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-# This mapfile is empty, on purpose.
-# Look at the mapfiles under i386, sparc and sparcv9 for content.
diff --git a/usr/src/lib/libadm/common/mapfile-vers b/usr/src/lib/libadm/common/mapfile-vers
index ba493269d8..78db9864f1 100644
--- a/usr/src/lib/libadm/common/mapfile-vers
+++ b/usr/src/lib/libadm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
read_extvtoc;
write_extvtoc;
@@ -47,19 +48,19 @@ SUNW_1.2 {
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
pkgdir;
read_vtoc;
write_vtoc;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_adddevtabrec;
_adddgrptabrec;
@@ -163,3 +164,38 @@ SUNWprivate_1.1 {
local:
*;
};
+
+
+$if _sparc || (_x86 && _ELF32)
+# The following applies to sparc (32/64-bit), and 32-bit x86:
+#
+# It was a mistake ever to have exported these symbols from libadm.
+# They are now being redirected to libgen where they really belong,
+# except for 'circf' and 'sed', which do not exist in libgen and
+# are being retained as dummy variables in libadm.
+
+SYMBOL_VERSION SUNW_0.7 {
+ global:
+ circf;
+ sed;
+ nbra { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
+$if _ELF32
+ loc1 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
+ loc2 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
+ locs { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
+$elif _ELF64
+ loc1 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
+ loc2 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
+ locs { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
+$else
+$error unknown ELFCLASS
+$endif
+};
+
+SYMBOL_VERSION SUNWprivate_1.1 {
+ global:
+ advance { TYPE = FUNCTION; FILTER = libgen.so.1 };
+ compile { TYPE = FUNCTION; FILTER = libgen.so.1 };
+ step { TYPE = FUNCTION; FILTER = libgen.so.1 };
+};
+$endif
diff --git a/usr/src/lib/libadm/i386/mapfile-vers b/usr/src/lib/libadm/i386/mapfile-vers
deleted file mode 100644
index 8fce31fd06..0000000000
--- a/usr/src/lib/libadm/i386/mapfile-vers
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-# It was a mistake ever to have exported these symbols from libadm.
-# They are now being redirected to libgen where they really belong,
-# except for 'circf' and 'sed', which do not exist in libgen and
-# are being retained as dummy variables in libadm.
-
-SUNW_0.7 {
- global:
- circf;
- loc1 = DATA FILTER libgen.so.1 S0x4;
- loc2 = DATA FILTER libgen.so.1 S0x4;
- locs = DATA FILTER libgen.so.1 S0x4;
- nbra = DATA FILTER libgen.so.1 S0x4;
- sed;
-};
-
-SUNWprivate_1.1 {
- global:
- advance = FUNCTION FILTER libgen.so.1;
- compile = FUNCTION FILTER libgen.so.1;
- step = FUNCTION FILTER libgen.so.1;
-};
diff --git a/usr/src/lib/libadm/sparc/mapfile-vers b/usr/src/lib/libadm/sparc/mapfile-vers
deleted file mode 100644
index 8fce31fd06..0000000000
--- a/usr/src/lib/libadm/sparc/mapfile-vers
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-# It was a mistake ever to have exported these symbols from libadm.
-# They are now being redirected to libgen where they really belong,
-# except for 'circf' and 'sed', which do not exist in libgen and
-# are being retained as dummy variables in libadm.
-
-SUNW_0.7 {
- global:
- circf;
- loc1 = DATA FILTER libgen.so.1 S0x4;
- loc2 = DATA FILTER libgen.so.1 S0x4;
- locs = DATA FILTER libgen.so.1 S0x4;
- nbra = DATA FILTER libgen.so.1 S0x4;
- sed;
-};
-
-SUNWprivate_1.1 {
- global:
- advance = FUNCTION FILTER libgen.so.1;
- compile = FUNCTION FILTER libgen.so.1;
- step = FUNCTION FILTER libgen.so.1;
-};
diff --git a/usr/src/lib/libadm/sparcv9/mapfile-vers b/usr/src/lib/libadm/sparcv9/mapfile-vers
deleted file mode 100644
index c2659c4b9c..0000000000
--- a/usr/src/lib/libadm/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-# It was a mistake ever to have exported these symbols from libadm.
-# They are now being redirected to libgen where they really belong,
-# except for 'circf' and 'sed', which do not exist in libgen and
-# are being retained as dummy variables in libadm.
-
-SUNW_0.7 {
- global:
- circf;
- loc1 = DATA FILTER libgen.so.1 S0x8;
- loc2 = DATA FILTER libgen.so.1 S0x8;
- locs = DATA FILTER libgen.so.1 S0x8;
- nbra = DATA FILTER libgen.so.1 S0x4;
- sed;
-};
-
-SUNWprivate_1.1 {
- global:
- advance = FUNCTION FILTER libgen.so.1;
- compile = FUNCTION FILTER libgen.so.1;
- step = FUNCTION FILTER libgen.so.1;
-};
diff --git a/usr/src/lib/libadt_jni/auditxml_jni b/usr/src/lib/libadt_jni/auditxml_jni
index c46b0ae1a4..7c00b3b7db 100644
--- a/usr/src/lib/libadt_jni/auditxml_jni
+++ b/usr/src/lib/libadt_jni/auditxml_jni
@@ -20,8 +20,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
# auditxml_jni [-d] <xml input file>
@@ -220,7 +219,9 @@ EOF
# $notice_map
#
-SUNWprivate_1.1 {
+\$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
c2j_pointer;
j2c_pointer;
diff --git a/usr/src/lib/libadutils/common/mapfile-vers b/usr/src/lib/libadutils/common/mapfile-vers
index 3058643eb8..a05bcb4aff 100644
--- a/usr/src/lib/libadutils/common/mapfile-vers
+++ b/usr/src/lib/libadutils/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
adutils_txtsid2hexbinsid;
adutils_bv_uint;
diff --git a/usr/src/lib/libaio/Makefile.com b/usr/src/lib/libaio/Makefile.com
index d43a344580..0ab9422e5d 100644
--- a/usr/src/lib/libaio/Makefile.com
+++ b/usr/src/lib/libaio/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libaio.a
@@ -30,4 +29,3 @@ include $(SRC)/lib/Makefile.rootfs
LIBS += $(LINTLIB)
DYNFLAGS += -F libc.so.1
-MAPFILEDIR = . # redirect mapfile-vers
diff --git a/usr/src/lib/libaio/amd64/mapfile-vers b/usr/src/lib/libaio/amd64/mapfile-vers
deleted file mode 100644
index 263f472076..0000000000
--- a/usr/src/lib/libaio/amd64/mapfile-vers
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.1 {
- global:
- assfail = FUNCTION;
- local:
- *;
-} SUNW_1.0;
-
-SUNW_1.0 {
- global:
- SUNW_1.0;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- aiocancel = FUNCTION;
- aioread = FUNCTION;
- aiowait = FUNCTION;
- aiowrite = FUNCTION;
- close = NODIRECT FUNCTION;
- fork = NODIRECT FUNCTION;
- sigaction = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _sigaction = FUNCTION;
-};
diff --git a/usr/src/lib/libaio/sparc/mapfile-vers b/usr/src/lib/libaio/common/mapfile-vers
index b944975dfe..5970accaf4 100644
--- a/usr/src/lib/libaio/sparc/mapfile-vers
+++ b/usr/src/lib/libaio/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -44,35 +43,50 @@
# DO NOT TOUCH THIS FILE.
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
- assfail = FUNCTION;
+ assfail { TYPE = FUNCTION };
local:
*;
} SUNW_1.0;
-SUNW_1.0 {
+SYMBOL_VERSION SUNW_1.0 {
global:
- aioread64 = FUNCTION;
- aiowrite64 = FUNCTION;
+$if _ELF32
+ aioread64 { TYPE = FUNCTION };
+ aiowrite64 { TYPE = FUNCTION };
+$elif _ELF64
+ SUNW_1.0;
+$else
+$error unknown ELFCLASS
+$endif
} SUNW_0.7;
-SUNW_0.7 {
+#
+# For most platforms, SUNW_0.7 contains aiocancel, aioread, aiowait, and
+# aiowrite. For ABI reasons, 32-bit sparc puts them in SISCD_2.3, and
+# SUNW_0.7 inherits it.
+#
+SYMBOL_VERSION SUNW_0.7 {
global:
- close = NODIRECT FUNCTION;
- fork = NODIRECT FUNCTION;
- sigaction = FUNCTION;
+ close { TYPE = FUNCTION; FLAGS = NODIRECT };
+ fork { TYPE = FUNCTION; FLAGS = NODIRECT };
+ sigaction { TYPE = FUNCTION };
+$if _sparc && _ELF32
} SISCD_2.3;
-SISCD_2.3 {
+SYMBOL_VERSION SISCD_2.3 {
global:
- aiocancel = FUNCTION;
- aioread = FUNCTION;
- aiowait = FUNCTION;
- aiowrite = FUNCTION;
+$endif
+ aiocancel { TYPE = FUNCTION };
+ aioread { TYPE = FUNCTION };
+ aiowait { TYPE = FUNCTION };
+ aiowrite { TYPE = FUNCTION };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- _sigaction = FUNCTION;
+ _sigaction { TYPE = FUNCTION };
};
diff --git a/usr/src/lib/libaio/i386/mapfile-vers b/usr/src/lib/libaio/i386/mapfile-vers
deleted file mode 100644
index ab3d75abcb..0000000000
--- a/usr/src/lib/libaio/i386/mapfile-vers
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.1 {
- global:
- assfail = FUNCTION;
- local:
- *;
-} SUNW_1.0;
-
-SUNW_1.0 {
- global:
- aioread64 = FUNCTION;
- aiowrite64 = FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- aiocancel = FUNCTION;
- aioread = FUNCTION;
- aiowait = FUNCTION;
- aiowrite = FUNCTION;
- close = NODIRECT FUNCTION;
- fork = NODIRECT FUNCTION;
- sigaction = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _sigaction = FUNCTION;
-};
diff --git a/usr/src/lib/libaio/sparcv9/mapfile-vers b/usr/src/lib/libaio/sparcv9/mapfile-vers
deleted file mode 100644
index 263f472076..0000000000
--- a/usr/src/lib/libaio/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.1 {
- global:
- assfail = FUNCTION;
- local:
- *;
-} SUNW_1.0;
-
-SUNW_1.0 {
- global:
- SUNW_1.0;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- aiocancel = FUNCTION;
- aioread = FUNCTION;
- aiowait = FUNCTION;
- aiowrite = FUNCTION;
- close = NODIRECT FUNCTION;
- fork = NODIRECT FUNCTION;
- sigaction = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _sigaction = FUNCTION;
-};
diff --git a/usr/src/lib/libast/mapfile-vers b/usr/src/lib/libast/mapfile-vers
index 7917043319..d2231b0617 100644
--- a/usr/src/lib/libast/mapfile-vers
+++ b/usr/src/lib/libast/mapfile-vers
@@ -37,8 +37,10 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# functions
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_Sfextern;
_Sfi;
@@ -688,7 +690,7 @@ SUNWprivate_1.1 {
};
# data
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
Dtbag;
Dthash;
diff --git a/usr/src/lib/libavl/mapfile-vers b/usr/src/lib/libavl/mapfile-vers
index 2f5c4641ee..289e09a7db 100644
--- a/usr/src/lib/libavl/mapfile-vers
+++ b/usr/src/lib/libavl/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
avl_add;
avl_create;
diff --git a/usr/src/lib/libbrand/common/mapfile-vers b/usr/src/lib/libbrand/common/mapfile-vers
index 73352fb808..7b961c3c18 100644
--- a/usr/src/lib/libbrand/common/mapfile-vers
+++ b/usr/src/lib/libbrand/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
brand_allow_exclusive_ip;
brand_close;
diff --git a/usr/src/lib/libbsdmalloc/common/mapfile-vers b/usr/src/lib/libbsdmalloc/common/mapfile-vers
index d5c9e2c869..9c4fb9e1fa 100644
--- a/usr/src/lib/libbsdmalloc/common/mapfile-vers
+++ b/usr/src/lib/libbsdmalloc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,11 +36,13 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
- free = NODIRECT;
- malloc = NODIRECT;
- realloc = NODIRECT;
+ free { FLAGS = NODIRECT };
+ malloc { FLAGS = NODIRECT };
+ realloc { FLAGS = NODIRECT };
local:
*;
};
diff --git a/usr/src/lib/libbsm/common/mapfile-vers b/usr/src/lib/libbsm/common/mapfile-vers
index 2a96e525ed..673d72efe6 100644
--- a/usr/src/lib/libbsm/common/mapfile-vers
+++ b/usr/src/lib/libbsm/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
au_to_arg32;
au_to_arg64;
@@ -52,12 +54,12 @@ SUNW_1.2 {
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.8;
-SUNW_0.8 {
+SYMBOL_VERSION SUNW_0.8 {
global:
au_to_newgroups;
getauclassent_r;
@@ -69,7 +71,7 @@ SUNW_0.8 {
getauusernam_r;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
au_close;
audit;
@@ -123,7 +125,7 @@ SUNW_0.7 {
setauuser;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
adr_char;
adr_count;
@@ -336,11 +338,11 @@ SUNWprivate_1.1 {
local:
# These functions are aliased to "int" versions. Let those
# go into .SUNW_dynsymsort, and keep these out.
- adrm_long = NODYNSORT;
- adrm_u_long = NODYNSORT;
- adrf_long = NODYNSORT;
- adrf_u_long = NODYNSORT;
- adrm_putlong = NODYNSORT;
+ adrm_long { FLAGS = NODYNSORT };
+ adrm_u_long { FLAGS = NODYNSORT };
+ adrf_long { FLAGS = NODYNSORT };
+ adrf_u_long { FLAGS = NODYNSORT };
+ adrm_putlong { FLAGS = NODYNSORT };
# Reduce all remaining global symbols to local scope
*;
diff --git a/usr/src/lib/libc/amd64/Makefile b/usr/src/lib/libc/amd64/Makefile
index 8bef65337e..73e3475822 100644
--- a/usr/src/lib/libc/amd64/Makefile
+++ b/usr/src/lib/libc/amd64/Makefile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBCBASE=.
@@ -912,7 +911,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR64)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS)
-MAPFILES = ../port/mapfile-vers mapfile-vers
+MAPFILES = ../port/mapfile-vers
CPPFLAGS= -D_REENTRANT -D$(MACH64) -D__$(MACH64) $(THREAD_DEBUG) \
-I. -I$(LIBCBASE)/inc -I../inc $(CPPFLAGS.master) -I/usr/include
diff --git a/usr/src/lib/libc/amd64/mapfile-vers b/usr/src/lib/libc/amd64/mapfile-vers
deleted file mode 100644
index f47b181b65..0000000000
--- a/usr/src/lib/libc/amd64/mapfile-vers
+++ /dev/null
@@ -1,788 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.23 {
- global:
- dl_iterate_phdr = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
-};
-
-SUNW_1.22 {
- global:
- dladdr = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dladdr1 = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dlamd64getunwind = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dlclose = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dldump = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dlerror = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dlinfo = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dlmopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dlopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- dlsym = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- protected:
- _SUNW_Unwind_DeleteException;
- _SUNW_Unwind_ForcedUnwind;
- _SUNW_Unwind_GetCFA;
- _SUNW_Unwind_GetGR;
- _SUNW_Unwind_GetIP;
- _SUNW_Unwind_GetLanguageSpecificData;
- _SUNW_Unwind_GetRegionStart;
- _SUNW_Unwind_RaiseException;
- _SUNW_Unwind_Resume;
- _SUNW_Unwind_SetGR;
- _SUNW_Unwind_SetIP;
- _UA_CLEANUP_PHASE;
- _UA_FORCE_UNWIND;
- _UA_HANDLER_FRAME;
- _UA_SEARCH_PHASE;
- _Unwind_DeleteException;
- _Unwind_ForcedUnwind;
- _Unwind_GetCFA;
- _Unwind_GetGR;
- _Unwind_GetIP;
- _Unwind_GetLanguageSpecificData;
- _Unwind_GetRegionStart;
- _Unwind_RaiseException;
- _Unwind_Resume;
- _Unwind_SetGR;
- _Unwind_SetIP;
- walkcontext;
-};
-
-SUNW_0.7 {
- global:
- _altzone;
- calloc = NODIRECT;
- _ctype;
- __ctype;
- daylight;
- _daylight;
- environ = NODIRECT;
- _environ = NODIRECT;
- errno = NODIRECT;
- free = NODIRECT;
- frexp = FUNCTION FILTER libm.so.2;
- getdate_err;
- _getdate_err;
- getenv;
- __huge_val;
- _iob;
- __iob;
- isnan = FUNCTION FILTER libm.so.2;
- _isnan = FUNCTION FILTER libm.so.2;
- isnand = FUNCTION FILTER libm.so.2;
- _isnand = FUNCTION FILTER libm.so.2;
- ldexp = FUNCTION FILTER libm.so.2;
- logb = FUNCTION FILTER libm.so.2;
- malloc = NODIRECT;
- modf = FUNCTION FILTER libm.so.2;
- _modf = FUNCTION FILTER libm.so.2;
- memcmp;
- memcpy;
- memmove;
- memset;
- nextafter = FUNCTION FILTER libm.so.2;
- _nextafter = FUNCTION FILTER libm.so.2;
- _numeric;
- optarg;
- opterr;
- optind;
- optopt;
- realloc = NODIRECT;
- scalb = FUNCTION FILTER libm.so.2;
- _scalb = FUNCTION FILTER libm.so.2;
- _sibuf;
- _sobuf;
- _sys_buslist;
- _sys_cldlist;
- _sys_fpelist;
- _sys_segvlist;
- _sys_siginfolistp;
- _sys_siglist;
- _sys_siglistn;
- _sys_siglistp;
- _sys_traplist;
- timezone;
- _timezone;
- tzname;
- _tzname;
- protected:
- abort;
- abs;
- access;
- _access;
- acct;
- _acct;
- addseverity;
- _addseverity;
- alarm;
- _alarm;
- asctime;
- asctime_r;
- _assert;
- __assert;
- atexit;
- atof;
- atoi;
- atol;
- bsearch;
- __builtin_alloca;
- catclose;
- _catclose;
- catgets;
- _catgets;
- catopen;
- _catopen;
- cfgetispeed;
- _cfgetispeed;
- cfgetospeed;
- _cfgetospeed;
- cfsetispeed;
- _cfsetispeed;
- cfsetospeed;
- _cfsetospeed;
- chdir;
- _chdir;
- chmod;
- _chmod;
- chown;
- _chown;
- chroot;
- _chroot;
- _cleanup;
- clearerr;
- clock;
- _close;
- close;
- closedir;
- _closedir;
- creat;
- _creat;
- crypt;
- _crypt;
- ctermid;
- ctime;
- ctime_r;
- cuserid;
- _cuserid;
- difftime;
- div;
- dup;
- _dup;
- dup2;
- _dup2;
- encrypt;
- _encrypt;
- endgrent;
- endpwent;
- ___errno;
- execl;
- _execl;
- execle;
- _execle;
- execlp;
- _execlp;
- execv;
- _execv;
- execve;
- _execve;
- execvp;
- _execvp;
- exit;
- _exit;
- fattach;
- _fattach;
- fchdir;
- _fchdir;
- fchmod;
- _fchmod;
- fchown;
- _fchown;
- fclose;
- fcntl;
- _fcntl;
- fdetach;
- _fdetach;
- fdopen;
- _fdopen;
- feof;
- ferror;
- fflush;
- fgetc;
- fgetgrent;
- fgetgrent_r;
- fgetpos;
- fgetpwent;
- fgetpwent_r;
- fgets;
- __filbuf;
- fileno;
- _fileno;
- file_to_decimal;
- flockfile;
- _flsbuf;
- __flsbuf;
- fmtmsg;
- _fmtmsg;
- fopen;
- _fork;
- fork;
- fpathconf;
- _fpathconf;
- fprintf;
- fputc;
- fputs;
- fread;
- freopen;
- fscanf;
- fseek;
- fsetpos;
- fstat;
- _fstat;
- fstatvfs;
- _fstatvfs;
- fsync;
- _fsync;
- ftell;
- ftok;
- _ftok;
- funlockfile;
- fwrite;
- getc;
- getchar;
- getchar_unlocked;
- getcontext;
- _getcontext;
- getc_unlocked;
- getcwd;
- _getcwd;
- getdate;
- _getdate;
- getegid;
- _getegid;
- geteuid;
- _geteuid;
- getgid;
- _getgid;
- getgrent;
- getgrent_r;
- getgrgid;
- getgrgid_r;
- getgrnam;
- getgrnam_r;
- getgroups;
- _getgroups;
- getitimer;
- _getitimer;
- getlogin;
- getlogin_r;
- getmsg;
- _getmsg;
- getopt;
- _getopt;
- getpass;
- _getpass;
- getpgid;
- _getpgid;
- getpgrp;
- _getpgrp;
- getpid;
- _getpid;
- getpmsg;
- _getpmsg;
- getppid;
- _getppid;
- getpwent;
- getpwent_r;
- getpwnam;
- getpwnam_r;
- getpwuid;
- getpwuid_r;
- getrlimit;
- _getrlimit;
- gets;
- getsid;
- _getsid;
- getsubopt;
- _getsubopt;
- gettimeofday;
- _gettimeofday;
- gettxt;
- _gettxt;
- getuid;
- _getuid;
- getw;
- _getw;
- gmtime;
- gmtime_r;
- grantpt;
- _grantpt;
- hcreate;
- _hcreate;
- hdestroy;
- _hdestroy;
- hsearch;
- _hsearch;
- initgroups;
- _initgroups;
- ioctl;
- _ioctl;
- isalnum;
- isalpha;
- isascii;
- _isascii;
- isastream;
- _isastream;
- isatty;
- _isatty;
- iscntrl;
- isdigit;
- isgraph;
- islower;
- isprint;
- ispunct;
- isspace;
- isupper;
- isxdigit;
- kill;
- _kill;
- labs;
- lchown;
- _lchown;
- ldiv;
- lfind;
- _lfind;
- link;
- _link;
- localeconv;
- localtime;
- localtime_r;
- lockf;
- _lockf;
- longjmp;
- lsearch;
- _lsearch;
- lseek;
- _lseek;
- lstat;
- _lstat;
- makecontext;
- _makecontext;
- mblen;
- mbstowcs;
- mbtowc;
- memccpy;
- _memccpy;
- memchr;
- memcntl;
- _memcntl;
- mkdir;
- _mkdir;
- mkfifo;
- _mkfifo;
- mknod;
- _mknod;
- mktemp;
- _mktemp;
- mktime;
- mlock;
- _mlock;
- mmap;
- _mmap;
- monitor;
- _monitor;
- mount;
- _mount;
- mprotect;
- _mprotect;
- msgctl;
- _msgctl;
- msgget;
- _msgget;
- msgrcv;
- _msgrcv;
- msgsnd;
- _msgsnd;
- msync;
- _msync;
- munlock;
- _munlock;
- munmap;
- _munmap;
- _mutex_held = NODYNSORT;
- _mutex_lock = NODYNSORT;
- nftw;
- _nftw;
- nice;
- _nice;
- nl_langinfo;
- _nl_langinfo;
- open;
- _open;
- opendir;
- _opendir;
- pathconf;
- _pathconf;
- pause;
- _pause;
- pclose;
- _pclose;
- perror;
- pipe;
- _pipe;
- poll;
- _poll;
- p_online;
- popen;
- _popen;
- printf;
- profil;
- _profil;
- ptsname;
- _ptsname;
- putc;
- putchar;
- putchar_unlocked;
- putc_unlocked;
- putenv;
- _putenv;
- putmsg;
- _putmsg;
- putpmsg;
- _putpmsg;
- puts;
- putw;
- _putw;
- qsort;
- raise;
- rand;
- rand_r;
- read;
- _read;
- readdir;
- _readdir;
- readdir_r;
- readlink;
- _readlink;
- readv;
- _readv;
- remove;
- rename;
- _rename;
- rewind;
- rewinddir;
- _rewinddir;
- rmdir;
- _rmdir;
- _rw_read_held;
- _rw_write_held;
- sbrk;
- scanf;
- seekdir;
- _seekdir;
- semctl;
- _semctl;
- semget;
- _semget;
- semop;
- _semop;
- setbuf;
- setcontext;
- _setcontext = NODYNSORT;
- setgid;
- _setgid;
- setgrent;
- setgroups;
- _setgroups;
- setitimer;
- _setitimer;
- setjmp;
- setkey;
- _setkey;
- setlabel;
- setlocale;
- setpgid;
- _setpgid;
- setpgrp;
- _setpgrp;
- setpwent;
- setrlimit;
- _setrlimit;
- setsid;
- _setsid;
- setuid;
- _setuid;
- setvbuf;
- shmat;
- _shmat;
- shmctl;
- _shmctl;
- shmdt;
- _shmdt;
- shmget;
- _shmget;
- sigaction;
- _sigaction = NODYNSORT;
- sigaddset;
- _sigaddset;
- sigaltstack;
- _sigaltstack;
- sigdelset;
- _sigdelset;
- sigemptyset;
- _sigemptyset;
- sigfillset;
- _sigfillset;
- sighold;
- _sighold;
- sigignore;
- _sigignore;
- sigismember;
- _sigismember;
- siglongjmp;
- _siglongjmp;
- signal;
- sigpause;
- _sigpause;
- sigpending;
- _sigpending;
- sigprocmask;
- _sigprocmask;
- sigrelse;
- _sigrelse;
- sigsend;
- _sigsend;
- sigsendset;
- _sigsendset;
- sigset;
- _sigset;
- sigsetjmp;
- _sigsetjmp = NODYNSORT;
- sigsuspend;
- _sigsuspend;
- sleep;
- _sleep;
- sprintf;
- srand;
- srand48;
- sscanf;
- stat;
- _stat;
- statvfs;
- _statvfs;
- stime;
- _stime;
- strcat;
- strchr;
- strcmp;
- strcoll;
- strcpy;
- strcspn;
- strdup;
- _strdup;
- strerror;
- strftime;
- strlen;
- strncat;
- strncmp;
- strncpy;
- strpbrk;
- strrchr;
- strspn;
- strstr;
- strtod;
- strtok;
- strtok_r;
- strtol;
- strtoul;
- strxfrm;
- swab;
- _swab;
- swapcontext;
- _swapcontext;
- symlink;
- _symlink;
- sync;
- _sync;
- _syscall;
- sysconf;
- _sysconf;
- sysinfo;
- _sysinfo;
- system;
- tcdrain;
- _tcdrain;
- tcflow;
- _tcflow;
- tcflush;
- _tcflush;
- tcgetattr;
- _tcgetattr;
- tcgetpgrp;
- _tcgetpgrp;
- tcgetsid;
- _tcgetsid;
- tcsendbreak;
- _tcsendbreak;
- tcsetattr;
- _tcsetattr;
- tcsetpgrp;
- _tcsetpgrp;
- tdelete;
- _tdelete;
- tell;
- _tell;
- telldir;
- _telldir;
- tempnam;
- _tempnam;
- tfind;
- _tfind;
- time;
- _time;
- times;
- _times;
- tmpfile;
- tmpnam;
- toascii;
- _toascii;
- tolower;
- _tolower;
- toupper;
- _toupper;
- tsearch;
- _tsearch;
- ttyname;
- ttyname_r;
- twalk;
- _twalk;
- tzset;
- _tzset;
- ulimit;
- _ulimit;
- umask;
- _umask;
- umount;
- _umount;
- uname;
- _uname;
- ungetc;
- unlink;
- _unlink;
- unlockpt;
- _unlockpt;
- utime;
- _utime;
- vfprintf;
- vprintf;
- vsprintf;
- wait;
- _wait;
- waitid;
- _waitid;
- waitpid;
- _waitpid;
- wcstombs;
- wctomb;
- write;
- _write;
- writev;
- _writev;
- _xftw;
-} SYSVABI_1.3;
-
-SYSVABI_1.3 {
- global:
- __flt_rounds;
- protected:
- _ctermid;
- _fpstart;
- __fpstart;
- _getgrgid;
- _getgrnam;
- _getlogin;
- _getpwnam;
- _getpwuid;
- _sbrk;
- _ttyname;
-};
-
-SUNWprivate_1.1 {
- global:
- _dladdr = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dladdr1 = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dlamd64getunwind = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dlclose = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dldump = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dlerror = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dlinfo = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dlmopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dlopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _dlsym = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _ld_libc = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
- _memcmp;
- _memcpy;
- _memmove;
- _memset;
- protected:
- _D_cplx_lr_div;
- _D_cplx_lr_div_ix;
- _D_cplx_lr_div_rx;
- _F_cplx_lr_div;
- _F_cplx_lr_div_ix;
- _F_cplx_lr_div_rx;
- __fltrounds;
- __fseterror_u;
- sysi86;
- _sysi86;
- _X_cplx_div;
- _X_cplx_div_ix;
- _X_cplx_div_rx;
- _X_cplx_lr_div;
- _X_cplx_lr_div_ix;
- _X_cplx_lr_div_rx;
- _X_cplx_mul;
- __xgetRD;
- __xtol;
- __xtoll;
- __xtoul;
- __xtoull;
-
- local:
- ___tls_get_addr = NODYNSORT;
-};
diff --git a/usr/src/lib/libc/i386/Makefile.com b/usr/src/lib/libc/i386/Makefile.com
index b3455720f9..f2cf98b304 100644
--- a/usr/src/lib/libc/i386/Makefile.com
+++ b/usr/src/lib/libc/i386/Makefile.com
@@ -20,8 +20,7 @@
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIB_PIC= libc_pic.a
@@ -954,7 +953,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) $(LDLIBS)
-MAPFILES = ../port/mapfile-vers ../i386/mapfile-vers
+MAPFILES = ../port/mapfile-vers
#
# EXTN_CPPFLAGS and EXTN_CFLAGS set in enclosing Makefile
diff --git a/usr/src/lib/libc/i386/mapfile-vers b/usr/src/lib/libc/i386/mapfile-vers
deleted file mode 100644
index 1826aa7cf0..0000000000
--- a/usr/src/lib/libc/i386/mapfile-vers
+++ /dev/null
@@ -1,947 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.23 {
- global:
- dl_iterate_phdr = FUNCTION FILTER /usr/lib/ld.so.1;
-
- protected:
- aio_cancel64;
- aio_error64;
- aio_fsync64;
- aio_read64;
- aioread64;
- aio_return64;
- aio_suspend64;
- aio_waitn64;
- aio_write64;
- aiowrite64;
- lio_listio64;
- mkstemps64;
- posix_fadvise64;
- posix_fallocate64;
-};
-
-SUNW_1.22.1 {
- protected:
- # Note: atomic_[and,dec,inc,or]_64_nv are also defined
- # by the common mapfile. Here, we add the NODYNSORT attribute
- # to them. On this platform, they are aliases for the non-_nv
- # versions. If that is changed, these lines should be removed.
- atomic_and_64_nv = NODYNSORT;
- atomic_dec_64_nv = NODYNSORT;
- atomic_inc_64_nv = NODYNSORT;
- atomic_or_64_nv = NODYNSORT;
-
- enable_extended_FILE_stdio;
-} SUNW_1.22;
-
-SUNW_1.22 {
- global:
- dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
- dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
- dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
- dldump = FUNCTION FILTER /usr/lib/ld.so.1;
- dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
- dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
- dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
- dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
- dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
- protected:
- alphasort64;
- _alphasort64;
-
- # Note: atomic_add_64_nv is also defined by the common mapfile.
- # Here, we add the NODYNSORT attribute to it. On this platform,
- # it is an aliases for atomic_add_64. If that is changed, this
- # line should be removed.
- atomic_add_64_nv = NODYNSORT;
-
- pselect_large_fdset;
- scandir64;
- _scandir64;
-};
-
-SUNW_1.21 {
- protected:
- attropen64;
- _attropen64;
- fstatat64;
- _fstatat64;
- openat64;
- _openat64;
- walkcontext;
-};
-
-SUNW_1.18 {
- protected:
- select_large_fdset;
-};
-
-SUNW_1.1 {
- protected:
- creat64;
- _creat64;
- fgetpos64;
- fopen64;
- freopen64;
- fseeko64;
- fsetpos64;
- fstat64;
- _fstat64;
- fstatvfs64;
- _fstatvfs64;
- ftello64;
- ftruncate64;
- _ftruncate64;
- ftw64;
- _ftw64;
- getdents64;
- _getdents64;
- getrlimit64;
- _getrlimit64;
- lockf64;
- _lockf64;
- lseek64;
- _lseek64;
- lstat64;
- _lstat64;
- mkstemp64;
- _mkstemp64;
- mmap64;
- _mmap64;
- nftw64;
- _nftw64;
- open64;
- _open64;
- __posix_readdir_r;
- pread64;
- _pread64;
- pwrite64;
- _pwrite64;
- readdir64;
- _readdir64;
- readdir64_r;
- _readdir64_r;
- setrlimit64;
- _setrlimit64;
- s_fcntl;
- _s_fcntl = NODYNSORT;
- s_ioctl;
- stat64;
- _stat64;
- statvfs64;
- _statvfs64;
- tell64;
- _tell64;
- tmpfile64;
- truncate64;
- _truncate64;
- _xftw64;
-};
-
-SUNW_0.7 {
- global:
- _bufendtab;
- _ctype;
- errno = NODIRECT;
- _iob;
- _lastbuf;
- _sibuf;
- _sobuf;
- _sys_buslist;
- _sys_cldlist;
- sys_errlist;
- _sys_fpelist;
- sys_nerr;
- _sys_nsig;
- _sys_segvlist;
- _sys_siginfolistp;
- _sys_siglist;
- _sys_siglistn;
- _sys_siglistp;
- _sys_traplist;
- protected:
- addseverity;
- _addseverity;
- asctime_r;
- _assert;
- __builtin_alloca;
- crypt;
- _crypt;
- ctime_r;
- __div64;
- encrypt;
- _encrypt;
- endgrent;
- endpwent;
- ___errno;
- fgetgrent;
- fgetgrent_r;
- fgetpwent;
- fgetpwent_r;
- file_to_decimal;
- flockfile;
- _flsbuf;
- funlockfile;
- getchar_unlocked;
- getc_unlocked;
- getgrent;
- getgrent_r;
- getgrgid_r;
- getgrnam_r;
- getitimer;
- _getitimer;
- getlogin_r;
- getpwent;
- getpwent_r;
- getpwnam_r;
- getpwuid_r;
- gettimeofday;
- _gettimeofday;
- gmtime_r;
- localtime_r;
- __mul64;
- _mutex_held = NODYNSORT;
- _mutex_lock = NODYNSORT;
- p_online;
- putchar_unlocked;
- putc_unlocked;
- rand_r;
- readdir_r;
- __rem64;
- _rw_read_held;
- _rw_write_held;
- setgrent;
- setitimer;
- _setitimer;
- setkey;
- _setkey;
- setpwent;
- srand48;
- strtok_r;
- _syscall = NODYNSORT;
- sysinfo;
- _sysinfo;
- ttyname_r;
- __udiv64;
- __urem64;
-} SYSVABI_1.3;
-
-SYSVABI_1.3 {
- global:
- _altzone;
- calloc = NODIRECT;
- __ctype;
- daylight;
- _daylight;
- environ = NODIRECT;
- _environ = NODIRECT;
- __flt_rounds;
- _fp_hw;
- free = NODIRECT;
- frexp = FUNCTION FILTER libm.so.2;
- getdate_err;
- _getdate_err;
- getenv;
- __huge_val;
- __iob;
- isnan = FUNCTION FILTER libm.so.2;
- _isnan = FUNCTION FILTER libm.so.2;
- isnand = FUNCTION FILTER libm.so.2;
- _isnand = FUNCTION FILTER libm.so.2;
- ldexp = FUNCTION FILTER libm.so.2;
- logb = FUNCTION FILTER libm.so.2;
- malloc = NODIRECT;
- memcmp;
- memcpy;
- memmove;
- memset;
- modf = FUNCTION FILTER libm.so.2;
- _modf = FUNCTION FILTER libm.so.2;
- nextafter = FUNCTION FILTER libm.so.2;
- _nextafter = FUNCTION FILTER libm.so.2;
- _numeric;
- optarg;
- opterr;
- optind;
- optopt;
- realloc = NODIRECT;
- scalb = FUNCTION FILTER libm.so.2;
- _scalb = FUNCTION FILTER libm.so.2;
- timezone;
- _timezone;
- tzname;
- _tzname;
- protected:
- abort;
- abs;
- access;
- _access;
- acct;
- _acct;
- alarm;
- _alarm;
- asctime;
- __assert;
- atexit;
- atof;
- atoi;
- atol;
- bsearch;
- catclose;
- _catclose;
- catgets;
- _catgets;
- catopen;
- _catopen;
- cfgetispeed;
- _cfgetispeed;
- cfgetospeed;
- _cfgetospeed;
- cfsetispeed;
- _cfsetispeed;
- cfsetospeed;
- _cfsetospeed;
- chdir;
- _chdir;
- chmod;
- _chmod;
- chown;
- _chown;
- chroot;
- _chroot;
- _cleanup;
- clearerr;
- clock;
- _close;
- close;
- closedir;
- _closedir;
- creat;
- _creat;
- ctermid;
- _ctermid;
- ctime;
- cuserid;
- _cuserid;
- difftime;
- div;
- dup;
- _dup;
- dup2;
- _dup2;
- execl;
- _execl;
- execle;
- _execle;
- execlp;
- _execlp;
- execv;
- _execv;
- execve;
- _execve;
- execvp;
- _execvp;
- exit;
- _exit;
- fattach;
- _fattach;
- fchdir;
- _fchdir;
- fchmod;
- _fchmod;
- fchown;
- _fchown;
- fclose;
- fcntl;
- _fcntl;
- fdetach;
- _fdetach;
- fdopen;
- _fdopen;
- feof;
- ferror;
- fflush;
- fgetc;
- fgetpos;
- fgets;
- __filbuf;
- fileno;
- _fileno;
- __flsbuf;
- fmtmsg;
- _fmtmsg;
- fopen;
- _fork;
- fork;
- fpathconf;
- _fpathconf;
- fprintf;
- _fpstart;
- __fpstart;
- fputc;
- fputs;
- fread;
- freopen;
- fscanf;
- fseek;
- fsetpos;
- fstat;
- _fstat;
- fstatvfs;
- _fstatvfs;
- fsync;
- _fsync;
- ftell;
- ftok;
- _ftok;
- fwrite;
- _fxstat;
- getc;
- getchar;
- getcontext;
- _getcontext;
- getcwd;
- _getcwd;
- getdate;
- _getdate;
- getegid;
- _getegid;
- geteuid;
- _geteuid;
- getgid;
- _getgid;
- getgrgid;
- _getgrgid;
- getgrnam;
- _getgrnam;
- getgroups;
- _getgroups;
- getlogin;
- _getlogin;
- getmsg;
- _getmsg;
- getopt;
- _getopt;
- getpass;
- _getpass;
- getpgid;
- _getpgid;
- getpgrp;
- _getpgrp;
- getpid;
- _getpid;
- getpmsg;
- _getpmsg;
- getppid;
- _getppid;
- getpwnam;
- _getpwnam;
- getpwuid;
- _getpwuid;
- getrlimit;
- _getrlimit;
- gets;
- getsid;
- _getsid;
- getsubopt;
- _getsubopt;
- gettxt;
- _gettxt;
- getuid;
- _getuid;
- getw;
- _getw;
- gmtime;
- grantpt;
- _grantpt;
- hcreate;
- _hcreate;
- hdestroy;
- _hdestroy;
- hsearch;
- _hsearch;
- initgroups;
- _initgroups;
- ioctl;
- _ioctl;
- isalnum;
- isalpha;
- isascii;
- _isascii;
- isastream;
- _isastream;
- isatty;
- _isatty;
- iscntrl;
- isdigit;
- isgraph;
- islower;
- isprint;
- ispunct;
- isspace;
- isupper;
- isxdigit;
- kill;
- _kill;
- labs;
- lchown;
- _lchown;
- ldiv;
- lfind;
- _lfind;
- link;
- _link;
- localeconv;
- localtime;
- lockf;
- _lockf;
- longjmp;
- lsearch;
- _lsearch;
- lseek;
- _lseek;
- lstat;
- _lstat;
- _lxstat;
- makecontext;
- _makecontext;
- mblen;
- mbstowcs;
- mbtowc;
- memccpy;
- _memccpy;
- memchr;
- memcntl;
- _memcntl;
- mkdir;
- _mkdir;
- mkfifo;
- _mkfifo;
- mknod;
- _mknod;
- mktemp;
- _mktemp;
- mktime;
- mlock;
- _mlock;
- mmap;
- _mmap;
- monitor;
- _monitor;
- mount;
- _mount;
- mprotect;
- _mprotect;
- msgctl;
- _msgctl;
- msgget;
- _msgget;
- msgrcv;
- _msgrcv;
- msgsnd;
- _msgsnd;
- msync;
- _msync;
- munlock;
- _munlock;
- munmap;
- _munmap;
- nftw;
- _nftw;
- nice;
- _nice;
- nl_langinfo;
- _nl_langinfo;
- nuname;
- _nuname;
- open;
- _open;
- opendir;
- _opendir;
- pathconf;
- _pathconf;
- pause;
- _pause;
- pclose;
- _pclose;
- perror;
- pipe;
- _pipe;
- poll;
- _poll;
- popen;
- _popen;
- printf;
- profil;
- _profil;
- ptrace;
- _ptrace;
- ptsname;
- _ptsname;
- putc;
- putchar;
- putenv;
- _putenv;
- putmsg;
- _putmsg;
- putpmsg;
- _putpmsg;
- puts;
- putw;
- _putw;
- qsort;
- raise;
- rand;
- read;
- _read;
- readdir;
- _readdir;
- readlink;
- _readlink;
- readv;
- _readv;
- remove;
- rename;
- _rename;
- rewind;
- rewinddir;
- _rewinddir;
- rmdir;
- _rmdir;
- sbrk;
- _sbrk;
- scanf;
- seekdir;
- _seekdir;
- semctl;
- _semctl;
- semget;
- _semget;
- semop;
- _semop;
- setbuf;
- setcontext;
- _setcontext = NODYNSORT;
- setgid;
- _setgid;
- setgroups;
- _setgroups;
- setjmp;
- setlabel;
- setlocale;
- setpgid;
- _setpgid;
- setpgrp;
- _setpgrp;
- setrlimit;
- _setrlimit;
- setsid;
- _setsid;
- setuid;
- _setuid;
- setvbuf;
- shmat;
- _shmat;
- shmctl;
- _shmctl;
- shmdt;
- _shmdt;
- shmget;
- _shmget;
- sigaction;
- _sigaction = NODYNSORT;
- sigaddset;
- _sigaddset;
- sigaltstack;
- _sigaltstack;
- sigdelset;
- _sigdelset;
- sigemptyset;
- _sigemptyset;
- sigfillset;
- _sigfillset;
- sighold;
- _sighold;
- sigignore;
- _sigignore;
- sigismember;
- _sigismember;
- siglongjmp;
- _siglongjmp;
- signal;
- sigpause;
- _sigpause;
- sigpending;
- _sigpending;
- sigprocmask;
- _sigprocmask;
- sigrelse;
- _sigrelse;
- sigsend;
- _sigsend;
- sigsendset;
- _sigsendset;
- sigset;
- _sigset;
- sigsetjmp;
- _sigsetjmp = NODYNSORT;
- sigsuspend;
- _sigsuspend;
- sleep;
- _sleep;
- sprintf;
- srand;
- sscanf;
- stat;
- _stat;
- statvfs;
- _statvfs;
- stime;
- _stime;
- strcat;
- strchr;
- strcmp;
- strcoll;
- strcpy;
- strcspn;
- strdup;
- _strdup;
- strerror;
- strftime;
- strlen;
- strncat;
- strncmp;
- strncpy;
- strpbrk;
- strrchr;
- strspn;
- strstr;
- strtod;
- strtok;
- strtol;
- strtoul;
- strxfrm;
- swab;
- _swab;
- swapcontext;
- _swapcontext;
- symlink;
- _symlink;
- sync;
- _sync;
- sysconf;
- _sysconf;
- system;
- tcdrain;
- _tcdrain;
- tcflow;
- _tcflow;
- tcflush;
- _tcflush;
- tcgetattr;
- _tcgetattr;
- tcgetpgrp;
- _tcgetpgrp;
- tcgetsid;
- _tcgetsid;
- tcsendbreak;
- _tcsendbreak;
- tcsetattr;
- _tcsetattr;
- tcsetpgrp;
- _tcsetpgrp;
- tdelete;
- _tdelete;
- tell;
- _tell;
- telldir;
- _telldir;
- tempnam;
- _tempnam;
- tfind;
- _tfind;
- time;
- _time;
- times;
- _times;
- tmpfile;
- tmpnam;
- toascii;
- _toascii;
- tolower;
- _tolower;
- toupper;
- _toupper;
- tsearch;
- _tsearch;
- ttyname;
- _ttyname;
- twalk;
- _twalk;
- tzset;
- _tzset;
- ulimit;
- _ulimit;
- umask;
- _umask;
- umount;
- _umount;
- uname;
- _uname;
- ungetc;
- unlink;
- _unlink;
- unlockpt;
- _unlockpt;
- utime;
- _utime;
- vfprintf;
- vprintf;
- vsprintf;
- wait;
- _wait;
- waitid;
- _waitid;
- waitpid;
- _waitpid;
- wcstombs;
- wctomb;
- write;
- _write;
- writev;
- _writev;
- _xftw;
- _xmknod;
- _xstat;
-};
-
-SUNWprivate_1.1 {
- global:
- _dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
- _dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
- _dldump = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
- _ld_libc = FUNCTION FILTER /usr/lib/ld.so.1;
- _memcmp;
- _memcpy;
- _memmove;
- _memset;
- _sse_hw;
- _sys_errlist;
- _sys_errs;
- _sys_index;
- _sys_nerr = NODYNSORT;
- _sys_num_err;
- protected:
- _D_cplx_lr_div;
- _D_cplx_lr_div_ix;
- _D_cplx_lr_div_rx;
- __divdi3;
- __divrem64;
- _F_cplx_lr_div;
- _F_cplx_lr_div_ix;
- _F_cplx_lr_div_rx;
- _file_set;
- __fltrounds;
- _fprintf_c89;
- _fscanf_c89;
- __fseterror_u;
- _fwprintf_c89;
- _fwscanf_c89;
- _imaxabs_c89;
- _imaxdiv_c89;
- __moddi3;
- _printf_c89;
- _scanf_c89;
- _snprintf_c89;
- _sprintf_c89;
- _sscanf_c89;
- _strtoimax_c89;
- _strtoumax_c89;
- _swprintf_c89;
- _swscanf_c89;
- sysi86;
- _sysi86;
- ___tls_get_addr;
- __udivdi3;
- __udivrem64;
- __umoddi3;
- _vfprintf_c89;
- _vfscanf_c89;
- _vfwprintf_c89;
- _vfwscanf_c89;
- _vprintf_c89;
- _vscanf_c89;
- _vsnprintf_c89;
- _vsprintf_c89;
- _vsscanf_c89;
- _vswprintf_c89;
- _vswscanf_c89;
- _vwprintf_c89;
- _vwscanf_c89;
- _wcstoimax_c89;
- _wcstoumax_c89;
- _wprintf_c89;
- _wscanf_c89;
- _X_cplx_div;
- _X_cplx_div_ix;
- _X_cplx_div_rx;
- _X_cplx_lr_div;
- _X_cplx_lr_div_ix;
- _X_cplx_lr_div_rx;
- _X_cplx_mul;
- __xgetRD;
- __xtol;
- __xtoll;
- __xtoul;
- __xtoull;
-
- local:
- _syscall6 = NODYNSORT;
- __systemcall6 = NODYNSORT;
- _seekdir64 = NODYNSORT;
- _telldir64 = NODYNSORT;
-};
diff --git a/usr/src/lib/libc/i386_hwcap1/mapfile b/usr/src/lib/libc/i386_hwcap1/mapfile
index c3a796470d..68e51d8f9b 100644
--- a/usr/src/lib/libc/i386_hwcap1/mapfile
+++ b/usr/src/lib/libc/i386_hwcap1/mapfile
@@ -1,13 +1,11 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -22,6 +20,9 @@
#
# CDDL HEADER END
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-hwcap_1 = fpu cmov sep mmx sse;
+
+$mapfile_version 2
+
+CAPABILITY {
+ hw += fpu cmov sep mmx sse;
+};
diff --git a/usr/src/lib/libc/i386_hwcap2/mapfile b/usr/src/lib/libc/i386_hwcap2/mapfile
index 7332e9f5a6..b5a0d2b8c7 100644
--- a/usr/src/lib/libc/i386_hwcap2/mapfile
+++ b/usr/src/lib/libc/i386_hwcap2/mapfile
@@ -1,13 +1,11 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -22,6 +20,9 @@
#
# CDDL HEADER END
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-hwcap_1 = fpu cmov amd_sysc mmx sse sse2;
+
+$mapfile_version 2
+
+CAPABILITY {
+ hw += fpu cmov amd_sysc mmx sse sse2;
+};
diff --git a/usr/src/lib/libc/i386_hwcap3/mapfile b/usr/src/lib/libc/i386_hwcap3/mapfile
index 4fe5f9c098..1fb7b16623 100644
--- a/usr/src/lib/libc/i386_hwcap3/mapfile
+++ b/usr/src/lib/libc/i386_hwcap3/mapfile
@@ -1,6 +1,5 @@
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -21,6 +20,9 @@
#
# CDDL HEADER END
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-hwcap_1 = fpu cmov mmx sse;
+
+$mapfile_version 2
+
+CAPABILITY {
+ hw += fpu cmov mmx sse;
+};
diff --git a/usr/src/lib/libc/port/mapfile-vers b/usr/src/lib/libc/port/mapfile-vers
index 3c65239665..f557f958b6 100644
--- a/usr/src/lib/libc/port/mapfile-vers
+++ b/usr/src/lib/libc/port/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,6 +36,8 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# All function names added to this or any other libc mapfile
# must be placed under the 'protected:' designation.
@@ -59,10 +60,46 @@
#
-SUNW_1.23 { # SunOS 5.11 (Solaris 11)
+# Mnemonic conditional input identifiers:
+#
+# - amd64, i386, sparc32, sparcv9: Correspond to ISA subdirectories used to
+# hold per-platform code. Note however that we use 'sparc32' instead of
+# 'sparc'. Since '_sparc' is predefined to apply to, all sparc platforms,
+# naming the 32-bit version 'sparc' would be too likely to cause errors.
+#
+# - lf64: Defined on platforms that offer the 32-bit largefile APIs
+#
+$if _ELF32
+$add lf64
+$endif
+$if _sparc && _ELF32
+$add sparc32
+$endif
+$if _sparc && _ELF64
+$add sparcv9
+$endif
+$if _x86 && _ELF32
+$add i386
+$endif
+$if _x86 && _ELF64
+$add amd64
+$endif
+
+SYMBOL_VERSION SUNW_1.23 { # SunOS 5.11 (Solaris 11)
global:
_nl_domain_bindings;
_nl_msg_cat_cntr;
+
+$if _ELF32
+ dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+$elif sparcv9
+ dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+$elif amd64
+ dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+$else
+$error unknown platform
+$endif
+
protected:
addrtosymstr;
aio_cancel;
@@ -195,24 +232,42 @@ SUNW_1.23 { # SunOS 5.11 (Solaris 11)
vwarnx;
warn;
warnx;
+
+$if lf64
+ aio_cancel64;
+ aio_error64;
+ aio_fsync64;
+ aio_read64;
+ aioread64;
+ aio_return64;
+ aio_suspend64;
+ aio_waitn64;
+ aio_write64;
+ aiowrite64;
+ lio_listio64;
+ mkstemps64;
+ posix_fadvise64;
+ posix_fallocate64;
+$endif
} SUNW_1.22.6;
-SUNW_1.22.6 { # s10u9 - SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.22.6 { # s10u9 - SunOS 5.10 (Solaris 10) patch additions
+ protected:
futimens;
utimensat;
} SUNW_1.22.5;
-SUNW_1.22.5 { # s10u8 - SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.22.5 { # s10u8 - SunOS 5.10 (Solaris 10) patch additions
protected:
getpagesizes2;
} SUNW_1.22.4;
-SUNW_1.22.4 { # s10u7 - SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.22.4 { # s10u7 - SunOS 5.10 (Solaris 10) patch additions
protected:
SUNW_1.22.4;
} SUNW_1.22.3;
-SUNW_1.22.3 { # SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.22.3 { # SunOS 5.10 (Solaris 10) patch additions
protected:
mutex_consistent;
u8_textprep_str;
@@ -220,25 +275,25 @@ SUNW_1.22.3 { # SunOS 5.10 (Solaris 10) patch additions
uucopystr;
} SUNW_1.22.2;
-SUNW_1.22.2 { # SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.22.2 { # SunOS 5.10 (Solaris 10) patch additions
protected:
is_system_labeled;
ucred_getlabel;
_ucred_getlabel;
} SUNW_1.22.1;
-SUNW_1.22.1 { # SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.22.1 { # SunOS 5.10 (Solaris 10) patch additions
protected:
atomic_add_8;
atomic_add_8_nv;
- atomic_add_char = NODYNSORT;
- atomic_add_char_nv = NODYNSORT;
- atomic_add_int = NODYNSORT;
- atomic_add_int_nv = NODYNSORT;
- atomic_add_ptr = NODYNSORT;
- atomic_add_ptr_nv = NODYNSORT;
- atomic_add_short = NODYNSORT;
- atomic_add_short_nv = NODYNSORT;
+ atomic_add_char { FLAGS = NODYNSORT };
+ atomic_add_char_nv { FLAGS = NODYNSORT };
+ atomic_add_int { FLAGS = NODYNSORT };
+ atomic_add_int_nv { FLAGS = NODYNSORT };
+ atomic_add_ptr { FLAGS = NODYNSORT };
+ atomic_add_ptr_nv { FLAGS = NODYNSORT };
+ atomic_add_short { FLAGS = NODYNSORT };
+ atomic_add_short_nv { FLAGS = NODYNSORT };
atomic_and_16;
atomic_and_16_nv;
atomic_and_32_nv;
@@ -246,23 +301,23 @@ SUNW_1.22.1 { # SunOS 5.10 (Solaris 10) patch additions
atomic_and_64_nv;
atomic_and_8;
atomic_and_8_nv;
- atomic_and_uchar = NODYNSORT;
- atomic_and_uchar_nv = NODYNSORT;
- atomic_and_uint_nv = NODYNSORT;
- atomic_and_ulong = NODYNSORT;
- atomic_and_ulong_nv = NODYNSORT;
- atomic_and_ushort = NODYNSORT;
- atomic_and_ushort_nv = NODYNSORT;
+ atomic_and_uchar { FLAGS = NODYNSORT };
+ atomic_and_uchar_nv { FLAGS = NODYNSORT };
+ atomic_and_uint_nv { FLAGS = NODYNSORT };
+ atomic_and_ulong { FLAGS = NODYNSORT };
+ atomic_and_ulong_nv { FLAGS = NODYNSORT };
+ atomic_and_ushort { FLAGS = NODYNSORT };
+ atomic_and_ushort_nv { FLAGS = NODYNSORT };
atomic_cas_16;
atomic_cas_32;
atomic_cas_64;
atomic_cas_8;
- atomic_cas_ptr = NODYNSORT;
- atomic_cas_uchar = NODYNSORT;
- atomic_cas_uint = NODYNSORT;
- atomic_cas_ulong = NODYNSORT;
- atomic_cas_ushort = NODYNSORT;
- atomic_clear_long_excl = NODYNSORT;
+ atomic_cas_ptr { FLAGS = NODYNSORT };
+ atomic_cas_uchar { FLAGS = NODYNSORT };
+ atomic_cas_uint { FLAGS = NODYNSORT };
+ atomic_cas_ulong { FLAGS = NODYNSORT };
+ atomic_cas_ushort { FLAGS = NODYNSORT };
+ atomic_clear_long_excl { FLAGS = NODYNSORT };
atomic_dec_16;
atomic_dec_16_nv;
atomic_dec_32;
@@ -271,14 +326,14 @@ SUNW_1.22.1 { # SunOS 5.10 (Solaris 10) patch additions
atomic_dec_64_nv;
atomic_dec_8;
atomic_dec_8_nv;
- atomic_dec_uchar = NODYNSORT;
- atomic_dec_uchar_nv = NODYNSORT;
- atomic_dec_uint = NODYNSORT;
- atomic_dec_uint_nv = NODYNSORT;
- atomic_dec_ulong = NODYNSORT;
- atomic_dec_ulong_nv = NODYNSORT;
- atomic_dec_ushort = NODYNSORT;
- atomic_dec_ushort_nv = NODYNSORT;
+ atomic_dec_uchar { FLAGS = NODYNSORT };
+ atomic_dec_uchar_nv { FLAGS = NODYNSORT };
+ atomic_dec_uint { FLAGS = NODYNSORT };
+ atomic_dec_uint_nv { FLAGS = NODYNSORT };
+ atomic_dec_ulong { FLAGS = NODYNSORT };
+ atomic_dec_ulong_nv { FLAGS = NODYNSORT };
+ atomic_dec_ushort { FLAGS = NODYNSORT };
+ atomic_dec_ushort_nv { FLAGS = NODYNSORT };
atomic_inc_16;
atomic_inc_16_nv;
atomic_inc_32;
@@ -287,14 +342,14 @@ SUNW_1.22.1 { # SunOS 5.10 (Solaris 10) patch additions
atomic_inc_64_nv;
atomic_inc_8;
atomic_inc_8_nv;
- atomic_inc_uchar = NODYNSORT;
- atomic_inc_uchar_nv = NODYNSORT;
- atomic_inc_uint = NODYNSORT;
- atomic_inc_uint_nv = NODYNSORT;
- atomic_inc_ulong = NODYNSORT;
- atomic_inc_ulong_nv = NODYNSORT;
- atomic_inc_ushort = NODYNSORT;
- atomic_inc_ushort_nv = NODYNSORT;
+ atomic_inc_uchar { FLAGS = NODYNSORT };
+ atomic_inc_uchar_nv { FLAGS = NODYNSORT };
+ atomic_inc_uint { FLAGS = NODYNSORT };
+ atomic_inc_uint_nv { FLAGS = NODYNSORT };
+ atomic_inc_ulong { FLAGS = NODYNSORT };
+ atomic_inc_ulong_nv { FLAGS = NODYNSORT };
+ atomic_inc_ushort { FLAGS = NODYNSORT };
+ atomic_inc_ushort_nv { FLAGS = NODYNSORT };
atomic_or_16;
atomic_or_16_nv;
atomic_or_32_nv;
@@ -302,30 +357,104 @@ SUNW_1.22.1 { # SunOS 5.10 (Solaris 10) patch additions
atomic_or_64_nv;
atomic_or_8;
atomic_or_8_nv;
- atomic_or_uchar = NODYNSORT;
- atomic_or_uchar_nv = NODYNSORT;
- atomic_or_uint_nv = NODYNSORT;
- atomic_or_ulong = NODYNSORT;
- atomic_or_ulong_nv = NODYNSORT;
- atomic_or_ushort = NODYNSORT;
- atomic_or_ushort_nv = NODYNSORT;
- atomic_set_long_excl = NODYNSORT;
+ atomic_or_uchar { FLAGS = NODYNSORT };
+ atomic_or_uchar_nv { FLAGS = NODYNSORT };
+ atomic_or_uint_nv { FLAGS = NODYNSORT };
+ atomic_or_ulong { FLAGS = NODYNSORT };
+ atomic_or_ulong_nv { FLAGS = NODYNSORT };
+ atomic_or_ushort { FLAGS = NODYNSORT };
+ atomic_or_ushort_nv { FLAGS = NODYNSORT };
+ atomic_set_long_excl { FLAGS = NODYNSORT };
atomic_swap_16;
atomic_swap_32;
atomic_swap_64;
atomic_swap_8;
- atomic_swap_ptr = NODYNSORT;
- atomic_swap_uchar = NODYNSORT;
- atomic_swap_uint = NODYNSORT;
- atomic_swap_ulong = NODYNSORT;
- atomic_swap_ushort = NODYNSORT;
+ atomic_swap_ptr { FLAGS = NODYNSORT };
+ atomic_swap_uchar { FLAGS = NODYNSORT };
+ atomic_swap_uint { FLAGS = NODYNSORT };
+ atomic_swap_ulong { FLAGS = NODYNSORT };
+ atomic_swap_ushort { FLAGS = NODYNSORT };
membar_consumer;
membar_enter;
membar_exit;
membar_producer;
+
+$if _ELF32
+ enable_extended_FILE_stdio;
+$endif
+
+$if i386
+ # Note: atomic_[and,dec,inc,or]_64_nv are also defined above. Here,
+ # we add the NODYNSORT attribute to them. On this platform, they are
+ # aliases for the non-_nv versions. If that is changed, these lines
+ # should be removed.
+ atomic_and_64_nv { FLAGS = NODYNSORT };
+ atomic_dec_64_nv { FLAGS = NODYNSORT };
+ atomic_inc_64_nv { FLAGS = NODYNSORT };
+ atomic_or_64_nv { FLAGS = NODYNSORT };
+$endif
+$if _sparc
+ # Note: atomic_OP_WIDTH_nv symbols are also defined above. Here,
+ # we add the NODYNSORT attribute to them. On this platform, they are
+ # aliases for the non-_nv versions. If that is changed, these lines
+ # should be removed.
+ atomic_add_8_nv { FLAGS = NODYNSORT };
+ atomic_and_8_nv { FLAGS = NODYNSORT };
+ atomic_and_16_nv { FLAGS = NODYNSORT };
+ atomic_and_32_nv { FLAGS = NODYNSORT };
+ atomic_and_64_nv { FLAGS = NODYNSORT };
+ atomic_dec_8_nv { FLAGS = NODYNSORT };
+ atomic_dec_16_nv { FLAGS = NODYNSORT };
+ atomic_dec_32_nv { FLAGS = NODYNSORT };
+ atomic_dec_64_nv { FLAGS = NODYNSORT };
+ atomic_inc_8_nv { FLAGS = NODYNSORT };
+ atomic_inc_16_nv { FLAGS = NODYNSORT };
+ atomic_inc_32_nv { FLAGS = NODYNSORT };
+ atomic_inc_64_nv { FLAGS = NODYNSORT };
+ atomic_or_8_nv { FLAGS = NODYNSORT };
+ atomic_or_16_nv { FLAGS = NODYNSORT };
+ atomic_or_32_nv { FLAGS = NODYNSORT };
+ atomic_or_64_nv { FLAGS = NODYNSORT };
+$endif
} SUNW_1.22;
-SUNW_1.22 { # SunOS 5.10 (Solaris 10)
+SYMBOL_VERSION SUNW_1.22 { # SunOS 5.10 (Solaris 10)
+ global:
+$if _ELF32
+ dladdr { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dlclose { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dldump { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dlerror { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dlopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ dlsym { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+$elif sparcv9
+ dladdr { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dlclose { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dldump { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dlerror { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dlopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ dlsym { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+$elif amd64
+ dladdr { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dlclose { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dldump { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dlerror { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dlopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ dlsym { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+$else
+$error unknown platform
+$endif
+
protected:
alphasort;
_alphasort;
@@ -335,12 +464,12 @@ SUNW_1.22 { # SunOS 5.10 (Solaris 10)
atomic_add_32_nv;
atomic_add_64;
atomic_add_64_nv;
- atomic_add_long = NODYNSORT;
- atomic_add_long_nv = NODYNSORT;
+ atomic_add_long { FLAGS = NODYNSORT };
+ atomic_add_long_nv { FLAGS = NODYNSORT };
atomic_and_32;
- atomic_and_uint = NODYNSORT;
+ atomic_and_uint { FLAGS = NODYNSORT };
atomic_or_32;
- atomic_or_uint = NODYNSORT;
+ atomic_or_uint { FLAGS = NODYNSORT };
_Exit;
getisax;
_getisax;
@@ -463,9 +592,9 @@ SUNW_1.22 { # SunOS 5.10 (Solaris 10)
pthread_barrier_wait;
pthread_condattr_getclock;
pthread_condattr_setclock;
- pthread_mutexattr_getrobust_np = NODYNSORT;
- pthread_mutexattr_setrobust_np = NODYNSORT;
- pthread_mutex_consistent_np = NODYNSORT;
+ pthread_mutexattr_getrobust_np { FLAGS = NODYNSORT };
+ pthread_mutexattr_setrobust_np { FLAGS = NODYNSORT };
+ pthread_mutex_consistent_np { FLAGS = NODYNSORT };
pthread_mutex_reltimedlock_np;
pthread_mutex_timedlock;
pthread_rwlock_reltimedrdlock_np;
@@ -533,14 +662,73 @@ SUNW_1.22 { # SunOS 5.10 (Solaris 10)
wcstoll;
wcstoull;
wcstoumax;
+
+$if lf64
+ alphasort64;
+ _alphasort64;
+ pselect_large_fdset;
+ scandir64;
+ _scandir64;
+$endif
+
+$if _ELF64
+ walkcontext;
+$endif
+
+$if _sparc
+ # Note: atomic_add_[16,32,64]_nv are also defined above. Here, we add
+ # the NODYNSORT attribute to them. On this platform, they are aliases
+ # for the non-_nv versions. If that is changed, these lines should be
+ # removed.
+ atomic_add_16_nv { FLAGS = NODYNSORT };
+ atomic_add_32_nv { FLAGS = NODYNSORT };
+ atomic_add_64_nv { FLAGS = NODYNSORT };
+$endif
+
+$if i386
+ # Note: atomic_add_64_nv is also defined above. Here, we add the
+ # NODYNSORT attribute to it. On this platform, it is an aliases for
+ # atomic_add_64. If that is changed, this line should be removed.
+ atomic_add_64_nv { FLAGS = NODYNSORT };
+$endif
+
+$if amd64
+ # Exception unwind APIs required by the amd64 ABI
+ _SUNW_Unwind_DeleteException;
+ _SUNW_Unwind_ForcedUnwind;
+ _SUNW_Unwind_GetCFA;
+ _SUNW_Unwind_GetGR;
+ _SUNW_Unwind_GetIP;
+ _SUNW_Unwind_GetLanguageSpecificData;
+ _SUNW_Unwind_GetRegionStart;
+ _SUNW_Unwind_RaiseException;
+ _SUNW_Unwind_Resume;
+ _SUNW_Unwind_SetGR;
+ _SUNW_Unwind_SetIP;
+ _UA_CLEANUP_PHASE;
+ _UA_FORCE_UNWIND;
+ _UA_HANDLER_FRAME;
+ _UA_SEARCH_PHASE;
+ _Unwind_DeleteException;
+ _Unwind_ForcedUnwind;
+ _Unwind_GetCFA;
+ _Unwind_GetGR;
+ _Unwind_GetIP;
+ _Unwind_GetLanguageSpecificData;
+ _Unwind_GetRegionStart;
+ _Unwind_RaiseException;
+ _Unwind_Resume;
+ _Unwind_SetGR;
+ _Unwind_SetIP;
+$endif
} SUNW_1.21.3;
-SUNW_1.21.3 { # SunOS 5.9 (Solaris 9) patch additions
+SYMBOL_VERSION SUNW_1.21.3 { # SunOS 5.9 (Solaris 9) patch additions
protected:
forkall;
} SUNW_1.21.2;
-SUNW_1.21.2 { # SunOS 5.9 (Solaris 9) patch additions
+SYMBOL_VERSION SUNW_1.21.2 { # SunOS 5.9 (Solaris 9) patch additions
protected:
getustack;
_getustack;
@@ -555,14 +743,19 @@ SUNW_1.21.2 { # SunOS 5.9 (Solaris 9) patch additions
_stack_setbounds;
stack_violation;
_stack_violation;
+
+$if _sparc
+ __makecontext_v2;
+ ___makecontext_v2;
+$endif
} SUNW_1.21.1;
-SUNW_1.21.1 { # SunOS 5.9 (Solaris 9) patch additions
+SYMBOL_VERSION SUNW_1.21.1 { # SunOS 5.9 (Solaris 9) patch additions
protected:
crypt_gensalt;
} SUNW_1.21;
-SUNW_1.21 { # SunOS 5.9 (Solaris 9)
+SYMBOL_VERSION SUNW_1.21 { # SunOS 5.9 (Solaris 9)
protected:
attropen;
_attropen;
@@ -585,7 +778,7 @@ SUNW_1.21 { # SunOS 5.9 (Solaris 9)
getcpuid;
_getcpuid;
gethomelgroup;
- _gethomelgroup = NODYNSORT;
+ _gethomelgroup { FLAGS = NODYNSORT };
getpagesizes;
getrctl;
_getrctl;
@@ -634,15 +827,28 @@ SUNW_1.21 { # SunOS 5.9 (Solaris 9)
_vsscanf;
vswscanf;
vwscanf;
+
+$if _ELF32
+ walkcontext;
+$endif
+
+$if lf64
+ attropen64;
+ _attropen64;
+ fstatat64;
+ _fstatat64;
+ openat64;
+ _openat64;
+$endif
} SUNW_1.20.4;
-SUNW_1.20.4 { # SunOS 5.8 (Solaris 8) patch additions
+SYMBOL_VERSION SUNW_1.20.4 { # SunOS 5.8 (Solaris 8) patch additions
protected:
semtimedop;
_semtimedop;
} SUNW_1.20.1;
-SUNW_1.20.1 { # SunOS 5.8 (Solaris 8) patch additions
+SYMBOL_VERSION SUNW_1.20.1 { # SunOS 5.8 (Solaris 8) patch additions
protected:
getacct;
_getacct;
@@ -666,13 +872,13 @@ SUNW_1.20.1 { # SunOS 5.8 (Solaris 8) patch additions
_wracct;
} SUNW_1.20;
-SUNW_1.20 { # SunOS 5.8 (Solaris 8)
+SYMBOL_VERSION SUNW_1.20 { # SunOS 5.8 (Solaris 8)
protected:
getextmntent;
resetmnttab;
} SUNW_1.19;
-SUNW_1.19 {
+SYMBOL_VERSION SUNW_1.19 {
protected:
strlcat;
strlcpy;
@@ -680,12 +886,12 @@ SUNW_1.19 {
_umount2;
} SUNW_1.18.1;
-SUNW_1.18.1 {
+SYMBOL_VERSION SUNW_1.18.1 {
protected:
__fsetlocking;
} SUNW_1.18;
-SUNW_1.18 { # SunOS 5.7 (Solaris 7)
+SYMBOL_VERSION SUNW_1.18 { # SunOS 5.7 (Solaris 7)
protected:
btowc;
__fbufsize;
@@ -741,93 +947,97 @@ SUNW_1.18 { # SunOS 5.7 (Solaris 7)
wmemset;
wprintf;
wscanf;
+
+$if _ELF32
+ select_large_fdset;
+$endif
} SUNW_1.17;
# The empty versions SUNW_1.2 through SUNW_1.17 must be preserved because
# applications built on Solaris 2.6 Beta (when they did contain symbols)
# may depend on them. All symbol content for SunOS 5.6 is now in SUNW_1.1
-SUNW_1.17 {
+SYMBOL_VERSION SUNW_1.17 {
protected:
SUNW_1.17;
} SUNW_1.16;
-SUNW_1.16 {
+SYMBOL_VERSION SUNW_1.16 {
protected:
SUNW_1.16;
} SUNW_1.15;
-SUNW_1.15 {
+SYMBOL_VERSION SUNW_1.15 {
protected:
SUNW_1.15;
} SUNW_1.14;
-SUNW_1.14 {
+SYMBOL_VERSION SUNW_1.14 {
protected:
SUNW_1.14;
} SUNW_1.13;
-SUNW_1.13 {
+SYMBOL_VERSION SUNW_1.13 {
protected:
SUNW_1.13;
} SUNW_1.12;
-SUNW_1.12 {
+SYMBOL_VERSION SUNW_1.12 {
protected:
SUNW_1.12;
} SUNW_1.11;
-SUNW_1.11 {
+SYMBOL_VERSION SUNW_1.11 {
protected:
SUNW_1.11;
} SUNW_1.10;
-SUNW_1.10 {
+SYMBOL_VERSION SUNW_1.10 {
protected:
SUNW_1.10;
} SUNW_1.9;
-SUNW_1.9 {
+SYMBOL_VERSION SUNW_1.9 {
protected:
SUNW_1.9;
} SUNW_1.8;
-SUNW_1.8 {
+SYMBOL_VERSION SUNW_1.8 {
protected:
SUNW_1.8;
} SUNW_1.7;
-SUNW_1.7 {
+SYMBOL_VERSION SUNW_1.7 {
protected:
SUNW_1.7;
} SUNW_1.6;
-SUNW_1.6 {
+SYMBOL_VERSION SUNW_1.6 {
protected:
SUNW_1.6;
} SUNW_1.5;
-SUNW_1.5 {
+SYMBOL_VERSION SUNW_1.5 {
protected:
SUNW_1.5;
} SUNW_1.4;
-SUNW_1.4 {
+SYMBOL_VERSION SUNW_1.4 {
protected:
SUNW_1.4;
} SUNW_1.3;
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
protected:
SUNW_1.3;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
protected:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
+SYMBOL_VERSION SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
global:
__loc1;
protected:
@@ -942,8 +1152,8 @@ SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
regex;
resolvepath;
_resolvepath;
- rwlock_destroy = NODYNSORT;
- _rwlock_destroy = NODYNSORT;
+ rwlock_destroy { FLAGS = NODYNSORT };
+ _rwlock_destroy { FLAGS = NODYNSORT };
sema_destroy;
_sema_destroy;
_setjmp;
@@ -1012,9 +1222,74 @@ SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
wsxfrm;
__xpg4_putmsg;
__xpg4_putpmsg;
+
+$if lf64
+ creat64;
+ _creat64;
+ fgetpos64;
+ fopen64;
+ freopen64;
+ fseeko64;
+ fsetpos64;
+ fstat64;
+ _fstat64;
+ fstatvfs64;
+ _fstatvfs64;
+ ftello64;
+ ftruncate64;
+ _ftruncate64;
+ ftw64;
+ _ftw64;
+ getdents64;
+ _getdents64;
+ getrlimit64;
+ _getrlimit64;
+ lockf64;
+ _lockf64;
+ lseek64;
+ _lseek64;
+ lstat64;
+ _lstat64;
+ mkstemp64;
+ _mkstemp64;
+ mmap64;
+ _mmap64;
+ nftw64;
+ _nftw64;
+ open64;
+ _open64;
+ __posix_readdir_r;
+ pread64;
+ _pread64;
+ pwrite64;
+ _pwrite64;
+ readdir64;
+ _readdir64;
+ readdir64_r;
+ _readdir64_r;
+ setrlimit64;
+ _setrlimit64;
+ s_fcntl;
+ _s_fcntl { FLAGS = NODYNSORT };
+ s_ioctl;
+ stat64;
+ _stat64;
+ statvfs64;
+ _statvfs64;
+ tell64;
+ _tell64;
+ tmpfile64;
+ truncate64;
+ _truncate64;
+ _xftw64;
+$endif
+
+$if _sparc
+ __flt_rounds;
+$endif
} SUNW_0.9;
-SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
+SYMBOL_VERSION SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
protected:
acl;
bcmp;
@@ -1079,15 +1354,15 @@ SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
wait4;
} SUNW_0.8;
-SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
+SYMBOL_VERSION SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
global:
- __xpg4 = NODIRECT;
+ __xpg4 { FLAGS = NODIRECT };
protected:
addsev;
- cond_broadcast = NODYNSORT;
- cond_destroy = NODYNSORT;
+ cond_broadcast { FLAGS = NODYNSORT };
+ cond_destroy { FLAGS = NODYNSORT };
cond_init;
- cond_signal = NODYNSORT;
+ cond_signal { FLAGS = NODYNSORT };
cond_timedwait;
cond_wait;
confstr;
@@ -1099,24 +1374,24 @@ SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
iconv_close;
iconv_open;
lfmt;
- mutex_destroy = NODYNSORT;
+ mutex_destroy { FLAGS = NODYNSORT };
mutex_init;
- mutex_lock = NODYNSORT;
- mutex_trylock = NODYNSORT;
- mutex_unlock = NODYNSORT;
+ mutex_lock { FLAGS = NODYNSORT };
+ mutex_trylock { FLAGS = NODYNSORT };
+ mutex_unlock { FLAGS = NODYNSORT };
pfmt;
regcomp;
regerror;
regexec;
regfree;
rwlock_init;
- rw_rdlock = NODYNSORT;
+ rw_rdlock { FLAGS = NODYNSORT };
rw_read_held;
- rw_tryrdlock = NODYNSORT;
- rw_trywrlock = NODYNSORT;
- rw_unlock = NODYNSORT;
+ rw_tryrdlock { FLAGS = NODYNSORT };
+ rw_trywrlock { FLAGS = NODYNSORT };
+ rw_unlock { FLAGS = NODYNSORT };
rw_write_held;
- rw_wrlock = NODYNSORT;
+ rw_wrlock { FLAGS = NODYNSORT };
sema_held;
sema_init;
sema_post;
@@ -1135,7 +1410,7 @@ SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
thr_join;
thr_keycreate;
thr_kill;
- thr_self = NODYNSORT;
+ thr_self { FLAGS = NODYNSORT };
thr_setconcurrency;
thr_setprio;
thr_setspecific;
@@ -1148,24 +1423,47 @@ SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
wordfree;
} SUNW_0.7;
-SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
+SYMBOL_VERSION SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
global:
altzone;
- isnanf = FUNCTION FILTER libm.so.2;
+ _ctype;
+ isnanf { TYPE = FUNCTION; FILTER = libm.so.2 };
lone;
lten;
lzero;
- memalign = NODIRECT;
- modff = FUNCTION FILTER libm.so.2;
+ memalign { FLAGS = NODIRECT };
+ modff { TYPE = FUNCTION; FILTER = libm.so.2 };
nss_default_finders;
+ _sibuf;
+ _sobuf;
+ _sys_buslist;
+ _sys_cldlist;
+ _sys_fpelist;
_sys_illlist;
- valloc = NODIRECT;
+ _sys_segvlist;
+ _sys_siginfolistp;
+ _sys_siglist;
+ _sys_siglistn;
+ _sys_siglistp;
+ _sys_traplist;
+ valloc { FLAGS = NODIRECT };
+
+$if _ELF32
+ _bufendtab;
+ _lastbuf;
+ sys_errlist;
+ sys_nerr;
+ _sys_nsig;
+$endif
+
protected:
a64l;
adjtime;
ascftime;
+ _assert;
atoll;
brk;
+ __builtin_alloca;
cftime;
closelog;
csetcol;
@@ -1202,8 +1500,10 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
fgetspent;
fgetspent_r;
_filbuf;
+ file_to_decimal;
finite;
- fork1 = NODYNSORT;
+ _flsbuf;
+ fork1 { FLAGS = NODYNSORT };
fpclass;
fpgetmask;
fpgetsticky;
@@ -1286,6 +1586,8 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
mlockall;
mrand48;
munlockall;
+ _mutex_held { FLAGS = NODYNSORT };
+ _mutex_lock { FLAGS = NODYNSORT };
nrand48;
_nss_netdb_aliases;
_nss_XbyY_buf_alloc;
@@ -1295,6 +1597,7 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
__nsw_getconfig;
openlog;
plock;
+ p_online;
pread;
__priocntl;
__priocntlset;
@@ -1317,6 +1620,8 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
realpath;
remque;
_remque;
+ _rw_read_held;
+ _rw_write_held;
seconvert;
seed48;
select;
@@ -1334,6 +1639,7 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
sig2str;
sigwait;
single_to_decimal;
+ srand48;
ssignal;
statfs;
str2sig;
@@ -1344,6 +1650,7 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
strtoll;
strtoull;
swapctl;
+ _syscall;
sysfs;
syslog;
_syslog;
@@ -1364,22 +1671,827 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
vhangup;
vsyslog;
yield;
+
+$if i386
+ # Note: _syscall is also defined above. Here, we add the NODYNSORT
+ # attribute to it. On this platform, it is an alias to syscall.
+ # If that is changed, this lines should be removed.
+ _syscall { FLAGS = NODYNSORT };
+$endif
+
+# The 32-bit sparc ABI requires SISCD_2.3. On other platforms, those symbols
+# go directly into SUNW_0.7.
+$if sparc32
+} SISCD_2.3;
+
+SYMBOL_VERSION SISCD_2.3 {
+$endif
+
+ global:
+ errno { FLAGS = NODIRECT };
+ _iob;
+
+ protected:
+ addseverity;
+ _addseverity;
+ asctime_r;
+ crypt;
+ _crypt;
+ ctime_r;
+ encrypt;
+ _encrypt;
+ endgrent;
+ endpwent;
+ ___errno;
+ fgetgrent;
+ fgetgrent_r;
+ fgetpwent;
+ fgetpwent_r;
+ flockfile;
+ funlockfile;
+ getchar_unlocked;
+ getc_unlocked;
+ getgrent;
+ getgrent_r;
+ getgrgid_r;
+ getgrnam_r;
+ getitimer;
+ _getitimer;
+ getlogin_r;
+ getpwent;
+ getpwent_r;
+ getpwnam_r;
+ getpwuid_r;
+ gettimeofday;
+ _gettimeofday;
+ gmtime_r;
+ localtime_r;
+ putchar_unlocked;
+ putc_unlocked;
+ rand_r;
+ readdir_r;
+ setgrent;
+ setitimer;
+ _setitimer;
+ setkey;
+ _setkey;
+ setpwent;
+ strtok_r;
+ sysinfo;
+ _sysinfo;
+ ttyname_r;
+
+$if _ELF32
+ __div64;
+ __mul64;
+ __rem64;
+ __udiv64;
+ __urem64;
+$endif
+
+$if sparc32
+ __dtoll;
+ __dtoull;
+ __ftoll;
+ __ftoull;
+ _Q_lltoq;
+ _Q_qtoll;
+ _Q_qtoull;
+ _Q_ulltoq;
+ sbrk;
+ _sbrk;
+ __umul64 { FLAGS = NODYNSORT }; # Same address as __mul64
+$endif
+
+# On 32-bit platforms, the following symbols go into SYSVABI_1.3, but on
+# other platforms they go directly into the current version (which will be
+# either SUNW_0.7, or SISCD_2.3, depending on the similar issue described above.
+$if _ELF32
+} SYSVABI_1.3;
+
+SYMBOL_VERSION SYSVABI_1.3 {
+$endif
+
+ global:
+ _altzone;
+ calloc { FLAGS = NODIRECT };
+ __ctype;
+ daylight;
+ _daylight;
+ environ { FLAGS = NODIRECT };
+ _environ { FLAGS = NODIRECT };
+ free { FLAGS = NODIRECT };
+ frexp { TYPE = FUNCTION; FILTER = libm.so.2 };
+ getdate_err;
+ _getdate_err;
+ getenv;
+ __huge_val;
+ __iob;
+ isnan { TYPE = FUNCTION; FILTER = libm.so.2 };
+ _isnan { TYPE = FUNCTION; FILTER = libm.so.2 };
+ isnand { TYPE = FUNCTION; FILTER = libm.so.2 };
+ _isnand { TYPE = FUNCTION; FILTER = libm.so.2 };
+ ldexp { TYPE = FUNCTION; FILTER = libm.so.2 };
+ logb { TYPE = FUNCTION; FILTER = libm.so.2 };
+ malloc { FLAGS = NODIRECT };
+ modf { TYPE = FUNCTION; FILTER = libm.so.2 };
+ _modf { TYPE = FUNCTION; FILTER = libm.so.2 };
+ nextafter { TYPE = FUNCTION; FILTER = libm.so.2 };
+ _nextafter { TYPE = FUNCTION; FILTER = libm.so.2 };
+ _numeric;
+ optarg;
+ opterr;
+ optind;
+ optopt;
+ realloc { FLAGS = NODIRECT };
+ scalb { TYPE = FUNCTION; FILTER = libm.so.2 };
+ _scalb { TYPE = FUNCTION; FILTER = libm.so.2 };
+ timezone;
+ _timezone;
+ tzname;
+ _tzname;
+
+$if _x86
+ memcmp;
+ memcpy;
+ memmove;
+ memset;
+$endif
+
+$if i386
+ _fp_hw;
+$endif
+
+ protected:
+ abort;
+ abs;
+ access;
+ _access;
+ acct;
+ _acct;
+ alarm;
+ _alarm;
+ asctime;
+ __assert;
+ atexit;
+ atof;
+ atoi;
+ atol;
+ bsearch;
+ catclose;
+ _catclose;
+ catgets;
+ _catgets;
+ catopen;
+ _catopen;
+ cfgetispeed;
+ _cfgetispeed;
+ cfgetospeed;
+ _cfgetospeed;
+ cfsetispeed;
+ _cfsetispeed;
+ cfsetospeed;
+ _cfsetospeed;
+ chdir;
+ _chdir;
+ chmod;
+ _chmod;
+ chown;
+ _chown;
+ chroot;
+ _chroot;
+ _cleanup;
+ clearerr;
+ clock;
+ _close;
+ close;
+ closedir;
+ _closedir;
+ creat;
+ _creat;
+ ctermid;
+ ctime;
+ cuserid;
+ _cuserid;
+ difftime;
+ div;
+ dup;
+ _dup;
+ dup2;
+ _dup2;
+ execl;
+ _execl;
+ execle;
+ _execle;
+ execlp;
+ _execlp;
+ execv;
+ _execv;
+ execve;
+ _execve;
+ execvp;
+ _execvp;
+ exit;
+ _exit;
+ fattach;
+ _fattach;
+ fchdir;
+ _fchdir;
+ fchmod;
+ _fchmod;
+ fchown;
+ _fchown;
+ fclose;
+ fcntl;
+ _fcntl;
+ fdetach;
+ _fdetach;
+ fdopen;
+ _fdopen;
+ feof;
+ ferror;
+ fflush;
+ fgetc;
+ fgetpos;
+ fgets;
+ __filbuf;
+ fileno;
+ _fileno;
+ __flsbuf;
+ fmtmsg;
+ _fmtmsg;
+ fopen;
+ _fork;
+ fork;
+ fpathconf;
+ _fpathconf;
+ fprintf;
+ fputc;
+ fputs;
+ fread;
+ freopen;
+ fscanf;
+ fseek;
+ fsetpos;
+ fstat;
+ _fstat;
+ fstatvfs;
+ _fstatvfs;
+ fsync;
+ _fsync;
+ ftell;
+ ftok;
+ _ftok;
+ fwrite;
+ getc;
+ getchar;
+ getcontext;
+ _getcontext;
+ getcwd;
+ _getcwd;
+ getdate;
+ _getdate;
+ getegid;
+ _getegid;
+ geteuid;
+ _geteuid;
+ getgid;
+ _getgid;
+ getgrgid;
+ getgrnam;
+ getgroups;
+ _getgroups;
+ getlogin;
+ getmsg;
+ _getmsg;
+ getopt;
+ _getopt;
+ getpass;
+ _getpass;
+ getpgid;
+ _getpgid;
+ getpgrp;
+ _getpgrp;
+ getpid;
+ _getpid;
+ getpmsg;
+ _getpmsg;
+ getppid;
+ _getppid;
+ getpwnam;
+ getpwuid;
+ getrlimit;
+ _getrlimit;
+ gets;
+ getsid;
+ _getsid;
+ getsubopt;
+ _getsubopt;
+ gettxt;
+ _gettxt;
+ getuid;
+ _getuid;
+ getw;
+ _getw;
+ gmtime;
+ grantpt;
+ _grantpt;
+ hcreate;
+ _hcreate;
+ hdestroy;
+ _hdestroy;
+ hsearch;
+ _hsearch;
+ initgroups;
+ _initgroups;
+ ioctl;
+ _ioctl;
+ isalnum;
+ isalpha;
+ isascii;
+ _isascii;
+ isastream;
+ _isastream;
+ isatty;
+ _isatty;
+ iscntrl;
+ isdigit;
+ isgraph;
+ islower;
+ isprint;
+ ispunct;
+ isspace;
+ isupper;
+ isxdigit;
+ kill;
+ _kill;
+ labs;
+ lchown;
+ _lchown;
+ ldiv;
+ lfind;
+ _lfind;
+ link;
+ _link;
+ localeconv;
+ localtime;
+ lockf;
+ _lockf;
+ longjmp;
+ lsearch;
+ _lsearch;
+ lseek;
+ _lseek;
+ lstat;
+ _lstat;
+ makecontext;
+ _makecontext;
+ mblen;
+ mbstowcs;
+ mbtowc;
+ memccpy;
+ _memccpy;
+ memchr;
+ memcntl;
+ _memcntl;
+ mkdir;
+ _mkdir;
+ mkfifo;
+ _mkfifo;
+ mknod;
+ _mknod;
+ mktemp;
+ _mktemp;
+ mktime;
+ mlock;
+ _mlock;
+ mmap;
+ _mmap;
+ monitor;
+ _monitor;
+ mount;
+ _mount;
+ mprotect;
+ _mprotect;
+ msgctl;
+ _msgctl;
+ msgget;
+ _msgget;
+ msgrcv;
+ _msgrcv;
+ msgsnd;
+ _msgsnd;
+ msync;
+ _msync;
+ munlock;
+ _munlock;
+ munmap;
+ _munmap;
+ nftw;
+ _nftw;
+ nice;
+ _nice;
+ nl_langinfo;
+ _nl_langinfo;
+ open;
+ _open;
+ opendir;
+ _opendir;
+ pathconf;
+ _pathconf;
+ pause;
+ _pause;
+ pclose;
+ _pclose;
+ perror;
+ pipe;
+ _pipe;
+ poll;
+ _poll;
+ popen;
+ _popen;
+ printf;
+ profil;
+ _profil;
+ ptsname;
+ _ptsname;
+ putc;
+ putchar;
+ putenv;
+ _putenv;
+ putmsg;
+ _putmsg;
+ putpmsg;
+ _putpmsg;
+ puts;
+ putw;
+ _putw;
+ qsort;
+ raise;
+ rand;
+ read;
+ _read;
+ readdir;
+ _readdir;
+ readlink;
+ _readlink;
+ readv;
+ _readv;
+ remove;
+ rename;
+ _rename;
+ rewind;
+ rewinddir;
+ _rewinddir;
+ rmdir;
+ _rmdir;
+ scanf;
+ seekdir;
+ _seekdir;
+ semctl;
+ _semctl;
+ semget;
+ _semget;
+ semop;
+ _semop;
+ setbuf;
+ setcontext;
+ _setcontext { FLAGS = NODYNSORT };
+ setgid;
+ _setgid;
+ setgroups;
+ _setgroups;
+ setjmp;
+ setlabel;
+ setlocale;
+ setpgid;
+ _setpgid;
+ setpgrp;
+ _setpgrp;
+ setrlimit;
+ _setrlimit;
+ setsid;
+ _setsid;
+ setuid;
+ _setuid;
+ setvbuf;
+ shmat;
+ _shmat;
+ shmctl;
+ _shmctl;
+ shmdt;
+ _shmdt;
+ shmget;
+ _shmget;
+ sigaction;
+ _sigaction { FLAGS = NODYNSORT };
+ sigaddset;
+ _sigaddset;
+ sigaltstack;
+ _sigaltstack;
+ sigdelset;
+ _sigdelset;
+ sigemptyset;
+ _sigemptyset;
+ sigfillset;
+ _sigfillset;
+ sighold;
+ _sighold;
+ sigignore;
+ _sigignore;
+ sigismember;
+ _sigismember;
+ siglongjmp;
+ _siglongjmp;
+ signal;
+ sigpause;
+ _sigpause;
+ sigpending;
+ _sigpending;
+ sigprocmask;
+ _sigprocmask;
+ sigrelse;
+ _sigrelse;
+ sigsend;
+ _sigsend;
+ sigsendset;
+ _sigsendset;
+ sigset;
+ _sigset;
+ sigsetjmp;
+ _sigsetjmp { FLAGS = NODYNSORT };
+ sigsuspend;
+ _sigsuspend;
+ sleep;
+ _sleep;
+ sprintf;
+ srand;
+ sscanf;
+ stat;
+ _stat;
+ statvfs;
+ _statvfs;
+ stime;
+ _stime;
+ strcat;
+ strchr;
+ strcmp;
+ strcoll;
+ strcpy;
+ strcspn;
+ strdup;
+ _strdup;
+ strerror;
+ strftime;
+ strlen;
+ strncat;
+ strncmp;
+ strncpy;
+ strpbrk;
+ strrchr;
+ strspn;
+ strstr;
+ strtod;
+ strtok;
+ strtol;
+ strtoul;
+ strxfrm;
+ swab;
+ _swab;
+ swapcontext;
+ _swapcontext;
+ symlink;
+ _symlink;
+ sync;
+ _sync;
+ sysconf;
+ _sysconf;
+ system;
+ tcdrain;
+ _tcdrain;
+ tcflow;
+ _tcflow;
+ tcflush;
+ _tcflush;
+ tcgetattr;
+ _tcgetattr;
+ tcgetpgrp;
+ _tcgetpgrp;
+ tcgetsid;
+ _tcgetsid;
+ tcsendbreak;
+ _tcsendbreak;
+ tcsetattr;
+ _tcsetattr;
+ tcsetpgrp;
+ _tcsetpgrp;
+ tdelete;
+ _tdelete;
+ tell;
+ _tell;
+ telldir;
+ _telldir;
+ tempnam;
+ _tempnam;
+ tfind;
+ _tfind;
+ time;
+ _time;
+ times;
+ _times;
+ tmpfile;
+ tmpnam;
+ toascii;
+ _toascii;
+ tolower;
+ _tolower;
+ toupper;
+ _toupper;
+ tsearch;
+ _tsearch;
+ ttyname;
+ twalk;
+ _twalk;
+ tzset;
+ _tzset;
+ ulimit;
+ _ulimit;
+ umask;
+ _umask;
+ umount;
+ _umount;
+ uname;
+ _uname;
+ ungetc;
+ unlink;
+ _unlink;
+ unlockpt;
+ _unlockpt;
+ utime;
+ _utime;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait;
+ _wait;
+ waitid;
+ _waitid;
+ waitpid;
+ _waitpid;
+ wcstombs;
+ wctomb;
+ write;
+ _write;
+ writev;
+ _writev;
+ _xftw;
+
+$if _ELF32
+ ptrace;
+ _ptrace;
+$endif
+
+$if i386
+ _fxstat;
+ _lxstat;
+ nuname;
+ _nuname;
+ _xmknod;
+ _xstat;
+$endif
+
+$if !sparc32
+ sbrk;
+$endif
+
+$if _sparc
+ __dtou;
+ __ftou;
+$endif
+
+$if sparc32
+ .div;
+ .mul;
+ .rem;
+ .stret1;
+ .stret2;
+ .stret4;
+ # .stret4 and .stret8 are the same thing
+ .stret8 { FLAGS = NODYNSORT };
+ .udiv;
+ .umul;
+ .urem;
+ _Q_add;
+ _Q_cmp;
+ _Q_cmpe;
+ _Q_div;
+ _Q_dtoq;
+ _Q_feq;
+ _Q_fge;
+ _Q_fgt;
+ _Q_fle;
+ _Q_flt;
+ _Q_fne;
+ _Q_itoq;
+ _Q_mul;
+ _Q_neg;
+ _Q_qtod;
+ _Q_qtoi;
+ _Q_qtos;
+ _Q_qtou;
+ _Q_sqrt;
+ _Q_stoq;
+ _Q_sub;
+ _Q_utoq;
+$endif
+
+$if sparcv9
+ # __align_cpy_1 is an alias for memcpy. Filter it out of
+ # the .SUNW_dynsymsort section
+ __align_cpy_1 { FLAGS = NODYNSORT };
+ __align_cpy_16;
+ __align_cpy_2;
+ __align_cpy_4;
+ # __align_cpy_8 is same as __align_cpy_16
+ __align_cpy_8 { FLAGS = NODYNSORT };
+ __dtoul;
+ __ftoul;
+ _Qp_add;
+ _Qp_cmp;
+ _Qp_cmpe;
+ _Qp_div;
+ _Qp_dtoq;
+ _Qp_feq;
+ _Qp_fge;
+ _Qp_fgt;
+ _Qp_fle;
+ _Qp_flt;
+ _Qp_fne;
+ _Qp_itoq;
+ _Qp_mul;
+ _Qp_neg;
+ _Qp_qtod;
+ _Qp_qtoi;
+ _Qp_qtos;
+ _Qp_qtoui;
+ _Qp_qtoux;
+ _Qp_qtox;
+ _Qp_sqrt;
+ _Qp_stoq;
+ _Qp_sub;
+ _Qp_uitoq;
+ _Qp_uxtoq;
+ _Qp_xtoq;
+ __sparc_utrap_install;
+$endif
+
+# On amd64, we also have SYSVABI_1.3, but it contains a small subset of
+# the symbols put in that version on other platforms.
+$if amd64
+} SYSVABI_1.3;
+
+SYMBOL_VERSION SYSVABI_1.3 {
+$endif
+ global:
+$if !_sparc
+ __flt_rounds;
+$endif
+
+ protected:
+ _ctermid;
+ _getgrgid;
+ _getgrnam;
+ _getlogin;
+ _getpwnam;
+ _getpwuid;
+ _ttyname;
+
+$if !sparc32
+ _sbrk;
+$endif
+
+$if _x86
+ _fpstart;
+ __fpstart;
+$endif
};
+
+
# There should never be more than one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.1
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- ___Argv = NODIRECT;
- cfree = NODIRECT;
+ ___Argv { FLAGS = NODIRECT };
+ cfree { FLAGS = NODIRECT };
_cswidth;
__ctype_mask;
- __environ_lock = NODIRECT;
+ __environ_lock { FLAGS = NODIRECT };
__inf_read;
__inf_written;
__i_size;
- _isnanf = FUNCTION FILTER libm.so.2;
+ _isnanf { TYPE = FUNCTION; FILTER = libm.so.2 };
__lc_charmap;
__lc_collate;
__lc_ctype;
@@ -1389,13 +2501,13 @@ SUNWprivate_1.1 {
__lc_numeric;
__lc_time;
__libc_threaded;
- _lib_version = NODIRECT;
- _logb = FUNCTION FILTER libm.so.2;
- _lone = NODYNSORT;
- _lten = NODYNSORT;
- _lzero = NODYNSORT;
+ _lib_version { FLAGS = NODIRECT };
+ _logb { TYPE = FUNCTION; FILTER = libm.so.2 };
+ _lone { FLAGS = NODYNSORT };
+ _lten { FLAGS = NODYNSORT };
+ _lzero { FLAGS = NODYNSORT };
__malloc_lock;
- _modff = FUNCTION FILTER libm.so.2;
+ _modff { TYPE = FUNCTION; FILTER = libm.so.2 };
__nan_read;
__nan_written;
__nis_debug_bind;
@@ -1414,7 +2526,68 @@ SUNWprivate_1.1 {
__trans_lower;
__trans_upper;
_uberdata;
- __xpg6 = NODIRECT;
+ __xpg6 { FLAGS = NODIRECT };
+
+$if _ELF32
+ _dladdr { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dlclose { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dldump { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dlerror { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dlopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _dlsym { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _ld_libc { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
+ _sys_errlist;
+ _sys_errs;
+ _sys_index;
+ _sys_nerr { FLAGS = NODYNSORT };
+ _sys_num_err;
+$elif sparcv9
+ _dladdr { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dlclose { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dldump { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dlerror { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dlopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _dlsym { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+ _ld_libc { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
+$elif amd64
+ _dladdr { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dlclose { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dldump { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dlerror { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dlopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _dlsym { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+ _ld_libc { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
+$else
+$error unknown platform
+$endif
+
+$if _sparc
+ __lyday_to_month;
+ __mon_lengths;
+ __yday_to_month;
+$endif
+
+$if _x86
+ _memcmp;
+ _memcpy;
+ _memmove;
+ _memset;
+$endif
+
+$if i386
+ _sse_hw;
+$endif
+
protected:
acctctl;
allocids;
@@ -1488,8 +2661,8 @@ SUNWprivate_1.1 {
__fnmatch_C;
__fnmatch_sb;
__fnmatch_std;
- _fork1 = NODYNSORT;
- _forkall = NODYNSORT;
+ _fork1 { FLAGS = NODYNSORT };
+ _forkall { FLAGS = NODYNSORT };
_fpclass;
_fpgetmask;
_fpgetround;
@@ -1500,6 +2673,7 @@ SUNWprivate_1.1 {
_fpsetsticky;
__fputwc_xpg5;
__fputws_xpg5;
+ __fseterror_u;
_ftw;
_gcvt;
_getarg;
@@ -1537,7 +2711,7 @@ SUNWprivate_1.1 {
klpd_register_id;
klpd_unregister;
klpd_unregister_id;
- _lgrp_home_fast = NODYNSORT;
+ _lgrp_home_fast { FLAGS = NODYNSORT };
_lgrpsys;
_lltostr;
__localeconv_std;
@@ -1583,10 +2757,10 @@ SUNWprivate_1.1 {
__monetary_init;
msgctl64;
__multi_innetgr;
- _mutex_destroy = NODYNSORT;
+ _mutex_destroy { FLAGS = NODYNSORT };
mutex_held;
- _mutex_init = NODYNSORT;
- _mutex_unlock = NODYNSORT;
+ _mutex_init { FLAGS = NODYNSORT };
+ _mutex_unlock { FLAGS = NODYNSORT };
name_to_attr;
nfs_getfh;
nfssvc;
@@ -1812,69 +2986,196 @@ SUNWprivate_1.1 {
zone_setattr;
zone_shutdown;
zone_version;
+
+$if _ELF32
+ __divdi3;
+ _file_set;
+ _fprintf_c89;
+ _fscanf_c89;
+ _fwprintf_c89;
+ _fwscanf_c89;
+ _imaxabs_c89;
+ _imaxdiv_c89;
+ __moddi3;
+ _printf_c89;
+ _scanf_c89;
+ _snprintf_c89;
+ _sprintf_c89;
+ _sscanf_c89;
+ _strtoimax_c89;
+ _strtoumax_c89;
+ _swprintf_c89;
+ _swscanf_c89;
+ __udivdi3;
+ __umoddi3;
+ _vfprintf_c89;
+ _vfscanf_c89;
+ _vfwprintf_c89;
+ _vfwscanf_c89;
+ _vprintf_c89;
+ _vscanf_c89;
+ _vsnprintf_c89;
+ _vsprintf_c89;
+ _vsscanf_c89;
+ _vswprintf_c89;
+ _vswscanf_c89;
+ _vwprintf_c89;
+ _vwscanf_c89;
+ _wcstoimax_c89;
+ _wcstoumax_c89;
+ _wprintf_c89;
+ _wscanf_c89;
+$endif
+
+$if _sparc
+ _cerror;
+ install_utrap;
+ _install_utrap;
+ nop;
+ _Q_cplx_div;
+ _Q_cplx_div_ix;
+ _Q_cplx_div_rx;
+ _Q_cplx_lr_div;
+ _Q_cplx_lr_div_ix;
+ _Q_cplx_lr_div_rx;
+ _Q_cplx_lr_mul;
+ _Q_cplx_mul;
+ _QgetRD;
+ _xregs_clrptr;
+$endif
+
+$if sparc32
+ __ashldi3;
+ __ashrdi3;
+ _cerror64;
+ __cmpdi2;
+ __floatdidf;
+ __floatdisf;
+ __lshrdi3;
+ __muldi3;
+ __ucmpdi2;
+$endif
+
+$if _x86
+ _D_cplx_lr_div;
+ _D_cplx_lr_div_ix;
+ _D_cplx_lr_div_rx;
+ _F_cplx_lr_div;
+ _F_cplx_lr_div_ix;
+ _F_cplx_lr_div_rx;
+ __fltrounds;
+ sysi86;
+ _sysi86;
+ _X_cplx_div;
+ _X_cplx_div_ix;
+ _X_cplx_div_rx;
+ _X_cplx_lr_div;
+ _X_cplx_lr_div_ix;
+ _X_cplx_lr_div_rx;
+ _X_cplx_mul;
+ __xgetRD;
+ __xtol;
+ __xtoll;
+ __xtoul;
+ __xtoull;
+$endif
+
+$if i386
+ __divrem64;
+ ___tls_get_addr;
+ __udivrem64;
+$endif
+
# The following functions should not be exported from libc,
# but /lib/libm.so.2, some older versions of the Studio
# compiler/debugger components, and some ancient programs
# found in /usr/dist reference them. When we no longer
# care about these old and broken binary objects, these
# symbols should be deleted.
- _brk = NODYNSORT;
- _cond_broadcast = NODYNSORT;
- _cond_init = NODYNSORT;
- _cond_signal = NODYNSORT;
- _cond_wait = NODYNSORT;
- _ecvt = NODYNSORT;
- _fcvt = NODYNSORT;
- _getc_unlocked = NODYNSORT;
- _llseek = NODYNSORT;
- _pthread_attr_getdetachstate = NODYNSORT;
- _pthread_attr_getinheritsched = NODYNSORT;
- _pthread_attr_getschedparam = NODYNSORT;
- _pthread_attr_getschedpolicy = NODYNSORT;
- _pthread_attr_getscope = NODYNSORT;
- _pthread_attr_getstackaddr = NODYNSORT;
- _pthread_attr_getstacksize = NODYNSORT;
- _pthread_attr_init = NODYNSORT;
- _pthread_condattr_getpshared = NODYNSORT;
- _pthread_condattr_init = NODYNSORT;
- _pthread_cond_init = NODYNSORT;
- _pthread_create = NODYNSORT;
- _pthread_getschedparam = NODYNSORT;
- _pthread_join = NODYNSORT;
- _pthread_key_create = NODYNSORT;
- _pthread_mutexattr_getprioceiling = NODYNSORT;
- _pthread_mutexattr_getprotocol = NODYNSORT;
- _pthread_mutexattr_getpshared = NODYNSORT;
- _pthread_mutexattr_init = NODYNSORT;
- _pthread_mutex_getprioceiling = NODYNSORT;
- _pthread_mutex_init = NODYNSORT;
- _pthread_sigmask = NODYNSORT;
- _rwlock_init = NODYNSORT;
- _rw_rdlock = NODYNSORT;
- _rw_unlock = NODYNSORT;
- _rw_wrlock = NODYNSORT;
- _sbrk_unlocked = NODYNSORT;
- _select = NODYNSORT;
- _sema_init = NODYNSORT;
- _sema_post = NODYNSORT;
- _sema_trywait = NODYNSORT;
- _sema_wait = NODYNSORT;
- _sysfs = NODYNSORT;
- _thr_create = NODYNSORT;
- _thr_exit = NODYNSORT;
- _thr_getprio = NODYNSORT;
- _thr_getspecific = NODYNSORT;
- _thr_join = NODYNSORT;
- _thr_keycreate = NODYNSORT;
- _thr_kill = NODYNSORT;
- _thr_main = NODYNSORT;
- _thr_self = NODYNSORT;
- _thr_setspecific = NODYNSORT;
- _thr_sigsetmask = NODYNSORT;
- _thr_stksegment = NODYNSORT;
- _ungetc_unlocked = NODYNSORT;
+ _brk { FLAGS = NODYNSORT };
+ _cond_broadcast { FLAGS = NODYNSORT };
+ _cond_init { FLAGS = NODYNSORT };
+ _cond_signal { FLAGS = NODYNSORT };
+ _cond_wait { FLAGS = NODYNSORT };
+ _ecvt { FLAGS = NODYNSORT };
+ _fcvt { FLAGS = NODYNSORT };
+ _getc_unlocked { FLAGS = NODYNSORT };
+ _llseek { FLAGS = NODYNSORT };
+ _pthread_attr_getdetachstate { FLAGS = NODYNSORT };
+ _pthread_attr_getinheritsched { FLAGS = NODYNSORT };
+ _pthread_attr_getschedparam { FLAGS = NODYNSORT };
+ _pthread_attr_getschedpolicy { FLAGS = NODYNSORT };
+ _pthread_attr_getscope { FLAGS = NODYNSORT };
+ _pthread_attr_getstackaddr { FLAGS = NODYNSORT };
+ _pthread_attr_getstacksize { FLAGS = NODYNSORT };
+ _pthread_attr_init { FLAGS = NODYNSORT };
+ _pthread_condattr_getpshared { FLAGS = NODYNSORT };
+ _pthread_condattr_init { FLAGS = NODYNSORT };
+ _pthread_cond_init { FLAGS = NODYNSORT };
+ _pthread_create { FLAGS = NODYNSORT };
+ _pthread_getschedparam { FLAGS = NODYNSORT };
+ _pthread_join { FLAGS = NODYNSORT };
+ _pthread_key_create { FLAGS = NODYNSORT };
+ _pthread_mutexattr_getprioceiling { FLAGS = NODYNSORT };
+ _pthread_mutexattr_getprotocol { FLAGS = NODYNSORT };
+ _pthread_mutexattr_getpshared { FLAGS = NODYNSORT };
+ _pthread_mutexattr_init { FLAGS = NODYNSORT };
+ _pthread_mutex_getprioceiling { FLAGS = NODYNSORT };
+ _pthread_mutex_init { FLAGS = NODYNSORT };
+ _pthread_sigmask { FLAGS = NODYNSORT };
+ _rwlock_init { FLAGS = NODYNSORT };
+ _rw_rdlock { FLAGS = NODYNSORT };
+ _rw_unlock { FLAGS = NODYNSORT };
+ _rw_wrlock { FLAGS = NODYNSORT };
+ _sbrk_unlocked { FLAGS = NODYNSORT };
+ _select { FLAGS = NODYNSORT };
+ _sema_init { FLAGS = NODYNSORT };
+ _sema_post { FLAGS = NODYNSORT };
+ _sema_trywait { FLAGS = NODYNSORT };
+ _sema_wait { FLAGS = NODYNSORT };
+ _sysfs { FLAGS = NODYNSORT };
+ _thr_create { FLAGS = NODYNSORT };
+ _thr_exit { FLAGS = NODYNSORT };
+ _thr_getprio { FLAGS = NODYNSORT };
+ _thr_getspecific { FLAGS = NODYNSORT };
+ _thr_join { FLAGS = NODYNSORT };
+ _thr_keycreate { FLAGS = NODYNSORT };
+ _thr_kill { FLAGS = NODYNSORT };
+ _thr_main { FLAGS = NODYNSORT };
+ _thr_self { FLAGS = NODYNSORT };
+ _thr_setspecific { FLAGS = NODYNSORT };
+ _thr_sigsetmask { FLAGS = NODYNSORT };
+ _thr_stksegment { FLAGS = NODYNSORT };
+ _ungetc_unlocked { FLAGS = NODYNSORT };
+
local:
- __imax_lldiv = NODYNSORT;
- _ti_thr_self = NODYNSORT;
+ __imax_lldiv { FLAGS = NODYNSORT };
+ _ti_thr_self { FLAGS = NODYNSORT };
*;
+
+$if lf64
+ _seekdir64 { FLAGS = NODYNSORT };
+ _telldir64 { FLAGS = NODYNSORT };
+$endif
+
+$if _sparc
+ __cerror { FLAGS = NODYNSORT };
+$endif
+
+$if sparc32
+ __cerror64 { FLAGS = NODYNSORT };
+$endif
+
+$if sparcv9
+ __cleanup { FLAGS = NODYNSORT };
+$endif
+
+$if i386
+ _syscall6 { FLAGS = NODYNSORT };
+ __systemcall6 { FLAGS = NODYNSORT };
+$endif
+
+$if amd64
+ ___tls_get_addr { FLAGS = NODYNSORT };
+$endif
};
diff --git a/usr/src/lib/libc/sparc/Makefile.com b/usr/src/lib/libc/sparc/Makefile.com
index f78b8667f7..ff779c4d07 100644
--- a/usr/src/lib/libc/sparc/Makefile.com
+++ b/usr/src/lib/libc/sparc/Makefile.com
@@ -20,8 +20,7 @@
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBCDIR= $(SRC)/lib/libc
@@ -976,8 +975,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS)
-MAPFILES = $(LIBCDIR)/port/mapfile-vers $(LIBCDIR)/sparc/mapfile-vers \
- $(MAPFILE_AUX)
+MAPFILES = $(LIBCDIR)/port/mapfile-vers $(MAPFILE_AUX)
CFLAGS += $(EXTN_CFLAGS)
CPPFLAGS= -D_REENTRANT -Dsparc $(EXTN_CPPFLAGS) $(THREAD_DEBUG) \
diff --git a/usr/src/lib/libc/sparc/mapfile-vers b/usr/src/lib/libc/sparc/mapfile-vers
deleted file mode 100644
index 916e157908..0000000000
--- a/usr/src/lib/libc/sparc/mapfile-vers
+++ /dev/null
@@ -1,1002 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.23 {
- global:
- dl_iterate_phdr = FUNCTION FILTER /usr/lib/ld.so.1;
-
- protected:
- aio_cancel64;
- aio_error64;
- aio_fsync64;
- aio_read64;
- aioread64;
- aio_return64;
- aio_suspend64;
- aio_waitn64;
- aio_write64;
- aiowrite64;
- lio_listio64;
- mkstemps64;
- posix_fadvise64;
- posix_fallocate64;
-};
-
-SUNW_1.22.1 {
- protected:
- # Note: The atomic_OP_WIDTH_nv symbols defined here are also defined
- # by the common mapfile. Here, we add the NODYNSORT attribute
- # to them. On this platform, they are aliases for the non-_nv
- # versions. If that is changed, these lines should be removed.
- atomic_add_8_nv = NODYNSORT;
- atomic_and_8_nv = NODYNSORT;
- atomic_and_16_nv = NODYNSORT;
- atomic_and_32_nv = NODYNSORT;
- atomic_and_64_nv = NODYNSORT;
- atomic_dec_8_nv = NODYNSORT;
- atomic_dec_16_nv = NODYNSORT;
- atomic_dec_32_nv = NODYNSORT;
- atomic_dec_64_nv = NODYNSORT;
- atomic_inc_8_nv = NODYNSORT;
- atomic_inc_16_nv = NODYNSORT;
- atomic_inc_32_nv = NODYNSORT;
- atomic_inc_64_nv = NODYNSORT;
- atomic_or_8_nv = NODYNSORT;
- atomic_or_16_nv = NODYNSORT;
- atomic_or_32_nv = NODYNSORT;
- atomic_or_64_nv = NODYNSORT;
-
- enable_extended_FILE_stdio;
-} SUNW_1.22;
-
-
-SUNW_1.22 {
- global:
- dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
- dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
- dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
- dldump = FUNCTION FILTER /usr/lib/ld.so.1;
- dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
- dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
- dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
- dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
- dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
- protected:
- alphasort64;
- _alphasort64;
-
- # Note: atomic_add_[16,32,64]_nv are also defined by the common
- # mapfile. Here, we add the NODYNSORT attribute to them. On this
- # platform, they are aliases for the non-_nv versions. If that is
- # changed, these lines should be removed.
- atomic_add_16_nv = NODYNSORT;
- atomic_add_32_nv = NODYNSORT;
- atomic_add_64_nv = NODYNSORT;
-
- pselect_large_fdset;
- scandir64;
- _scandir64;
-};
-
-SUNW_1.21.2 {
- protected:
- __makecontext_v2;
- ___makecontext_v2;
-};
-
-SUNW_1.21 {
- protected:
- attropen64;
- _attropen64;
- fstatat64;
- _fstatat64;
- openat64;
- _openat64;
- walkcontext;
-};
-
-SUNW_1.18 {
- protected:
- select_large_fdset;
-};
-
-SUNW_1.1 {
- protected:
- creat64;
- _creat64;
- fgetpos64;
- __flt_rounds;
- fopen64;
- freopen64;
- fseeko64;
- fsetpos64;
- fstat64;
- _fstat64;
- fstatvfs64;
- _fstatvfs64;
- ftello64;
- ftruncate64;
- _ftruncate64;
- ftw64;
- _ftw64;
- getdents64;
- _getdents64;
- getrlimit64;
- _getrlimit64;
- lockf64;
- _lockf64;
- lseek64;
- _lseek64;
- lstat64;
- _lstat64;
- mkstemp64;
- _mkstemp64;
- mmap64;
- _mmap64;
- nftw64;
- _nftw64;
- open64;
- _open64;
- __posix_readdir_r;
- pread64;
- _pread64;
- pwrite64;
- _pwrite64;
- readdir64;
- _readdir64;
- readdir64_r;
- _readdir64_r;
- setrlimit64;
- _setrlimit64;
- s_fcntl;
- _s_fcntl = NODYNSORT;
- s_ioctl;
- stat64;
- _stat64;
- statvfs64;
- _statvfs64;
- tell64;
- _tell64;
- tmpfile64;
- truncate64;
- _truncate64;
- _xftw64;
-};
-
-SUNW_0.7 {
- global:
- _bufendtab;
- _ctype;
- _lastbuf;
- _sibuf;
- _sobuf;
- _sys_buslist;
- _sys_cldlist;
- sys_errlist;
- _sys_fpelist;
- sys_nerr;
- _sys_nsig;
- _sys_segvlist;
- _sys_siginfolistp;
- _sys_siglist;
- _sys_siglistn;
- _sys_siglistp;
- _sys_traplist;
- protected:
- _assert;
- __builtin_alloca;
- file_to_decimal;
- _flsbuf;
- _mutex_held = NODYNSORT;
- _mutex_lock = NODYNSORT;
- p_online;
- _rw_read_held;
- _rw_write_held;
- srand48;
- _syscall;
-} SISCD_2.3;
-
-SISCD_2.3 {
- global:
- errno = NODIRECT;
- _iob;
- protected:
- addseverity;
- _addseverity;
- asctime_r;
- crypt;
- _crypt;
- ctime_r;
- __div64;
- __dtoll;
- __dtoull;
- encrypt;
- _encrypt;
- endgrent;
- endpwent;
- ___errno;
- fgetgrent;
- fgetgrent_r;
- fgetpwent;
- fgetpwent_r;
- flockfile;
- __ftoll;
- __ftoull;
- funlockfile;
- getchar_unlocked;
- getc_unlocked;
- getgrent;
- getgrent_r;
- getgrgid_r;
- getgrnam_r;
- getitimer;
- _getitimer;
- getlogin_r;
- getpwent;
- getpwent_r;
- getpwnam_r;
- getpwuid_r;
- gettimeofday;
- _gettimeofday;
- gmtime_r;
- localtime_r;
- __mul64;
- putchar_unlocked;
- putc_unlocked;
- _Q_lltoq;
- _Q_qtoll;
- _Q_qtoull;
- _Q_ulltoq;
- rand_r;
- readdir_r;
- __rem64;
- sbrk;
- _sbrk;
- setgrent;
- setitimer;
- _setitimer;
- setkey;
- _setkey;
- setpwent;
- strtok_r;
- sysinfo;
- _sysinfo;
- ttyname_r;
- __udiv64;
- __umul64 = NODYNSORT; # Same address as __mul64
- __urem64;
-} SYSVABI_1.3;
-
-SYSVABI_1.3 {
- global:
- _altzone;
- calloc = NODIRECT;
- __ctype;
- daylight;
- _daylight;
- environ = NODIRECT;
- _environ = NODIRECT;
- free = NODIRECT;
- frexp = FUNCTION FILTER libm.so.2;
- getdate_err;
- _getdate_err;
- getenv;
- __huge_val;
- __iob;
- isnan = FUNCTION FILTER libm.so.2;
- _isnan = FUNCTION FILTER libm.so.2;
- isnand = FUNCTION FILTER libm.so.2;
- _isnand = FUNCTION FILTER libm.so.2;
- ldexp = FUNCTION FILTER libm.so.2;
- logb = FUNCTION FILTER libm.so.2;
- malloc = NODIRECT;
- modf = FUNCTION FILTER libm.so.2;
- _modf = FUNCTION FILTER libm.so.2;
- nextafter = FUNCTION FILTER libm.so.2;
- _nextafter = FUNCTION FILTER libm.so.2;
- _numeric;
- optarg;
- opterr;
- optind;
- optopt;
- realloc = NODIRECT;
- scalb = FUNCTION FILTER libm.so.2;
- _scalb = FUNCTION FILTER libm.so.2;
- timezone;
- _timezone;
- tzname;
- _tzname;
- protected:
- .div;
- .mul;
- .rem;
- .stret1;
- .stret2;
- .stret4;
- # .stret4 and .stret8 are the same thing
- .stret8 = NODYNSORT;
- .udiv;
- .umul;
- .urem;
- abort;
- abs;
- access;
- _access;
- acct;
- _acct;
- alarm;
- _alarm;
- asctime;
- __assert;
- atexit;
- atof;
- atoi;
- atol;
- bsearch;
- catclose;
- _catclose;
- catgets;
- _catgets;
- catopen;
- _catopen;
- cfgetispeed;
- _cfgetispeed;
- cfgetospeed;
- _cfgetospeed;
- cfsetispeed;
- _cfsetispeed;
- cfsetospeed;
- _cfsetospeed;
- chdir;
- _chdir;
- chmod;
- _chmod;
- chown;
- _chown;
- chroot;
- _chroot;
- _cleanup;
- clearerr;
- clock;
- _close;
- close;
- closedir;
- _closedir;
- creat;
- _creat;
- ctermid;
- _ctermid;
- ctime;
- cuserid;
- _cuserid;
- difftime;
- div;
- __dtou;
- dup;
- _dup;
- dup2;
- _dup2;
- execl;
- _execl;
- execle;
- _execle;
- execlp;
- _execlp;
- execv;
- _execv;
- execve;
- _execve;
- execvp;
- _execvp;
- exit;
- _exit;
- fattach;
- _fattach;
- fchdir;
- _fchdir;
- fchmod;
- _fchmod;
- fchown;
- _fchown;
- fclose;
- fcntl;
- _fcntl;
- fdetach;
- _fdetach;
- fdopen;
- _fdopen;
- feof;
- ferror;
- fflush;
- fgetc;
- fgetpos;
- fgets;
- __filbuf;
- fileno;
- _fileno;
- __flsbuf;
- fmtmsg;
- _fmtmsg;
- fopen;
- _fork;
- fork;
- fpathconf;
- _fpathconf;
- fprintf;
- fputc;
- fputs;
- fread;
- freopen;
- fscanf;
- fseek;
- fsetpos;
- fstat;
- _fstat;
- fstatvfs;
- _fstatvfs;
- fsync;
- _fsync;
- ftell;
- ftok;
- _ftok;
- __ftou;
- fwrite;
- getc;
- getchar;
- getcontext;
- _getcontext;
- getcwd;
- _getcwd;
- getdate;
- _getdate;
- getegid;
- _getegid;
- geteuid;
- _geteuid;
- getgid;
- _getgid;
- getgrgid;
- _getgrgid;
- getgrnam;
- _getgrnam;
- getgroups;
- _getgroups;
- getlogin;
- _getlogin;
- getmsg;
- _getmsg;
- getopt;
- _getopt;
- getpass;
- _getpass;
- getpgid;
- _getpgid;
- getpgrp;
- _getpgrp;
- getpid;
- _getpid;
- getpmsg;
- _getpmsg;
- getppid;
- _getppid;
- getpwnam;
- _getpwnam;
- getpwuid;
- _getpwuid;
- getrlimit;
- _getrlimit;
- gets;
- getsid;
- _getsid;
- getsubopt;
- _getsubopt;
- gettxt;
- _gettxt;
- getuid;
- _getuid;
- getw;
- _getw;
- gmtime;
- grantpt;
- _grantpt;
- hcreate;
- _hcreate;
- hdestroy;
- _hdestroy;
- hsearch;
- _hsearch;
- initgroups;
- _initgroups;
- ioctl;
- _ioctl;
- isalnum;
- isalpha;
- isascii;
- _isascii;
- isastream;
- _isastream;
- isatty;
- _isatty;
- iscntrl;
- isdigit;
- isgraph;
- islower;
- isprint;
- ispunct;
- isspace;
- isupper;
- isxdigit;
- kill;
- _kill;
- labs;
- lchown;
- _lchown;
- ldiv;
- lfind;
- _lfind;
- link;
- _link;
- localeconv;
- localtime;
- lockf;
- _lockf;
- longjmp;
- lsearch;
- _lsearch;
- lseek;
- _lseek;
- lstat;
- _lstat;
- makecontext;
- _makecontext;
- mblen;
- mbstowcs;
- mbtowc;
- memccpy;
- _memccpy;
- memchr;
- memcntl;
- _memcntl;
- mkdir;
- _mkdir;
- mkfifo;
- _mkfifo;
- mknod;
- _mknod;
- mktemp;
- _mktemp;
- mktime;
- mlock;
- _mlock;
- mmap;
- _mmap;
- monitor;
- _monitor;
- mount;
- _mount;
- mprotect;
- _mprotect;
- msgctl;
- _msgctl;
- msgget;
- _msgget;
- msgrcv;
- _msgrcv;
- msgsnd;
- _msgsnd;
- msync;
- _msync;
- munlock;
- _munlock;
- munmap;
- _munmap;
- nftw;
- _nftw;
- nice;
- _nice;
- nl_langinfo;
- _nl_langinfo;
- open;
- _open;
- opendir;
- _opendir;
- pathconf;
- _pathconf;
- pause;
- _pause;
- pclose;
- _pclose;
- perror;
- pipe;
- _pipe;
- poll;
- _poll;
- popen;
- _popen;
- printf;
- profil;
- _profil;
- ptrace;
- _ptrace;
- ptsname;
- _ptsname;
- putc;
- putchar;
- putenv;
- _putenv;
- putmsg;
- _putmsg;
- putpmsg;
- _putpmsg;
- puts;
- putw;
- _putw;
- _Q_add;
- _Q_cmp;
- _Q_cmpe;
- _Q_div;
- _Q_dtoq;
- _Q_feq;
- _Q_fge;
- _Q_fgt;
- _Q_fle;
- _Q_flt;
- _Q_fne;
- _Q_itoq;
- _Q_mul;
- _Q_neg;
- _Q_qtod;
- _Q_qtoi;
- _Q_qtos;
- _Q_qtou;
- qsort;
- _Q_sqrt;
- _Q_stoq;
- _Q_sub;
- _Q_utoq;
- raise;
- rand;
- read;
- _read;
- readdir;
- _readdir;
- readlink;
- _readlink;
- readv;
- _readv;
- remove;
- rename;
- _rename;
- rewind;
- rewinddir;
- _rewinddir;
- rmdir;
- _rmdir;
- scanf;
- seekdir;
- _seekdir;
- semctl;
- _semctl;
- semget;
- _semget;
- semop;
- _semop;
- setbuf;
- setcontext;
- _setcontext = NODYNSORT;
- setgid;
- _setgid;
- setgroups;
- _setgroups;
- setjmp;
- setlabel;
- setlocale;
- setpgid;
- _setpgid;
- setpgrp;
- _setpgrp;
- setrlimit;
- _setrlimit;
- setsid;
- _setsid;
- setuid;
- _setuid;
- setvbuf;
- shmat;
- _shmat;
- shmctl;
- _shmctl;
- shmdt;
- _shmdt;
- shmget;
- _shmget;
- sigaction;
- _sigaction = NODYNSORT;
- sigaddset;
- _sigaddset;
- sigaltstack;
- _sigaltstack;
- sigdelset;
- _sigdelset;
- sigemptyset;
- _sigemptyset;
- sigfillset;
- _sigfillset;
- sighold;
- _sighold;
- sigignore;
- _sigignore;
- sigismember;
- _sigismember;
- siglongjmp;
- _siglongjmp;
- signal;
- sigpause;
- _sigpause;
- sigpending;
- _sigpending;
- sigprocmask;
- _sigprocmask;
- sigrelse;
- _sigrelse;
- sigsend;
- _sigsend;
- sigsendset;
- _sigsendset;
- sigset;
- _sigset;
- sigsetjmp;
- _sigsetjmp = NODYNSORT;
- sigsuspend;
- _sigsuspend;
- sleep;
- _sleep;
- sprintf;
- srand;
- sscanf;
- stat;
- _stat;
- statvfs;
- _statvfs;
- stime;
- _stime;
- strcat;
- strchr;
- strcmp;
- strcoll;
- strcpy;
- strcspn;
- strdup;
- _strdup;
- strerror;
- strftime;
- strlen;
- strncat;
- strncmp;
- strncpy;
- strpbrk;
- strrchr;
- strspn;
- strstr;
- strtod;
- strtok;
- strtol;
- strtoul;
- strxfrm;
- swab;
- _swab;
- swapcontext;
- _swapcontext;
- symlink;
- _symlink;
- sync;
- _sync;
- sysconf;
- _sysconf;
- system;
- tcdrain;
- _tcdrain;
- tcflow;
- _tcflow;
- tcflush;
- _tcflush;
- tcgetattr;
- _tcgetattr;
- tcgetpgrp;
- _tcgetpgrp;
- tcgetsid;
- _tcgetsid;
- tcsendbreak;
- _tcsendbreak;
- tcsetattr;
- _tcsetattr;
- tcsetpgrp;
- _tcsetpgrp;
- tdelete;
- _tdelete;
- tell;
- _tell;
- telldir;
- _telldir;
- tempnam;
- _tempnam;
- tfind;
- _tfind;
- time;
- _time;
- times;
- _times;
- tmpfile;
- tmpnam;
- toascii;
- _toascii;
- tolower;
- _tolower;
- toupper;
- _toupper;
- tsearch;
- _tsearch;
- ttyname;
- _ttyname;
- twalk;
- _twalk;
- tzset;
- _tzset;
- ulimit;
- _ulimit;
- umask;
- _umask;
- umount;
- _umount;
- uname;
- _uname;
- ungetc;
- unlink;
- _unlink;
- unlockpt;
- _unlockpt;
- utime;
- _utime;
- vfprintf;
- vprintf;
- vsprintf;
- wait;
- _wait;
- waitid;
- _waitid;
- waitpid;
- _waitpid;
- wcstombs;
- wctomb;
- write;
- _write;
- writev;
- _writev;
- _xftw;
-};
-
-SUNWprivate_1.1 {
- global:
- _dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
- _dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
- _dldump = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
- _dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
- _ld_libc = FUNCTION FILTER /usr/lib/ld.so.1;
- __lyday_to_month;
- __mon_lengths;
- _sys_errlist;
- _sys_errs;
- _sys_index;
- _sys_nerr = NODYNSORT;
- _sys_num_err;
- __yday_to_month;
- protected:
- __ashldi3;
- __ashrdi3;
- _cerror;
- _cerror64;
- __cmpdi2;
- __divdi3;
- _file_set;
- __floatdidf;
- __floatdisf;
- _fprintf_c89;
- _fscanf_c89;
- __fseterror_u;
- _fwprintf_c89;
- _fwscanf_c89;
- _imaxabs_c89;
- _imaxdiv_c89;
- install_utrap;
- _install_utrap;
- __lshrdi3;
- __moddi3;
- __muldi3;
- nop;
- _printf_c89;
- _Q_cplx_div;
- _Q_cplx_div_ix;
- _Q_cplx_div_rx;
- _Q_cplx_lr_div;
- _Q_cplx_lr_div_ix;
- _Q_cplx_lr_div_rx;
- _Q_cplx_lr_mul;
- _Q_cplx_mul;
- _QgetRD;
- _scanf_c89;
- _snprintf_c89;
- _sprintf_c89;
- _sscanf_c89;
- _strtoimax_c89;
- _strtoumax_c89;
- _swprintf_c89;
- _swscanf_c89;
- __ucmpdi2;
- __udivdi3;
- __umoddi3;
- _vfprintf_c89;
- _vfscanf_c89;
- _vfwprintf_c89;
- _vfwscanf_c89;
- _vprintf_c89;
- _vscanf_c89;
- _vsnprintf_c89;
- _vsprintf_c89;
- _vsscanf_c89;
- _vswprintf_c89;
- _vswscanf_c89;
- _vwprintf_c89;
- _vwscanf_c89;
- _wcstoimax_c89;
- _wcstoumax_c89;
- _wprintf_c89;
- _wscanf_c89;
- _xregs_clrptr;
-
- local:
- __cerror = NODYNSORT;
- __cerror64 = NODYNSORT;
- _seekdir64 = NODYNSORT;
- _telldir64 = NODYNSORT;
-};
diff --git a/usr/src/lib/libc/sparc/mapfile-vers-aux b/usr/src/lib/libc/sparc/mapfile-vers-aux
index 9465efdfa6..96e77f95be 100644
--- a/usr/src/lib/libc/sparc/mapfile-vers-aux
+++ b/usr/src/lib/libc/sparc/mapfile-vers-aux
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,19 +36,23 @@
# MAPFILE HEADER END
#
-SYSVABI_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SYSVABI_1.3 {
global:
- memcmp = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
- memcpy = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
- memmove = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
- memset = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ memcmp { AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1 };
+ memcpy { AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1 };
+ memmove { AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1 };
+ memset { AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1 };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- _memcmp = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
- _memcpy = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
- _memcpy = NODYNSORT;
- _memmove = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
- _memset = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ _memcmp { AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1 };
+ _memcpy {
+ AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1;
+ FLAGS = NODYNSORT;
+ };
+ _memmove { AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1 };
+ _memset { AUXILIARY = /platform/$PLATFORM/lib/libc_psr.so.1 };
};
diff --git a/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile b/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile
index 1089f4c6c0..0ee5bb382b 100644
--- a/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile
+++ b/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile
@@ -19,8 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
-hwcap_1 = V0x10000;
+$mapfile_version 2
+
+CAPABILITY {
+ hw_1 += 0x10000;
+};
diff --git a/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile-vers-aux b/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile-vers-aux
index b9a85d01db..cfb7d2f4c3 100644
--- a/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile-vers-aux
+++ b/usr/src/lib/libc/sparc_hwcap1/sparc/mapfile-vers-aux
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SYSVABI_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SYSVABI_1.3 {
global:
memcmp;
memcpy;
@@ -45,10 +46,10 @@ SYSVABI_1.3 {
memset;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_memcmp;
- _memcpy = NODYNSORT;
+ _memcpy { FLAGS = NODYNSORT };
_memmove;
_memset;
};
diff --git a/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile b/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile
index 1089f4c6c0..0ee5bb382b 100644
--- a/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile
+++ b/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile
@@ -19,8 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
-hwcap_1 = V0x10000;
+$mapfile_version 2
+
+CAPABILITY {
+ hw_1 += 0x10000;
+};
diff --git a/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile-vers-aux b/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile-vers-aux
index 001d2feeb9..10a8c864be 100644
--- a/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile-vers-aux
+++ b/usr/src/lib/libc/sparc_hwcap1/sparcv9/mapfile-vers-aux
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_0.7 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
global:
memcmp;
memcpy;
@@ -45,10 +46,10 @@ SUNW_0.7 {
memset;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_memcmp;
- _memcpy = NODYNSORT;
+ _memcpy { FLAGS = NODYNSORT };
_memmove;
_memset;
};
diff --git a/usr/src/lib/libc/sparcv9/Makefile.com b/usr/src/lib/libc/sparcv9/Makefile.com
index 424f5eabba..e932c01dc1 100644
--- a/usr/src/lib/libc/sparcv9/Makefile.com
+++ b/usr/src/lib/libc/sparcv9/Makefile.com
@@ -20,8 +20,7 @@
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBCDIR= $(SRC)/lib/libc
@@ -925,8 +924,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR64)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS)
-MAPFILES = $(LIBCDIR)/port/mapfile-vers $(LIBCDIR)/sparcv9/mapfile-vers \
- $(MAPFILE_AUX)
+MAPFILES = $(LIBCDIR)/port/mapfile-vers $(MAPFILE_AUX)
sparcv9_C_PICFLAGS= -K PIC
CFLAGS64 += $(EXTN_CFLAGS)
diff --git a/usr/src/lib/libc/sparcv9/mapfile-vers b/usr/src/lib/libc/sparcv9/mapfile-vers
deleted file mode 100644
index 7f5ff85af1..0000000000
--- a/usr/src/lib/libc/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,825 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.23 {
- global:
- dl_iterate_phdr = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
-};
-
-SUNW_1.22.1 {
- protected:
- # Note: The atomic_OP_WIDTH_nv symbols defined here are also defined
- # by the common mapfile. Here, we add the NODYNSORT attribute
- # to them. On this platform, they are aliases for the non-_nv
- # versions. If that is changed, these lines should be removed.
- atomic_add_8_nv = NODYNSORT;
- atomic_and_8_nv = NODYNSORT;
- atomic_and_16_nv = NODYNSORT;
- atomic_and_32_nv = NODYNSORT;
- atomic_and_64_nv = NODYNSORT;
- atomic_dec_8_nv = NODYNSORT;
- atomic_dec_16_nv = NODYNSORT;
- atomic_dec_32_nv = NODYNSORT;
- atomic_dec_64_nv = NODYNSORT;
- atomic_inc_8_nv = NODYNSORT;
- atomic_inc_16_nv = NODYNSORT;
- atomic_inc_32_nv = NODYNSORT;
- atomic_inc_64_nv = NODYNSORT;
- atomic_or_8_nv = NODYNSORT;
- atomic_or_16_nv = NODYNSORT;
- atomic_or_32_nv = NODYNSORT;
- atomic_or_64_nv = NODYNSORT;
-} SUNW_1.22;
-
-
-SUNW_1.22 {
- global:
- dladdr = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dladdr1 = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dlclose = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dldump = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dlerror = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dlinfo = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dlmopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dlopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- dlsym = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- protected:
- # Note: atomic_add_[16,32,64]_nv are also defined by the common
- # mapfile. Here, we add the NODYNSORT attribute to them. On this
- # platform, they are aliases for the non-_nv versions. If that is
- # changed, these lines should be removed.
- atomic_add_16_nv = NODYNSORT;
- atomic_add_32_nv = NODYNSORT;
- atomic_add_64_nv = NODYNSORT;
-
- walkcontext;
-};
-
-SUNW_1.21.2 {
- protected:
- __makecontext_v2;
- ___makecontext_v2;
-};
-
-SUNW_1.1 {
- protected:
- __flt_rounds;
-};
-
-SUNW_0.7 {
- global:
- _altzone;
- calloc = NODIRECT;
- _ctype;
- __ctype;
- daylight;
- _daylight;
- environ = NODIRECT;
- _environ = NODIRECT;
- errno = NODIRECT;
- free = NODIRECT;
- frexp = FUNCTION FILTER libm.so.2;
- getdate_err;
- _getdate_err;
- getenv;
- __huge_val;
- _iob;
- __iob;
- isnan = FUNCTION FILTER libm.so.2;
- _isnan = FUNCTION FILTER libm.so.2;
- isnand = FUNCTION FILTER libm.so.2;
- _isnand = FUNCTION FILTER libm.so.2;
- ldexp = FUNCTION FILTER libm.so.2;
- logb = FUNCTION FILTER libm.so.2;
- malloc = NODIRECT;
- modf = FUNCTION FILTER libm.so.2;
- _modf = FUNCTION FILTER libm.so.2;
- nextafter = FUNCTION FILTER libm.so.2;
- _nextafter = FUNCTION FILTER libm.so.2;
- _numeric;
- optarg;
- opterr;
- optind;
- optopt;
- realloc = NODIRECT;
- scalb = FUNCTION FILTER libm.so.2;
- _scalb = FUNCTION FILTER libm.so.2;
- _sibuf;
- _sobuf;
- _sys_buslist;
- _sys_cldlist;
- _sys_fpelist;
- _sys_segvlist;
- _sys_siginfolistp;
- _sys_siglist;
- _sys_siglistn;
- _sys_siglistp;
- _sys_traplist;
- timezone;
- _timezone;
- tzname;
- _tzname;
- protected:
- abort;
- abs;
- access;
- _access;
- acct;
- _acct;
- addseverity;
- _addseverity;
- alarm;
- _alarm;
- # __align_cpy_1 is an alias for memcpy. Filter it out of
- # the .SUNW_dynsymsort section
- __align_cpy_1 = NODYNSORT;
- __align_cpy_16;
- __align_cpy_2;
- __align_cpy_4;
- # __align_cpy_8 is same as __align_cpy_16
- __align_cpy_8 = NODYNSORT;
- asctime;
- asctime_r;
- _assert;
- __assert;
- atexit;
- atof;
- atoi;
- atol;
- bsearch;
- __builtin_alloca;
- catclose;
- _catclose;
- catgets;
- _catgets;
- catopen;
- _catopen;
- cfgetispeed;
- _cfgetispeed;
- cfgetospeed;
- _cfgetospeed;
- cfsetispeed;
- _cfsetispeed;
- cfsetospeed;
- _cfsetospeed;
- chdir;
- _chdir;
- chmod;
- _chmod;
- chown;
- _chown;
- chroot;
- _chroot;
- _cleanup;
- clearerr;
- clock;
- _close;
- close;
- closedir;
- _closedir;
- creat;
- _creat;
- crypt;
- _crypt;
- ctermid;
- _ctermid;
- ctime;
- ctime_r;
- cuserid;
- _cuserid;
- difftime;
- div;
- __dtou;
- __dtoul;
- dup;
- _dup;
- dup2;
- _dup2;
- encrypt;
- _encrypt;
- endgrent;
- endpwent;
- ___errno;
- execl;
- _execl;
- execle;
- _execle;
- execlp;
- _execlp;
- execv;
- _execv;
- execve;
- _execve;
- execvp;
- _execvp;
- exit;
- _exit;
- fattach;
- _fattach;
- fchdir;
- _fchdir;
- fchmod;
- _fchmod;
- fchown;
- _fchown;
- fclose;
- fcntl;
- _fcntl;
- fdetach;
- _fdetach;
- fdopen;
- _fdopen;
- feof;
- ferror;
- fflush;
- fgetc;
- fgetgrent;
- fgetgrent_r;
- fgetpos;
- fgetpwent;
- fgetpwent_r;
- fgets;
- __filbuf;
- fileno;
- _fileno;
- file_to_decimal;
- flockfile;
- _flsbuf;
- __flsbuf;
- fmtmsg;
- _fmtmsg;
- fopen;
- _fork;
- fork;
- fpathconf;
- _fpathconf;
- fprintf;
- fputc;
- fputs;
- fread;
- freopen;
- fscanf;
- fseek;
- fsetpos;
- fstat;
- _fstat;
- fstatvfs;
- _fstatvfs;
- fsync;
- _fsync;
- ftell;
- ftok;
- _ftok;
- __ftou;
- __ftoul;
- funlockfile;
- fwrite;
- getc;
- getchar;
- getchar_unlocked;
- getcontext;
- _getcontext;
- getc_unlocked;
- getcwd;
- _getcwd;
- getdate;
- _getdate;
- getegid;
- _getegid;
- geteuid;
- _geteuid;
- getgid;
- _getgid;
- getgrent;
- getgrent_r;
- getgrgid;
- _getgrgid;
- getgrgid_r;
- getgrnam;
- _getgrnam;
- getgrnam_r;
- getgroups;
- _getgroups;
- getitimer;
- _getitimer;
- getlogin;
- _getlogin;
- getlogin_r;
- getmsg;
- _getmsg;
- getopt;
- _getopt;
- getpass;
- _getpass;
- getpgid;
- _getpgid;
- getpgrp;
- _getpgrp;
- getpid;
- _getpid;
- getpmsg;
- _getpmsg;
- getppid;
- _getppid;
- getpwent;
- getpwent_r;
- getpwnam;
- _getpwnam;
- getpwnam_r;
- getpwuid;
- _getpwuid;
- getpwuid_r;
- getrlimit;
- _getrlimit;
- gets;
- getsid;
- _getsid;
- getsubopt;
- _getsubopt;
- gettimeofday;
- _gettimeofday;
- gettxt;
- _gettxt;
- getuid;
- _getuid;
- getw;
- _getw;
- gmtime;
- gmtime_r;
- grantpt;
- _grantpt;
- hcreate;
- _hcreate;
- hdestroy;
- _hdestroy;
- hsearch;
- _hsearch;
- initgroups;
- _initgroups;
- ioctl;
- _ioctl;
- isalnum;
- isalpha;
- isascii;
- _isascii;
- isastream;
- _isastream;
- isatty;
- _isatty;
- iscntrl;
- isdigit;
- isgraph;
- islower;
- isprint;
- ispunct;
- isspace;
- isupper;
- isxdigit;
- kill;
- _kill;
- labs;
- lchown;
- _lchown;
- ldiv;
- lfind;
- _lfind;
- link;
- _link;
- localeconv;
- localtime;
- localtime_r;
- lockf;
- _lockf;
- longjmp;
- lsearch;
- _lsearch;
- lseek;
- _lseek;
- lstat;
- _lstat;
- makecontext;
- _makecontext;
- mblen;
- mbstowcs;
- mbtowc;
- memccpy;
- _memccpy;
- memchr;
- memcntl;
- _memcntl;
- mkdir;
- _mkdir;
- mkfifo;
- _mkfifo;
- mknod;
- _mknod;
- mktemp;
- _mktemp;
- mktime;
- mlock;
- _mlock;
- mmap;
- _mmap;
- monitor;
- _monitor;
- mount;
- _mount;
- mprotect;
- _mprotect;
- msgctl;
- _msgctl;
- msgget;
- _msgget;
- msgrcv;
- _msgrcv;
- msgsnd;
- _msgsnd;
- msync;
- _msync;
- munlock;
- _munlock;
- munmap;
- _munmap;
- _mutex_held = NODYNSORT;
- _mutex_lock = NODYNSORT;
- nftw;
- _nftw;
- nice;
- _nice;
- nl_langinfo;
- _nl_langinfo;
- open;
- _open;
- opendir;
- _opendir;
- pathconf;
- _pathconf;
- pause;
- _pause;
- pclose;
- _pclose;
- perror;
- pipe;
- _pipe;
- poll;
- _poll;
- p_online;
- popen;
- _popen;
- printf;
- profil;
- _profil;
- ptsname;
- _ptsname;
- putc;
- putchar;
- putchar_unlocked;
- putc_unlocked;
- putenv;
- _putenv;
- putmsg;
- _putmsg;
- putpmsg;
- _putpmsg;
- puts;
- putw;
- _putw;
- _Qp_add;
- _Qp_cmp;
- _Qp_cmpe;
- _Qp_div;
- _Qp_dtoq;
- _Qp_feq;
- _Qp_fge;
- _Qp_fgt;
- _Qp_fle;
- _Qp_flt;
- _Qp_fne;
- _Qp_itoq;
- _Qp_mul;
- _Qp_neg;
- _Qp_qtod;
- _Qp_qtoi;
- _Qp_qtos;
- _Qp_qtoui;
- _Qp_qtoux;
- _Qp_qtox;
- _Qp_sqrt;
- _Qp_stoq;
- _Qp_sub;
- _Qp_uitoq;
- _Qp_uxtoq;
- _Qp_xtoq;
- qsort;
- raise;
- rand;
- rand_r;
- read;
- _read;
- readdir;
- _readdir;
- readdir_r;
- readlink;
- _readlink;
- readv;
- _readv;
- remove;
- rename;
- _rename;
- rewind;
- rewinddir;
- _rewinddir;
- rmdir;
- _rmdir;
- _rw_read_held;
- _rw_write_held;
- sbrk;
- _sbrk;
- scanf;
- seekdir;
- _seekdir;
- semctl;
- _semctl;
- semget;
- _semget;
- semop;
- _semop;
- setbuf;
- setcontext;
- _setcontext = NODYNSORT;
- setgid;
- _setgid;
- setgrent;
- setgroups;
- _setgroups;
- setitimer;
- _setitimer;
- setjmp;
- setkey;
- _setkey;
- setlabel;
- setlocale;
- setpgid;
- _setpgid;
- setpgrp;
- _setpgrp;
- setpwent;
- setrlimit;
- _setrlimit;
- setsid;
- _setsid;
- setuid;
- _setuid;
- setvbuf;
- shmat;
- _shmat;
- shmctl;
- _shmctl;
- shmdt;
- _shmdt;
- shmget;
- _shmget;
- sigaction;
- _sigaction = NODYNSORT;
- sigaddset;
- _sigaddset;
- sigaltstack;
- _sigaltstack;
- sigdelset;
- _sigdelset;
- sigemptyset;
- _sigemptyset;
- sigfillset;
- _sigfillset;
- sighold;
- _sighold;
- sigignore;
- _sigignore;
- sigismember;
- _sigismember;
- siglongjmp;
- _siglongjmp;
- signal;
- sigpause;
- _sigpause;
- sigpending;
- _sigpending;
- sigprocmask;
- _sigprocmask;
- sigrelse;
- _sigrelse;
- sigsend;
- _sigsend;
- sigsendset;
- _sigsendset;
- sigset;
- _sigset;
- sigsetjmp;
- _sigsetjmp = NODYNSORT;
- sigsuspend;
- _sigsuspend;
- sleep;
- _sleep;
- __sparc_utrap_install;
- sprintf;
- srand;
- srand48;
- sscanf;
- stat;
- _stat;
- statvfs;
- _statvfs;
- stime;
- _stime;
- strcat;
- strchr;
- strcmp;
- strcoll;
- strcpy;
- strcspn;
- strdup;
- _strdup;
- strerror;
- strftime;
- strlen;
- strncat;
- strncmp;
- strncpy;
- strpbrk;
- strrchr;
- strspn;
- strstr;
- strtod;
- strtok;
- strtok_r;
- strtol;
- strtoul;
- strxfrm;
- swab;
- _swab;
- swapcontext;
- _swapcontext;
- symlink;
- _symlink;
- sync;
- _sync;
- _syscall;
- sysconf;
- _sysconf;
- sysinfo;
- _sysinfo;
- system;
- tcdrain;
- _tcdrain;
- tcflow;
- _tcflow;
- tcflush;
- _tcflush;
- tcgetattr;
- _tcgetattr;
- tcgetpgrp;
- _tcgetpgrp;
- tcgetsid;
- _tcgetsid;
- tcsendbreak;
- _tcsendbreak;
- tcsetattr;
- _tcsetattr;
- tcsetpgrp;
- _tcsetpgrp;
- tdelete;
- _tdelete;
- tell;
- _tell;
- telldir;
- _telldir;
- tempnam;
- _tempnam;
- tfind;
- _tfind;
- time;
- _time;
- times;
- _times;
- tmpfile;
- tmpnam;
- toascii;
- _toascii;
- tolower;
- _tolower;
- toupper;
- _toupper;
- tsearch;
- _tsearch;
- ttyname;
- _ttyname;
- ttyname_r;
- twalk;
- _twalk;
- tzset;
- _tzset;
- ulimit;
- _ulimit;
- umask;
- _umask;
- umount;
- _umount;
- uname;
- _uname;
- ungetc;
- unlink;
- _unlink;
- unlockpt;
- _unlockpt;
- utime;
- _utime;
- vfprintf;
- vprintf;
- vsprintf;
- wait;
- _wait;
- waitid;
- _waitid;
- waitpid;
- _waitpid;
- wcstombs;
- wctomb;
- write;
- _write;
- writev;
- _writev;
- _xftw;
-};
-
-SUNWprivate_1.1 {
- global:
- _dladdr = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dladdr1 = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dlclose = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dldump = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dlerror = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dlinfo = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dlmopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dlopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _dlsym = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- _ld_libc = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
- __lyday_to_month;
- __mon_lengths;
- __yday_to_month;
- protected:
- _cerror;
- __fseterror_u;
- install_utrap;
- _install_utrap;
- nop;
- _Q_cplx_div;
- _Q_cplx_div_ix;
- _Q_cplx_div_rx;
- _Q_cplx_lr_div;
- _Q_cplx_lr_div_ix;
- _Q_cplx_lr_div_rx;
- _Q_cplx_lr_mul;
- _Q_cplx_mul;
- _QgetRD;
- _xregs_clrptr;
-
- local:
- __cerror = NODYNSORT;
- __cleanup = NODYNSORT;
-};
diff --git a/usr/src/lib/libc/sparcv9/mapfile-vers-aux b/usr/src/lib/libc/sparcv9/mapfile-vers-aux
index 9c1bd8aca8..2f00ec63be 100644
--- a/usr/src/lib/libc/sparcv9/mapfile-vers-aux
+++ b/usr/src/lib/libc/sparcv9/mapfile-vers-aux
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,19 +36,23 @@
# MAPFILE HEADER END
#
-SUNW_0.7 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
global:
- memcmp = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
- memcpy = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
- memmove = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
- memset = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ memcmp { AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1 };
+ memcpy { AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1 };
+ memmove { AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1 };
+ memset { AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1 };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- _memcmp = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
- _memcpy = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
- _memcpy = NODYNSORT;
- _memmove = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
- _memset = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ _memcmp { AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1 };
+ _memcpy {
+ AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ FLAGS = NODYNSORT;
+ };
+ _memmove { AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1 };
+ _memset { AUXILIARY = /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1 };
};
diff --git a/usr/src/lib/libc_db/common/mapfile-vers b/usr/src/lib/libc_db/common/mapfile-vers
index b7c9b30c41..abf5c55d05 100644
--- a/usr/src/lib/libc_db/common/mapfile-vers
+++ b/usr/src/lib/libc_db/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
td_thr_tlsbase;
} SUNW_1.2;
@@ -46,12 +47,12 @@ SUNW_1.3 {
# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
td_sync_get_info;
td_sync_setstate;
@@ -76,7 +77,7 @@ SUNW_1.1 {
td_thr_sleepinfo;
} SUNW_0.9;
-SUNW_0.9 {
+SYMBOL_VERSION SUNW_0.9 {
global:
td_init;
td_log;
@@ -103,7 +104,7 @@ SUNW_0.9 {
td_thr_validate;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
td_sync_get_stats;
td_ta_sync_tracking_enable;
@@ -113,20 +114,20 @@ SUNWprivate_1.1 {
# External interface requirements
-{
+SYMBOL_SCOPE {
global:
- ps_lcontinue = EXTERN;
- ps_lgetfpregs = EXTERN;
- ps_lgetregs = EXTERN;
- ps_lgetxregs = EXTERN;
- ps_lgetxregsize = EXTERN;
- ps_lsetfpregs = EXTERN;
- ps_lsetregs = EXTERN;
- ps_lsetxregs = EXTERN;
- ps_lstop = EXTERN;
- ps_pcontinue = EXTERN;
- ps_pdread = EXTERN;
- ps_pdwrite = EXTERN;
- ps_pglobal_lookup = EXTERN;
- ps_pstop = EXTERN;
+ ps_lcontinue { FLAGS = EXTERN };
+ ps_lgetfpregs { FLAGS = EXTERN };
+ ps_lgetregs { FLAGS = EXTERN };
+ ps_lgetxregs { FLAGS = EXTERN };
+ ps_lgetxregsize { FLAGS = EXTERN };
+ ps_lsetfpregs { FLAGS = EXTERN };
+ ps_lsetregs { FLAGS = EXTERN };
+ ps_lsetxregs { FLAGS = EXTERN };
+ ps_lstop { FLAGS = EXTERN };
+ ps_pcontinue { FLAGS = EXTERN };
+ ps_pdread { FLAGS = EXTERN };
+ ps_pdwrite { FLAGS = EXTERN };
+ ps_pglobal_lookup { FLAGS = EXTERN };
+ ps_pstop { FLAGS = EXTERN };
};
diff --git a/usr/src/lib/libc_psr/sun4u/mapfile-memcpy b/usr/src/lib/libc_psr/sun4u/mapfile-memcpy
index 45b376e15a..f358159773 100644
--- a/usr/src/lib/libc_psr/sun4u/mapfile-memcpy
+++ b/usr/src/lib/libc_psr/sun4u/mapfile-memcpy
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# This mapfile is used along with mapfile-vers for the sun4u
# libc_psr. Some of the other versions of sun4u libc_psr also use
# mapfile-vers, but the contents of this file do not apply to them.
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
local:
# __align_cpy_1 is an alias for memcpy. Filter it out of
# the .SUNW_dynsymsort section.
- __align_cpy_1 = NODYNSORT;
+ __align_cpy_1 { FLAGS = NODYNSORT };
};
diff --git a/usr/src/lib/libc_psr/sun4u/mapfile-vers b/usr/src/lib/libc_psr/sun4u/mapfile-vers
index ae6d0e3d04..961be010e5 100644
--- a/usr/src/lib/libc_psr/sun4u/mapfile-vers
+++ b/usr/src/lib/libc_psr/sun4u/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
memcmp;
_memcmp;
diff --git a/usr/src/lib/libc_psr/sun4u_hwcap2/mapfile b/usr/src/lib/libc_psr/sun4u_hwcap2/mapfile
index 1f812aaa7f..428106b752 100644
--- a/usr/src/lib/libc_psr/sun4u_hwcap2/mapfile
+++ b/usr/src/lib/libc_psr/sun4u_hwcap2/mapfile
@@ -1,13 +1,11 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -22,6 +20,9 @@
#
# CDDL HEADER END
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-hwcap_1 = popc;
+
+$mapfile_version 2
+
+CAPABILITY {
+ hw += popc;
+};
diff --git a/usr/src/lib/libc_psr/sun4v/mapfile-vers b/usr/src/lib/libc_psr/sun4v/mapfile-vers
index bafcc01a59..8ffc537d0c 100644
--- a/usr/src/lib/libc_psr/sun4v/mapfile-vers
+++ b/usr/src/lib/libc_psr/sun4v/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
memcpy;
_memcpy;
@@ -46,6 +47,6 @@ SUNWprivate_1.1 {
memset;
_memset;
local:
- __align_cpy_1 = NODYNSORT;
+ __align_cpy_1 { FLAGS = NODYNSORT };
*;
};
diff --git a/usr/src/lib/libc_psr/sun4v_hwcap1/mapfile b/usr/src/lib/libc_psr/sun4v_hwcap1/mapfile
index 4f322a0899..3d8daf4303 100644
--- a/usr/src/lib/libc_psr/sun4v_hwcap1/mapfile
+++ b/usr/src/lib/libc_psr/sun4v_hwcap1/mapfile
@@ -1,13 +1,11 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -22,6 +20,9 @@
#
# CDDL HEADER END
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-hwcap_1 = asi_blk_init;
+
+$mapfile_version 2
+
+CAPABILITY {
+ hw += asi_blk_init;
+};
diff --git a/usr/src/lib/libc_psr/sun4v_hwcap2/mapfile b/usr/src/lib/libc_psr/sun4v_hwcap2/mapfile
index 025a931f4d..c9400445da 100644
--- a/usr/src/lib/libc_psr/sun4v_hwcap2/mapfile
+++ b/usr/src/lib/libc_psr/sun4v_hwcap2/mapfile
@@ -19,9 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-hwcap_1 = vis asi_blk_init;
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+#
+
+$mapfile_version 2
+
+CAPABILITY {
+ hw += vis asi_blk_init;
+};
diff --git a/usr/src/lib/libcfgadm/common/mapfile-vers b/usr/src/lib/libcfgadm/common/mapfile-vers
index c587496c8d..24d0adf201 100644
--- a/usr/src/lib/libcfgadm/common/mapfile-vers
+++ b/usr/src/lib/libcfgadm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,12 +36,14 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
config_list_ext;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
config_ap_id_cmp;
config_change_state;
@@ -55,7 +56,7 @@ SUNW_1.1 {
config_unload_libs;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/libcmd/mapfile-vers b/usr/src/lib/libcmd/mapfile-vers
index 508c396112..dd037e921c 100644
--- a/usr/src/lib/libcmd/mapfile-vers
+++ b/usr/src/lib/libcmd/mapfile-vers
@@ -37,8 +37,10 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# functions by AST/ksh93's version of libcmd
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_cmd_init;
@@ -97,11 +99,11 @@ SUNWprivate_1.1 {
# functions exported by the old Solaris version of libcmd
# (the code has been moved to libc starting with Solaris 11/B51)
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- defcntl = FUNCTION FILTER libc.so.1;
- defopen = FUNCTION FILTER libc.so.1;
- defread = FUNCTION FILTER libc.so.1;
+ defcntl { TYPE = FUNCTION; FILTER = libc.so.1 };
+ defopen { TYPE = FUNCTION; FILTER = libc.so.1 };
+ defread { TYPE = FUNCTION; FILTER = libc.so.1 };
local:
*;
};
diff --git a/usr/src/lib/libcmdutils/common/mapfile-vers b/usr/src/lib/libcmdutils/common/mapfile-vers
index 044ff7acfa..e60aa814f3 100644
--- a/usr/src/lib/libcmdutils/common/mapfile-vers
+++ b/usr/src/lib/libcmdutils/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
add_tnode;
destroy_tree;
diff --git a/usr/src/lib/libcommputil/common/mapfile-vers b/usr/src/lib/libcommputil/common/mapfile-vers
index 5ceda37d97..ce2d24ff46 100644
--- a/usr/src/lib/libcommputil/common/mapfile-vers
+++ b/usr/src/lib/libcommputil/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
sdp_parse;
sdp_find_media;
diff --git a/usr/src/lib/libcontract/common/mapfile-vers b/usr/src/lib/libcontract/common/mapfile-vers
index b7f4279213..6e1b61b885 100644
--- a/usr/src/lib/libcontract/common/mapfile-vers
+++ b/usr/src/lib/libcontract/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
ct_ctl_nack;
ct_dev_status_get_aset;
@@ -61,7 +62,7 @@ SUNW_1.2 {
ct_pr_tmpl_set_svc_fmri;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
ct_ctl_abandon;
ct_ctl_ack;
@@ -123,7 +124,7 @@ SUNW_1.1 {
ct_tmpl_set_informative;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
contract_abandon_id;
contract_event_dump;
diff --git a/usr/src/lib/libcpc/Makefile.com b/usr/src/lib/libcpc/Makefile.com
index d3c143c38f..b18942e533 100644
--- a/usr/src/lib/libcpc/Makefile.com
+++ b/usr/src/lib/libcpc/Makefile.com
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libcpc.a
@@ -44,8 +41,6 @@ LDLIBS += -lpctx -lnvpair -lc
SRCDIR = ../common
-MAPFILES += mapfile-vers
-
ASFLAGS += -P -D_ASM -I../common
CPPFLAGS += -D_REENTRANT -I../common
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libcpc/amd64/mapfile-vers b/usr/src/lib/libcpc/amd64/mapfile-vers
deleted file mode 100644
index 136fdbae9a..0000000000
--- a/usr/src/lib/libcpc/amd64/mapfile-vers
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.2 {
- global:
-};
diff --git a/usr/src/lib/libcpc/common/mapfile-vers b/usr/src/lib/libcpc/common/mapfile-vers
index e577fc7c5e..330ed4b118 100644
--- a/usr/src/lib/libcpc/common/mapfile-vers
+++ b/usr/src/lib/libcpc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
cpc_walk_generic_events_pic;
cpc_walk_generic_events_all;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
cpc_bind_cpu;
cpc_bind_curlwp;
@@ -78,9 +79,45 @@ SUNW_1.2 {
cpc_walk_events_all;
cpc_walk_events_pic;
cpc_walk_requests;
+
+ # On all platforms other than amd64, SUNW_1.2 inherts SUNW_1.1,
+ # which supplies additional functions. On amd64, there is no SUNW_1.1.
+$if !(_x86 && _ELF64)
+} SUNW_1.1 ;
+
+SYMBOL_VERSION SUNW_1.1 {
+ global:
+ cpc_access;
+ cpc_bind_event;
+ cpc_count_sys_events;
+ cpc_count_usr_events;
+ cpc_event_accum;
+ cpc_event_diff;
+ cpc_eventtostr;
+ cpc_getcciname;
+ cpc_getcpuref;
+ cpc_getcpuver;
+ cpc_getnpic;
+ cpc_getusage;
+ cpc_pctx_bind_event;
+ cpc_pctx_invalidate;
+ cpc_pctx_rele;
+ cpc_pctx_take_sample;
+ cpc_rele;
+ cpc_seterrfn;
+ cpc_shared_bind_event;
+ cpc_shared_close;
+ cpc_shared_open;
+ cpc_shared_rele;
+ cpc_shared_take_sample;
+ cpc_strtoevent;
+ cpc_take_sample;
+ cpc_version;
+ cpc_walk_names;
+$endif
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
cpc_terminate;
diff --git a/usr/src/lib/libcpc/i386/mapfile-vers b/usr/src/lib/libcpc/i386/mapfile-vers
deleted file mode 100644
index 1a7fb44d78..0000000000
--- a/usr/src/lib/libcpc/i386/mapfile-vers
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.2 {
- global:
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- cpc_access;
- cpc_bind_event;
- cpc_count_sys_events;
- cpc_count_usr_events;
- cpc_event_accum;
- cpc_event_diff;
- cpc_eventtostr;
- cpc_getcciname;
- cpc_getcpuref;
- cpc_getcpuver;
- cpc_getnpic;
- cpc_getusage;
- cpc_pctx_bind_event;
- cpc_pctx_invalidate;
- cpc_pctx_rele;
- cpc_pctx_take_sample;
- cpc_rele;
- cpc_seterrfn;
- cpc_shared_bind_event;
- cpc_shared_close;
- cpc_shared_open;
- cpc_shared_rele;
- cpc_shared_take_sample;
- cpc_strtoevent;
- cpc_take_sample;
- cpc_version;
- cpc_walk_names;
-};
diff --git a/usr/src/lib/libcpc/sparc/mapfile-vers b/usr/src/lib/libcpc/sparc/mapfile-vers
deleted file mode 100644
index 1a7fb44d78..0000000000
--- a/usr/src/lib/libcpc/sparc/mapfile-vers
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.2 {
- global:
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- cpc_access;
- cpc_bind_event;
- cpc_count_sys_events;
- cpc_count_usr_events;
- cpc_event_accum;
- cpc_event_diff;
- cpc_eventtostr;
- cpc_getcciname;
- cpc_getcpuref;
- cpc_getcpuver;
- cpc_getnpic;
- cpc_getusage;
- cpc_pctx_bind_event;
- cpc_pctx_invalidate;
- cpc_pctx_rele;
- cpc_pctx_take_sample;
- cpc_rele;
- cpc_seterrfn;
- cpc_shared_bind_event;
- cpc_shared_close;
- cpc_shared_open;
- cpc_shared_rele;
- cpc_shared_take_sample;
- cpc_strtoevent;
- cpc_take_sample;
- cpc_version;
- cpc_walk_names;
-};
diff --git a/usr/src/lib/libcpc/sparcv9/mapfile-vers b/usr/src/lib/libcpc/sparcv9/mapfile-vers
deleted file mode 100644
index 1a7fb44d78..0000000000
--- a/usr/src/lib/libcpc/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.2 {
- global:
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- cpc_access;
- cpc_bind_event;
- cpc_count_sys_events;
- cpc_count_usr_events;
- cpc_event_accum;
- cpc_event_diff;
- cpc_eventtostr;
- cpc_getcciname;
- cpc_getcpuref;
- cpc_getcpuver;
- cpc_getnpic;
- cpc_getusage;
- cpc_pctx_bind_event;
- cpc_pctx_invalidate;
- cpc_pctx_rele;
- cpc_pctx_take_sample;
- cpc_rele;
- cpc_seterrfn;
- cpc_shared_bind_event;
- cpc_shared_close;
- cpc_shared_open;
- cpc_shared_rele;
- cpc_shared_take_sample;
- cpc_strtoevent;
- cpc_take_sample;
- cpc_version;
- cpc_walk_names;
-};
diff --git a/usr/src/lib/libcrypt/common/mapfile-vers b/usr/src/lib/libcrypt/common/mapfile-vers
index 70ef990c68..b672ef385f 100644
--- a/usr/src/lib/libcrypt/common/mapfile-vers
+++ b/usr/src/lib/libcrypt/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,17 +36,19 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
- crypt = FUNCTION FILTER libc.so.1;
- encrypt = FUNCTION FILTER libc.so.1;
- setkey = FUNCTION FILTER libc.so.1;
+ crypt { TYPE = FUNCTION; FILTER = libc.so.1 };
+ encrypt { TYPE = FUNCTION; FILTER = libc.so.1 };
+ setkey { TYPE = FUNCTION; FILTER = libc.so.1 };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cbc_crypt;
- _crypt = FUNCTION FILTER libc.so.1;
+ _crypt { TYPE = FUNCTION; FILTER = libc.so.1 };
crypt_close;
_crypt_close;
crypt_close_nolock;
@@ -63,7 +64,7 @@ SUNWprivate_1.1 {
_des_setkey;
des_setparity;
ecb_crypt;
- _encrypt = FUNCTION FILTER libc.so.1;
+ _encrypt { TYPE = FUNCTION; FILTER = libc.so.1 };
_lib_version;
makekey;
_makekey;
@@ -71,7 +72,7 @@ SUNWprivate_1.1 {
_run_crypt;
run_setkey;
_run_setkey;
- _setkey = FUNCTION FILTER libc.so.1;
+ _setkey { TYPE = FUNCTION; FILTER = libc.so.1 };
local:
*;
};
diff --git a/usr/src/lib/libcryptoutil/common/mapfile-vers b/usr/src/lib/libcryptoutil/common/mapfile-vers
index 502984d81e..0c99085fc3 100644
--- a/usr/src/lib/libcryptoutil/common/mapfile-vers
+++ b/usr/src/lib/libcryptoutil/common/mapfile-vers
@@ -35,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
create_umech;
cryptodebug;
diff --git a/usr/src/lib/libctf/common/mapfile-vers b/usr/src/lib/libctf/common/mapfile-vers
index 39f942d46c..c218edc37c 100644
--- a/usr/src/lib/libctf/common/mapfile-vers
+++ b/usr/src/lib/libctf/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,10 +36,12 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.2
-SUNWprivate_1.2 {
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
ctf_add_array;
ctf_add_const;
@@ -76,7 +77,7 @@ SUNWprivate_1.2 {
ctf_write;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ctf_array_info;
ctf_bufopen;
diff --git a/usr/src/lib/libcurses/screen/mapfile-vers b/usr/src/lib/libcurses/screen/mapfile-vers
index 65943899ed..dab8dc12b4 100644
--- a/usr/src/lib/libcurses/screen/mapfile-vers
+++ b/usr/src/lib/libcurses/screen/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
addch;
addchnstr;
@@ -367,7 +368,7 @@ SUNW_1.1 {
wvline;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
acs32map;
acs_map;
@@ -507,7 +508,7 @@ SUNWprivate_1.1 {
pr_nheading;
pr_number;
prog_istermios;
- progname = NODIRECT;
+ progname { FLAGS = NODIRECT };
pr_onecolumn;
pr_sfooting;
pr_sheading;
diff --git a/usr/src/lib/libdevice/mapfile-vers b/usr/src/lib/libdevice/mapfile-vers
index 38f9d9b454..513261e011 100644
--- a/usr/src/lib/libdevice/mapfile-vers
+++ b/usr/src/lib/libdevice/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
devctl_ap_acquire;
devctl_ap_configure;
diff --git a/usr/src/lib/libdevid/mapfile-vers b/usr/src/lib/libdevid/mapfile-vers
index 249538755d..f91b5d92ca 100644
--- a/usr/src/lib/libdevid/mapfile-vers
+++ b/usr/src/lib/libdevid/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
devid_str_decode;
devid_str_encode;
@@ -45,7 +46,7 @@ SUNW_1.2 {
devid_valid;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
devid_compare;
devid_deviceid_to_nmlist;
@@ -56,7 +57,7 @@ SUNW_1.1 {
devid_sizeof;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
devid_free_guid;
devid_scsi_encode;
diff --git a/usr/src/lib/libdevinfo/mapfile-vers b/usr/src/lib/libdevinfo/mapfile-vers
index 368feea35d..3b0bb74a7c 100644
--- a/usr/src/lib/libdevinfo/mapfile-vers
+++ b/usr/src/lib/libdevinfo/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.4 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.4 {
global:
di_alias2curr;
di_path_bus_addr;
@@ -65,7 +67,7 @@ SUNW_1.4 {
di_path_state;
} SUNW_1.3;
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
global:
di_devfs_minor_path;
di_driver_major;
@@ -93,12 +95,12 @@ SUNW_1.3 {
# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
di_binding_name;
di_bus_addr;
@@ -149,7 +151,7 @@ SUNW_1.1 {
di_walk_node;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
devfs_add_minor_perm;
devfs_resolve_link;
diff --git a/usr/src/lib/libdhcpagent/common/mapfile-vers b/usr/src/lib/libdhcpagent/common/mapfile-vers
index d5c3b7ee1a..650eb090f3 100644
--- a/usr/src/lib/libdhcpagent/common/mapfile-vers
+++ b/usr/src/lib/libdhcpagent/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dhcp_ipc_accept;
dhcp_ipc_alloc_reply;
diff --git a/usr/src/lib/libdhcpdu/common/mapfile b/usr/src/lib/libdhcpdu/common/mapfile
index 19b3fc8901..c8ecabfab5 100644
--- a/usr/src/lib/libdhcpdu/common/mapfile
+++ b/usr/src/lib/libdhcpdu/common/mapfile
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dns_puthostent;
local:
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers b/usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers
index 78945cf62b..b9a70e7675 100644
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers
+++ b/usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
add_dn;
add_dt;
diff --git a/usr/src/lib/libdhcpsvc/modules/files/mapfile-vers b/usr/src/lib/libdhcpsvc/modules/files/mapfile-vers
index 78945cf62b..b9a70e7675 100644
--- a/usr/src/lib/libdhcpsvc/modules/files/mapfile-vers
+++ b/usr/src/lib/libdhcpsvc/modules/files/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
add_dn;
add_dt;
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers b/usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers
index 7fdec09b63..c6c5a8bbac 100644
--- a/usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers
+++ b/usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
add_dn;
add_dt;
diff --git a/usr/src/lib/libdhcpsvc/private/mapfile-vers b/usr/src/lib/libdhcpsvc/private/mapfile-vers
index c7df7e029a..b8969b71fe 100644
--- a/usr/src/lib/libdhcpsvc/private/mapfile-vers
+++ b/usr/src/lib/libdhcpsvc/private/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
add_dd_entry;
add_dnrec_to_list;
diff --git a/usr/src/lib/libdhcputil/common/mapfile-vers b/usr/src/lib/libdhcputil/common/mapfile-vers
index ef9a86ae5e..9689292490 100644
--- a/usr/src/lib/libdhcputil/common/mapfile-vers
+++ b/usr/src/lib/libdhcputil/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -40,14 +39,16 @@
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.2
-SUNWprivate_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
dhcp_options_scan;
dhcpv6_find_option;
dhcpv6_pkt_option;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dhcpmsg;
dhcpmsg_fini;
diff --git a/usr/src/lib/libdisasm/common/mapfile-vers b/usr/src/lib/libdisasm/common/mapfile-vers
index a026254d02..2363cf5175 100644
--- a/usr/src/lib/libdisasm/common/mapfile-vers
+++ b/usr/src/lib/libdisasm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dis_disassemble;
dis_errno;
diff --git a/usr/src/lib/libdiskmgt/common/mapfile-vers b/usr/src/lib/libdiskmgt/common/mapfile-vers
index ca6f93da51..edd9f2caa3 100644
--- a/usr/src/lib/libdiskmgt/common/mapfile-vers
+++ b/usr/src/lib/libdiskmgt/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dm_free_descriptor;
dm_free_descriptors;
diff --git a/usr/src/lib/libdladm/common/mapfile-vers b/usr/src/lib/libdladm/common/mapfile-vers
index 114f7ffa8b..70d638e7e2 100644
--- a/usr/src/lib/libdladm/common/mapfile-vers
+++ b/usr/src/lib/libdladm/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dladm_open;
dladm_close;
diff --git a/usr/src/lib/libdll/mapfile-vers b/usr/src/lib/libdll/mapfile-vers
index 61c3868ab6..c3e6b2b5c8 100644
--- a/usr/src/lib/libdll/mapfile-vers
+++ b/usr/src/lib/libdll/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,8 +37,10 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# information generated from usr/src/lib/libdll/i386/src/lib/libdll/dlldefs.h
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dllinfo;
dllplug;
diff --git a/usr/src/lib/libdlpi/common/mapfile-vers b/usr/src/lib/libdlpi/common/mapfile-vers
index 02c859b5b5..ed3231dc92 100644
--- a/usr/src/lib/libdlpi/common/mapfile-vers
+++ b/usr/src/lib/libdlpi/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 { # first release of libdlpi, Solaris 11
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 { # first release of libdlpi, Solaris 11
global:
dlpi_arptype;
dlpi_bind;
@@ -63,7 +64,8 @@ SUNW_1.1 { # first release of libdlpi, Solaris 11
dlpi_unbind;
dlpi_walk;
};
-SUNWprivate {
+
+SYMBOL_VERSION SUNWprivate {
global:
dlpi_parselink;
dlpi_makelink;
diff --git a/usr/src/lib/libdns_sd/common/mapfile-vers b/usr/src/lib/libdns_sd/common/mapfile-vers
index c82bd5f787..f714e0ef36 100644
--- a/usr/src/lib/libdns_sd/common/mapfile-vers
+++ b/usr/src/lib/libdns_sd/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
DNSServiceAddRecord;
DNSServiceBrowse;
diff --git a/usr/src/lib/libdns_sd/java/common/mapfile-vers b/usr/src/lib/libdns_sd/java/common/mapfile-vers
index bf22578bdb..01c3c548fd 100644
--- a/usr/src/lib/libdns_sd/java/common/mapfile-vers
+++ b/usr/src/lib/libdns_sd/java/common/mapfile-vers
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
Java_com_apple_dnssd_AppleBrowser_CreateBrowser;
Java_com_apple_dnssd_AppleDNSRecord_Remove;
diff --git a/usr/src/lib/libdoor/common/mapfile-vers b/usr/src/lib/libdoor/common/mapfile-vers
index 6f767b676a..5f7794fd49 100644
--- a/usr/src/lib/libdoor/common/mapfile-vers
+++ b/usr/src/lib/libdoor/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,19 +35,21 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- door_bind = FUNCTION;
- door_call = FUNCTION;
- door_create = FUNCTION;
- door_cred = FUNCTION;
- door_info = FUNCTION;
- door_return = FUNCTION;
- door_revoke = FUNCTION;
- door_server_create = FUNCTION;
- door_ucred = FUNCTION;
- door_unbind = FUNCTION;
- door_xcreate = FUNCTION;
+ door_bind { TYPE = FUNCTION };
+ door_call { TYPE = FUNCTION };
+ door_create { TYPE = FUNCTION };
+ door_cred { TYPE = FUNCTION };
+ door_info { TYPE = FUNCTION };
+ door_return { TYPE = FUNCTION };
+ door_revoke { TYPE = FUNCTION };
+ door_server_create { TYPE = FUNCTION };
+ door_ucred { TYPE = FUNCTION };
+ door_unbind { TYPE = FUNCTION };
+ door_xcreate { TYPE = FUNCTION };
local:
*;
};
diff --git a/usr/src/lib/libds/common/mapfile-vers b/usr/src/lib/libds/common/mapfile-vers
index 7568ac7fd1..6b361c6d19 100644
--- a/usr/src/lib/libds/common/mapfile-vers
+++ b/usr/src/lib/libds/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
ds_init;
ds_svc_reg;
diff --git a/usr/src/lib/libdscfg/common/mapfile-vers b/usr/src/lib/libdscfg/common/mapfile-vers
index 157ef0409a..0e1f4f4cae 100644
--- a/usr/src/lib/libdscfg/common/mapfile-vers
+++ b/usr/src/lib/libdscfg/common/mapfile-vers
@@ -18,8 +18,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,7 +41,9 @@
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cfg_get_cstring;
cfg_put_cstring;
diff --git a/usr/src/lib/libdscp/mapfile-vers b/usr/src/lib/libdscp/mapfile-vers
index 0eb14f54a7..6e65157d0a 100644
--- a/usr/src/lib/libdscp/mapfile-vers
+++ b/usr/src/lib/libdscp/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dscpAddr;
dscpAuth;
diff --git a/usr/src/lib/libdtrace/common/mapfile-vers b/usr/src/lib/libdtrace/common/mapfile-vers
index 2f5206a0d9..c46ac0adaa 100644
--- a/usr/src/lib/libdtrace/common/mapfile-vers
+++ b/usr/src/lib/libdtrace/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dtrace_addr2str;
dtrace_aggregate_clear;
diff --git a/usr/src/lib/libdtrace_jni/common/mapfile-vers b/usr/src/lib/libdtrace_jni/common/mapfile-vers
index 3e3107961a..f066cb4cb9 100644
--- a/usr/src/lib/libdtrace_jni/common/mapfile-vers
+++ b/usr/src/lib/libdtrace_jni/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
Java_org_opensolaris_os_dtrace_LocalConsumer__1checkProgramEnabling;
Java_org_opensolaris_os_dtrace_LocalConsumer__1checkVersion;
diff --git a/usr/src/lib/libefi/common/mapfile-vers b/usr/src/lib/libefi/common/mapfile-vers
index 937b2f966f..84a908ef93 100644
--- a/usr/src/lib/libefi/common/mapfile-vers
+++ b/usr/src/lib/libefi/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,12 +36,14 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
efi_use_whole_disk;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
efi_alloc_and_init;
efi_alloc_and_read;
@@ -50,7 +51,7 @@ SUNW_1.1 {
efi_write;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
efi_auto_sense;
efi_err_check;
diff --git a/usr/src/lib/libelfsign/Makefile.com b/usr/src/lib/libelfsign/Makefile.com
index b1490ce92a..37a3a076ad 100644
--- a/usr/src/lib/libelfsign/Makefile.com
+++ b/usr/src/lib/libelfsign/Makefile.com
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libelfsign.a
@@ -39,9 +38,6 @@ $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lmd -lelf -lkmf -lcryptoutil -lc
-MAPFILE = mapfile
-MAPFILES = $(MAPFILE)
-
CFLAGS += $(CCMT) $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
@@ -51,10 +47,4 @@ all: $(LIBS)
lint: lintcheck
-$(MAPFILE): $(SRCDIR)/$(MAPFILE).map
- $(RM) $@
- $(CPP) $(SRCDIR)/$(MAPFILE).map > $@
-
-CLEANFILES += $(MAPFILE)
-
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/lib/fm/libfmd_agent/amd64/mapfile-vers b/usr/src/lib/libelfsign/common/mapfile-vers
index 71a8b1f346..7583d6fe28 100644
--- a/usr/src/lib/fm/libfmd_agent/amd64/mapfile-vers
+++ b/usr/src/lib/libelfsign/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,10 +36,38 @@
# MAPFILE HEADER END
#
-SUNWprivate {
- global:
- fmd_agent_physcpu_info;
+$mapfile_version 2
+SYMBOL_VERSION SUNW_1.1 {
+ global:
+ elfsign_begin;
+ elfsign_buffer_len;
+ elfsign_end;
+ elfsign_extract_sig;
+ elfsign_hash;
+ elfsign_hash_mem_resident;
+ elfsign_insert_dso;
+ elfsign_setcallbackctx;
+ elfsign_setsigvercallback;
+ elfsign_setcertpath;
+ elfsign_sig_info;
+ elfsign_sig_info_free;
+ elfsign_signatures;
+ elfsign_strerror;
+ elfsign_verify_signature;
+ elfcertlib_getcert;
+ elfcertlib_getdn;
+ elfcertlib_getissuer;
+ elfcertlib_init;
+ elfcertlib_loadprivatekey;
+ elfcertlib_loadtokenkey;
+ elfcertlib_releasecert;
+ elfcertlib_setcertCAcallback;
+ elfcertlib_setcertvercallback;
+ elfcertlib_settoken;
+ elfcertlib_sign;
+ elfcertlib_verifycert;
+ elfcertlib_verifysig;
local:
*;
};
diff --git a/usr/src/lib/libelfsign/common/mapfile.map b/usr/src/lib/libelfsign/common/mapfile.map
deleted file mode 100644
index a500384e1c..0000000000
--- a/usr/src/lib/libelfsign/common/mapfile.map
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-
-/*
- * MAPFILE HEADER START
- *
- * WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
- * Object versioning must comply with the rules detailed in
- *
- * usr/src/lib/README.mapfiles
- *
- * You should not be making modifications here until you've read the most current
- * copy of that file. If you need help, contact a gatekeeper for guidance.
- *
- * MAPFILE HEADER END
- */
-
-SUNW_1.1 {
- global:
- elfsign_begin;
- elfsign_buffer_len;
- elfsign_end;
- elfsign_extract_sig;
- elfsign_hash;
- elfsign_hash_mem_resident;
- elfsign_insert_dso;
- elfsign_setcallbackctx;
- elfsign_setsigvercallback;
- elfsign_setcertpath;
- elfsign_sig_info;
- elfsign_sig_info_free;
- elfsign_signatures;
- elfsign_strerror;
- elfsign_verify_signature;
- elfcertlib_getcert;
- elfcertlib_getdn;
- elfcertlib_getissuer;
- elfcertlib_init;
- elfcertlib_loadprivatekey;
- elfcertlib_loadtokenkey;
- elfcertlib_releasecert;
- elfcertlib_setcertCAcallback;
- elfcertlib_setcertvercallback;
- elfcertlib_settoken;
- elfcertlib_sign;
- elfcertlib_verifycert;
- elfcertlib_verifysig;
- local:
- *;
-};
diff --git a/usr/src/lib/libeti/form/amd64/Makefile b/usr/src/lib/libeti/form/amd64/Makefile
index 3470e303f8..4201c0bb20 100644
--- a/usr/src/lib/libeti/form/amd64/Makefile
+++ b/usr/src/lib/libeti/form/amd64/Makefile
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
@@ -30,8 +27,6 @@ include ../../../Makefile.lib.64
DYNFLAGS += $(DYNFLAGS64)
-MAPFILES += $(SRCDIR)/mapfile64-vers
-
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/libeti/form/common/mapfile-vers b/usr/src/lib/libeti/form/common/mapfile-vers
index 2fa88ac0a0..9ce7631261 100644
--- a/usr/src/lib/libeti/form/common/mapfile-vers
+++ b/usr/src/lib/libeti/form/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
current_field;
data_ahead;
@@ -112,7 +113,7 @@ SUNW_1.1 {
unpost_form;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_adjust_cursor;
__advance;
@@ -158,7 +159,7 @@ SUNWprivate_1.1 {
_ins_char;
_ins_line;
_ins_mode;
- __i_size = DATA FILTER libc.so.1 S0x4;
+ __i_size { TYPE = DATA; FILTER = libc.so.1; SIZE = 0x4 };
_last_field;
_last_page;
_left_char;
@@ -232,6 +233,19 @@ SUNWprivate_1.1 {
_win_to_buf;
__xpop;
__xpush;
+
+ __loc1 {
+ TYPE = DATA;
+ FILTER = libc.so.1;
+$if _ELF32
+ SIZE = 0x4;
+$elif _ELF64
+ SIZE = 0x8;
+$else
+$error unknown ELFCLASS
+$endif
+ };
+
local:
*;
};
diff --git a/usr/src/lib/libeti/form/common/mapfile32-vers b/usr/src/lib/libeti/form/common/mapfile32-vers
deleted file mode 100644
index a722835a46..0000000000
--- a/usr/src/lib/libeti/form/common/mapfile32-vers
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
- __loc1 = DATA FILTER libc.so.1 S0x4;
-};
diff --git a/usr/src/lib/libeti/form/common/mapfile64-vers b/usr/src/lib/libeti/form/common/mapfile64-vers
deleted file mode 100644
index 1fa1ca29db..0000000000
--- a/usr/src/lib/libeti/form/common/mapfile64-vers
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
- __loc1 = DATA FILTER libc.so.1 S0x8;
-};
diff --git a/usr/src/lib/libeti/form/i386/Makefile b/usr/src/lib/libeti/form/i386/Makefile
index ed27aa7c3c..af931b5d9a 100644
--- a/usr/src/lib/libeti/form/i386/Makefile
+++ b/usr/src/lib/libeti/form/i386/Makefile
@@ -19,16 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
.KEEP_STATE:
-MAPFILES += $(SRCDIR)/mapfile32-vers
-
install: all $(ROOTLIBS) $(ROOTLINKS) $(DYNLINKLIB) $(ROOTLINT)
diff --git a/usr/src/lib/libeti/form/sparc/Makefile b/usr/src/lib/libeti/form/sparc/Makefile
index ed27aa7c3c..af931b5d9a 100644
--- a/usr/src/lib/libeti/form/sparc/Makefile
+++ b/usr/src/lib/libeti/form/sparc/Makefile
@@ -19,16 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
.KEEP_STATE:
-MAPFILES += $(SRCDIR)/mapfile32-vers
-
install: all $(ROOTLIBS) $(ROOTLINKS) $(DYNLINKLIB) $(ROOTLINT)
diff --git a/usr/src/lib/libeti/form/sparcv9/Makefile b/usr/src/lib/libeti/form/sparcv9/Makefile
index 3470e303f8..06a8dcb9bb 100644
--- a/usr/src/lib/libeti/form/sparcv9/Makefile
+++ b/usr/src/lib/libeti/form/sparcv9/Makefile
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.com
@@ -30,8 +27,6 @@ include ../../../Makefile.lib.64
DYNFLAGS += $(DYNFLAGS64)
-MAPFILES += $(SRCDIR)/mapfile64-vers
-
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/libeti/menu/common/mapfile-vers b/usr/src/lib/libeti/menu/common/mapfile-vers
index 262a874cc0..6268c3daf1 100644
--- a/usr/src/lib/libeti/menu/common/mapfile-vers
+++ b/usr/src/lib/libeti/menu/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
current_item;
free_item;
@@ -101,7 +102,7 @@ SUNW_1.1 {
unpost_menu;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_affect_change;
_chk_current;
diff --git a/usr/src/lib/libeti/panel/common/mapfile-vers b/usr/src/lib/libeti/panel/common/mapfile-vers
index a1ae1738ca..bee87393b2 100644
--- a/usr/src/lib/libeti/panel/common/mapfile-vers
+++ b/usr/src/lib/libeti/panel/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
bottom_panel;
del_panel;
@@ -56,7 +57,7 @@ SUNW_1.1 {
update_panels;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_alloc_overlap;
_Bottom_panel;
diff --git a/usr/src/lib/libexacct/common/mapfile-vers b/usr/src/lib/libexacct/common/mapfile-vers
index f5ed33062d..41d623c073 100644
--- a/usr/src/lib/libexacct/common/mapfile-vers
+++ b/usr/src/lib/libexacct/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
ea_clear;
ea_fdopen;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
ea_alloc;
ea_attach_to_group;
@@ -57,7 +58,7 @@ SUNW_1.2 {
ea_strfree;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
ea_close;
ea_error;
@@ -76,7 +77,7 @@ SUNW_1.1 {
ea_write_object;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
exacct_order16;
exacct_order32;
diff --git a/usr/src/lib/libfcoe/common/mapfile-vers b/usr/src/lib/libfcoe/common/mapfile-vers
index ef58a8431d..2c33647d42 100644
--- a/usr/src/lib/libfcoe/common/mapfile-vers
+++ b/usr/src/lib/libfcoe/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
FCOE_CreatePort;
FCOE_DeletePort;
diff --git a/usr/src/lib/libfdisk/common/mapfile-vers b/usr/src/lib/libfdisk/common/mapfile-vers
index d135c15ffc..a1a16b81ac 100644
--- a/usr/src/lib/libfdisk/common/mapfile-vers
+++ b/usr/src/lib/libfdisk/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
fdisk_ext_validate_part_start;
fdisk_commit_ext_part;
diff --git a/usr/src/lib/libfru/libnvfru/mapfile-vers b/usr/src/lib/libfru/libnvfru/mapfile-vers
index 2f36352765..2341fb46d0 100644
--- a/usr/src/lib/libfru/libnvfru/mapfile-vers
+++ b/usr/src/lib/libfru/libnvfru/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
rawfru_to_nvlist;
diff --git a/usr/src/lib/libfsmgt/common/mapfile-vers b/usr/src/lib/libfsmgt/common/mapfile-vers
index 51fdc423a0..0d90ebb528 100644
--- a/usr/src/lib/libfsmgt/common/mapfile-vers
+++ b/usr/src/lib/libfsmgt/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cmd_execute_command;
cmd_execute_command_and_retrieve_string;
diff --git a/usr/src/lib/libfstyp/common/mapfile-vers b/usr/src/lib/libfstyp/common/mapfile-vers
index efd8992814..5aaf31bb78 100644
--- a/usr/src/lib/libfstyp/common/mapfile-vers
+++ b/usr/src/lib/libfstyp/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
fstyp_dump;
fstyp_fini;
@@ -47,7 +48,7 @@ SUNW_1.1 {
fstyp_strerror;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/libgen/Makefile.com b/usr/src/lib/libgen/Makefile.com
index 4eecda06a7..f3974592c4 100644
--- a/usr/src/lib/libgen/Makefile.com
+++ b/usr/src/lib/libgen/Makefile.com
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libgen.a
@@ -42,8 +39,6 @@ LDLIBS += -lc
SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-MAPFILES += $(MAPFILE32)
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_LARGEFILE64_SOURCE -I../inc -I../../common/inc
diff --git a/usr/src/lib/libgen/amd64/Makefile b/usr/src/lib/libgen/amd64/Makefile
index d44bc0ad74..f3b194ffac 100644
--- a/usr/src/lib/libgen/amd64/Makefile
+++ b/usr/src/lib/libgen/amd64/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 =
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libgen/common/mapfile-vers b/usr/src/lib/libgen/common/mapfile-vers
index 1988ce1ad5..ec4a5ac5a4 100644
--- a/usr/src/lib/libgen/common/mapfile-vers
+++ b/usr/src/lib/libgen/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
advance;
bgets;
@@ -76,9 +77,13 @@ SUNW_1.1 {
strfind;
strrspn;
strtrns;
+
+$if _ELF32
+ copylist64; # largefiles interfaces for 32-bit applications
+$endif
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_compile; # just for vi
__p2close; # just for libcrypt
diff --git a/usr/src/lib/libgen/common/mapfile32-vers b/usr/src/lib/libgen/common/mapfile32-vers
deleted file mode 100644
index 58f863c442..0000000000
--- a/usr/src/lib/libgen/common/mapfile32-vers
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.1 { # largefiles interfaces for 32-bit applications
- global:
- copylist64;
-};
diff --git a/usr/src/lib/libgen/i386/Makefile b/usr/src/lib/libgen/i386/Makefile
index 3ca446fd6e..8e78beab26 100644
--- a/usr/src/lib/libgen/i386/Makefile
+++ b/usr/src/lib/libgen/i386/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libgen/sparc/Makefile b/usr/src/lib/libgen/sparc/Makefile
index 3ca446fd6e..8e78beab26 100644
--- a/usr/src/lib/libgen/sparc/Makefile
+++ b/usr/src/lib/libgen/sparc/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libgen/sparcv9/Makefile b/usr/src/lib/libgen/sparcv9/Makefile
index d44bc0ad74..f0311532a0 100644
--- a/usr/src/lib/libgen/sparcv9/Makefile
+++ b/usr/src/lib/libgen/sparcv9/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 =
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libgrubmgmt/common/mapfile-vers b/usr/src/lib/libgrubmgmt/common/mapfile-vers
index bc9afc111b..a44649a042 100644
--- a/usr/src/lib/libgrubmgmt/common/mapfile-vers
+++ b/usr/src/lib/libgrubmgmt/common/mapfile-vers
@@ -19,12 +19,27 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
-SUNWprivate_1.1 {
+#
+# MAPFILE HEADER START
+#
+# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+# usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
grub_get_boot_args;
grub_cleanup_boot_args;
diff --git a/usr/src/lib/libgss/mapfile-vers b/usr/src/lib/libgss/mapfile-vers
index 66eee46213..c8a43d1144 100644
--- a/usr/src/lib/libgss/mapfile-vers
+++ b/usr/src/lib/libgss/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,10 @@
#
# MAPFILE HEADER END
#
-SUNW_1.3 {
+
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
gss_add_buffer_set_member;
gss_create_empty_buffer_set;
@@ -45,7 +47,7 @@ SUNW_1.3 {
gss_release_buffer_set;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
gss_accept_sec_context;
gss_acquire_cred;
@@ -101,12 +103,12 @@ SUNW_1.2 {
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
der_length_size;
generic_gss_copy_oid;
diff --git a/usr/src/lib/libhotplug/common/mapfile-vers b/usr/src/lib/libhotplug/common/mapfile-vers
index 22e24bf62a..4f9374f464 100644
--- a/usr/src/lib/libhotplug/common/mapfile-vers
+++ b/usr/src/lib/libhotplug/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
hp_init;
hp_fini;
diff --git a/usr/src/lib/libidmap/common/mapfile-vers b/usr/src/lib/libidmap/common/mapfile-vers
index 4e65bafc61..d092b29913 100644
--- a/usr/src/lib/libidmap/common/mapfile-vers
+++ b/usr/src/lib/libidmap/common/mapfile-vers
@@ -37,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
directory_canon_from_group_name;
directory_canon_from_name;
diff --git a/usr/src/lib/libilb/common/mapfile-vers b/usr/src/lib/libilb/common/mapfile-vers
index 353a0a6958..77403c83d7 100644
--- a/usr/src/lib/libilb/common/mapfile-vers
+++ b/usr/src/lib/libilb/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,8 +36,9 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
ilb_add_server_to_group;
ilb_address_to_srvID;
@@ -68,7 +68,7 @@ SUNW_1.1 {
ilb_walk_servers;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
ilb_cmp_in6_addr;
ilb_cmp_ipaddr;
diff --git a/usr/src/lib/libima/common/mapfile-vers b/usr/src/lib/libima/common/mapfile-vers
index f3361b1cb0..db08548e78 100644
--- a/usr/src/lib/libima/common/mapfile-vers
+++ b/usr/src/lib/libima/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,16 @@
#
# MAPFILE HEADER END
#
-SUNW_1.1 { # update to libima, Solaris 11
+
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 { # update to libima, Solaris 11
global:
SUN_IMA_SetTunableProperties;
SUN_IMA_GetTunableProperties;
} SUNW_1.0;
-SUNW_1.0 { # first release of libima in S10u2_02
+SYMBOL_VERSION SUNW_1.0 { # first release of libima in S10u2_02
global:
IMA_GetErrorRecoveryLevelProperties;
IMA_GetNetworkPortalProperties;
diff --git a/usr/src/lib/libinetsvc/common/mapfile-vers b/usr/src/lib/libinetsvc/common/mapfile-vers
index c229b58c0e..9f8d03240f 100644
--- a/usr/src/lib/libinetsvc/common/mapfile-vers
+++ b/usr/src/lib/libinetsvc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
calculate_hash;
connect_to_inetd;
diff --git a/usr/src/lib/libinetutil/common/mapfile-vers b/usr/src/lib/libinetutil/common/mapfile-vers
index 8dc7fb2c3a..f47657c56e 100644
--- a/usr/src/lib/libinetutil/common/mapfile-vers
+++ b/usr/src/lib/libinetutil/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
get_netmask4;
hexascii_to_octet;
diff --git a/usr/src/lib/libinstzones/common/mapfile-vers b/usr/src/lib/libinstzones/common/mapfile-vers
index bb073554e5..c57f4c78eb 100644
--- a/usr/src/lib/libinstzones/common/mapfile-vers
+++ b/usr/src/lib/libinstzones/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
UmountAllZones;
z_add_inherited_file_system;
diff --git a/usr/src/lib/libintl/common/mapfile-vers b/usr/src/lib/libintl/common/mapfile-vers
index 8f1caa026c..068bb04394 100644
--- a/usr/src/lib/libintl/common/mapfile-vers
+++ b/usr/src/lib/libintl/common/mapfile-vers
@@ -1,5 +1,4 @@
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -35,27 +34,29 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
local:
*;
} SUNW_0.8;
-SUNW_0.8 {
+SYMBOL_VERSION SUNW_0.8 {
global:
- dcgettext = FUNCTION;
+ dcgettext { TYPE = FUNCTION };
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
- gettext = FUNCTION;
- dgettext = FUNCTION;
- textdomain = FUNCTION;
- bindtextdomain = FUNCTION;
+ gettext { TYPE = FUNCTION };
+ dgettext { TYPE = FUNCTION };
+ textdomain { TYPE = FUNCTION };
+ bindtextdomain { TYPE = FUNCTION };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
};
diff --git a/usr/src/lib/libipmi/common/mapfile-vers b/usr/src/lib/libipmi/common/mapfile-vers
index b16faf3539..1f432b9a80 100644
--- a/usr/src/lib/libipmi/common/mapfile-vers
+++ b/usr/src/lib/libipmi/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ipmi_chassis_identify;
ipmi_close;
diff --git a/usr/src/lib/libipmp/common/mapfile-vers b/usr/src/lib/libipmp/common/mapfile-vers
index 6951c248ed..3f5c673df6 100644
--- a/usr/src/lib/libipmp/common/mapfile-vers
+++ b/usr/src/lib/libipmp/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ipmp_addrinfo_create;
ipmp_close;
diff --git a/usr/src/lib/libipp/mapfile-vers b/usr/src/lib/libipp/mapfile-vers
index c944d1aba6..448aafe9c6 100644
--- a/usr/src/lib/libipp/mapfile-vers
+++ b/usr/src/lib/libipp/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ipp_action_create;
ipp_action_destroy;
diff --git a/usr/src/lib/libipsecutil/common/mapfile-vers b/usr/src/lib/libipsecutil/common/mapfile-vers
index 4ca741b186..eff1929fd3 100644
--- a/usr/src/lib/libipsecutil/common/mapfile-vers
+++ b/usr/src/lib/libipsecutil/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
addipsecalg;
addipsecproto;
@@ -56,8 +57,8 @@ SUNWprivate_1.1 {
dump_sadb_idtype;
dump_sockaddr;
env;
- _errfp = FUNCTION FILTER libc.so.1;
- _errxfp = FUNCTION FILTER libc.so.1;
+ _errfp { TYPE = FUNCTION; FILTER = libc.so.1 };
+ _errxfp { TYPE = FUNCTION; FILTER = libc.so.1 };
getipsecalgs;
getipsecprotos;
in_masktoprefix;
@@ -115,12 +116,12 @@ SUNWprivate_1.1 {
secs2str;
spdsock_diag;
spdsock_get_ext;
- _verrfp = FUNCTION FILTER libc.so.1;
- _verrxfp = FUNCTION FILTER libc.so.1;
- _vwarnfp = FUNCTION FILTER libc.so.1;
- _vwarnxfp = FUNCTION FILTER libc.so.1;
- _warnfp = FUNCTION FILTER libc.so.1;
- _warnxfp = FUNCTION FILTER libc.so.1;
+ _verrfp { TYPE = FUNCTION; FILTER = libc.so.1 };
+ _verrxfp { TYPE = FUNCTION; FILTER = libc.so.1 };
+ _vwarnfp { TYPE = FUNCTION; FILTER = libc.so.1 };
+ _vwarnxfp { TYPE = FUNCTION; FILTER = libc.so.1 };
+ _warnfp { TYPE = FUNCTION; FILTER = libc.so.1 };
+ _warnxfp { TYPE = FUNCTION; FILTER = libc.so.1 };
local:
*;
};
diff --git a/usr/src/lib/libiscsit/common/mapfile-vers b/usr/src/lib/libiscsit/common/mapfile-vers
index 66761dc7be..b6c6654da7 100644
--- a/usr/src/lib/libiscsit/common/mapfile-vers
+++ b/usr/src/lib/libiscsit/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,10 @@
#
# MAPFILE HEADER END
#
-SUNW_1.1 {
+
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
it_config_load;
it_config_commit;
@@ -59,7 +61,7 @@ SUNW_1.1 {
it_portal_create;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
it_config_to_nv;
it_nv_to_config;
diff --git a/usr/src/lib/libkmf/ber_der/common/mapfile-vers b/usr/src/lib/libkmf/ber_der/common/mapfile-vers
index cda7690c8d..10853c178f 100644
--- a/usr/src/lib/libkmf/ber_der/common/mapfile-vers
+++ b/usr/src/lib/libkmf/ber_der/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
AddRDN;
CopyRDN;
diff --git a/usr/src/lib/libkmf/libkmf/common/mapfile-vers b/usr/src/lib/libkmf/libkmf/common/mapfile-vers
index b965e8eae6..4e8d0d848d 100644
--- a/usr/src/lib/libkmf/libkmf/common/mapfile-vers
+++ b/usr/src/lib/libkmf/libkmf/common/mapfile-vers
@@ -34,7 +34,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
KMFOID_AliasedEntryName;
KMFOID_AuthorityInfoAccess;
@@ -387,7 +389,7 @@ SUNW_1.1 {
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
copy_extension_data;
dup_entry;
diff --git a/usr/src/lib/libkmf/plugins/kmf_nss/common/mapfile-vers b/usr/src/lib/libkmf/plugins/kmf_nss/common/mapfile-vers
index ed8febf784..80c06c85f9 100644
--- a/usr/src/lib/libkmf/plugins/kmf_nss/common/mapfile-vers
+++ b/usr/src/lib/libkmf/plugins/kmf_nss/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
KMF_Plugin_Initialize;
NSS_CreateKeypair;
diff --git a/usr/src/lib/libkmf/plugins/kmf_openssl/common/mapfile-vers b/usr/src/lib/libkmf/plugins/kmf_openssl/common/mapfile-vers
index 999a9278ea..5faa4a86d0 100644
--- a/usr/src/lib/libkmf/plugins/kmf_openssl/common/mapfile-vers
+++ b/usr/src/lib/libkmf/plugins/kmf_openssl/common/mapfile-vers
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
KMF_Plugin_Initialize;
OpenSSL_CertGetPrintable;
diff --git a/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/mapfile-vers b/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/mapfile-vers
index 9debd29abe..560a0cf76b 100644
--- a/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/mapfile-vers
+++ b/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
KMF_Plugin_Initialize;
KMFPK11_CreateKeypair;
diff --git a/usr/src/lib/libkrb5/common/mapfile-vers b/usr/src/lib/libkrb5/common/mapfile-vers
index fd7475db04..42127c9ae3 100644
--- a/usr/src/lib/libkrb5/common/mapfile-vers
+++ b/usr/src/lib/libkrb5/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,6 +36,8 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# This is a mapfile that defines a filter for mech_krb5 so that
# a new public library can be made to access certain functions in
@@ -45,254 +46,338 @@
# New functions can be added as needed.
#
-{
+SYMBOL_SCOPE {
global:
# com_err.h
- com_err = FUNCTION FILTER mech_krb5.so.1;
- com_err_va = FUNCTION FILTER mech_krb5.so.1;
- error_message = FUNCTION FILTER mech_krb5.so.1;
+ com_err { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ com_err_va { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ error_message { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
# krb5.h (non-private and non-deprecated)
- krb5_c_encrypt = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_decrypt = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_encrypt_length = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_block_size = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_init_state = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_free_state = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_make_random_key = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_random_make_octets = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_string_to_key = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_string_to_key_with_params = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_enctype_compare = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_make_checksum = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_verify_checksum = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_checksum_length = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_keyed_checksum_types = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_valid_enctype = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_valid_cksumtype = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_is_coll_proof_cksum = FUNCTION FILTER mech_krb5.so.1;
- krb5_c_is_keyed_cksum = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_gen_new = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_initialize = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_destroy = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_close = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_store_cred = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_retrieve_cred = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_get_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_get_principal = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_start_seq_get = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_next_cred = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_end_seq_get = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_remove_cred = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_set_flags = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_get_type = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_get_type = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_get_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_close = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_get_entry = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_start_seq_get = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_next_entry = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_end_seq_get = FUNCTION FILTER mech_krb5.so.1;
- krb5_init_context = FUNCTION FILTER mech_krb5.so.1;
- krb5_init_secure_context = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_context = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_default_tgs_enctypes = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_permitted_enctypes = FUNCTION FILTER mech_krb5.so.1;
- krb5_is_thread_safe = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_tgt_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_credentials = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_credentials_validate = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_credentials_renew = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_req = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_req_extended = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_rep = FUNCTION FILTER mech_krb5.so.1;
- krb5_rd_rep = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_error = FUNCTION FILTER mech_krb5.so.1;
- krb5_rd_error = FUNCTION FILTER mech_krb5.so.1;
- krb5_rd_safe = FUNCTION FILTER mech_krb5.so.1;
- krb5_rd_priv = FUNCTION FILTER mech_krb5.so.1;
- krb5_parse_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_unparse_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_unparse_name_ext = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_principal_realm = FUNCTION FILTER mech_krb5.so.1;
- krb5_address_search = FUNCTION FILTER mech_krb5.so.1;
- krb5_address_compare = FUNCTION FILTER mech_krb5.so.1;
- krb5_address_order = FUNCTION FILTER mech_krb5.so.1;
- krb5_realm_compare = FUNCTION FILTER mech_krb5.so.1;
- krb5_principal_compare = FUNCTION FILTER mech_krb5.so.1;
- krb5_init_keyblock = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_keyblock = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_keyblock_contents = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_data = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_principal = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_addresses = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_ticket = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_authdata = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_authenticator = FUNCTION FILTER mech_krb5.so.1;
- krb5_copy_checksum = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_server_rcache = FUNCTION FILTER mech_krb5.so.1;
- krb5_build_principal_ext = FUNCTION FILTER mech_krb5.so.1;
- krb5_build_principal = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_resolve = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_default_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_default = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_keytab_entry_contents = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_remove_entry = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_add_entry = FUNCTION FILTER mech_krb5.so.1;
- krb5_principal2salt = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_resolve = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_default_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_set_default_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_default = FUNCTION FILTER mech_krb5.so.1;
- krb5_cc_copy_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_principal = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_authenticator = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_addresses = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_authdata = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_ticket = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_error = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_cred_contents = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_checksum = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_checksum_contents = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_keyblock = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_keyblock_contents = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_ap_rep_enc_part = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_data = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_data_contents = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_unparsed_name = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_cksumtypes = FUNCTION FILTER mech_krb5.so.1;
- krb5_us_timeofday = FUNCTION FILTER mech_krb5.so.1;
- krb5_timeofday = FUNCTION FILTER mech_krb5.so.1;
- krb5_os_localaddr = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_default_realm = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_default_realm = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_default_realm = FUNCTION FILTER mech_krb5.so.1;
- krb5_sname_to_principal = FUNCTION FILTER mech_krb5.so.1;
- krb5_change_password = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_password = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_password_using_ccache = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_profile = FUNCTION FILTER mech_krb5.so.1;
- krb5_rd_req = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_read_service_key = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_safe = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_priv = FUNCTION FILTER mech_krb5.so.1;
- krb5_sendauth = FUNCTION FILTER mech_krb5.so.1;
- krb5_recvauth = FUNCTION FILTER mech_krb5.so.1;
- krb5_recvauth_version = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_ncred = FUNCTION FILTER mech_krb5.so.1;
- krb5_mk_1cred = FUNCTION FILTER mech_krb5.so.1;
- krb5_rd_cred = FUNCTION FILTER mech_krb5.so.1;
- krb5_fwd_tgt_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_init = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_free = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_setflags = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getflags = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_set_checksum_func = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_get_checksum_func = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_setaddrs = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getaddrs = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_setports = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_setuseruserkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getsendsubkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getrecvsubkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_setsendsubkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_setrecvsubkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getlocalseqnumber = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getremoteseqnumber = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_setrcache = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getrcache = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getauthenticator = FUNCTION FILTER mech_krb5.so.1;
- krb5_read_password = FUNCTION FILTER mech_krb5.so.1;
- krb5_aname_to_localname = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_host_realm = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_host_realm = FUNCTION FILTER mech_krb5.so.1;
- krb5_kuserok = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_genaddrs = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_real_time = FUNCTION FILTER mech_krb5.so.1;
- krb5_string_to_enctype = FUNCTION FILTER mech_krb5.so.1;
- krb5_string_to_salttype = FUNCTION FILTER mech_krb5.so.1;
- krb5_string_to_cksumtype = FUNCTION FILTER mech_krb5.so.1;
- krb5_string_to_timestamp = FUNCTION FILTER mech_krb5.so.1;
- krb5_string_to_deltat = FUNCTION FILTER mech_krb5.so.1;
- krb5_enctype_to_string = FUNCTION FILTER mech_krb5.so.1;
- krb5_salttype_to_string = FUNCTION FILTER mech_krb5.so.1;
- krb5_cksumtype_to_string = FUNCTION FILTER mech_krb5.so.1;
- krb5_timestamp_to_string = FUNCTION FILTER mech_krb5.so.1;
- krb5_timestamp_to_sfstring = FUNCTION FILTER mech_krb5.so.1;
- krb5_deltat_to_string = FUNCTION FILTER mech_krb5.so.1;
- krb5_xfree_wrap = FUNCTION FILTER mech_krb5.so.1;
- krb5_xfree = FUNCTION FILTER mech_krb5.so.1;
- krb5_prompter_posix = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_init = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_tkt_life = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_renew_life = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_forwardable = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_proxiable = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_etype_list = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_address_list = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_preauth_list = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_opt_set_salt = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_password = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_init_creds_keytab = FUNCTION FILTER mech_krb5.so.1;
- krb5_verify_init_creds_opt_init = FUNCTION FILTER mech_krb5.so.1;
- krb5_verify_init_creds_opt_set_ap_req_nofail = FUNCTION FILTER mech_krb5.so.1;
- krb5_verify_init_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_validated_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_renewed_creds = FUNCTION FILTER mech_krb5.so.1;
- krb5_decode_ticket = FUNCTION FILTER mech_krb5.so.1;
- krb5_appdefault_string = FUNCTION FILTER mech_krb5.so.1;
- krb5_appdefault_boolean = FUNCTION FILTER mech_krb5.so.1;
- krb5_realm_iterator_create = FUNCTION FILTER mech_krb5.so.1;
- krb5_realm_iterator = FUNCTION FILTER mech_krb5.so.1;
- krb5_realm_iterator_free = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_realm_string = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_prompt_types = FUNCTION FILTER mech_krb5.so.1;
- krb5_string_to_key = FUNCTION FILTER mech_krb5.so.1;
- krb5_use_enctype = FUNCTION FILTER mech_krb5.so.1;
- krb5_init_allocated_keyblock = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_key_enctype = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_key_length = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_key_data = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_key_enctype = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_key_data = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_key_length = FUNCTION FILTER mech_krb5.so.1;
- krb5_pac_add_buffer = FUNCTION FILTER mech_krb5.so.1;
- krb5_pac_free = FUNCTION FILTER mech_krb5.so.1;
- krb5_pac_get_buffer = FUNCTION FILTER mech_krb5.so.1;
- krb5_pac_get_types = FUNCTION FILTER mech_krb5.so.1;
- krb5_pac_init = FUNCTION FILTER mech_krb5.so.1;
- krb5_pac_parse = FUNCTION FILTER mech_krb5.so.1;
- krb5_pac_verify = FUNCTION FILTER mech_krb5.so.1;
- krb5_decode_authdata_container = FUNCTION FILTER mech_krb5.so.1;
- krb5_encode_authdata_container = FUNCTION FILTER mech_krb5.so.1;
+ krb5_c_encrypt { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_decrypt { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_encrypt_length { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_block_size { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_init_state { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_free_state { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_make_random_key { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_random_make_octets { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_string_to_key { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_string_to_key_with_params {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_c_enctype_compare { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_make_checksum { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_verify_checksum { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_checksum_length { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_keyed_checksum_types { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_valid_enctype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_valid_cksumtype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_is_coll_proof_cksum { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_c_is_keyed_cksum { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_gen_new { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_initialize { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_destroy { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_close { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_store_cred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_retrieve_cred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_get_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_get_principal { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_start_seq_get { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_next_cred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_end_seq_get { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_remove_cred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_set_flags { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_get_type { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_get_type { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_get_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_close { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_get_entry { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_start_seq_get { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_next_entry { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_end_seq_get { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_init_context { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_init_secure_context { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_context { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_default_tgs_enctypes {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_permitted_enctypes { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_is_thread_safe { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_tgt_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_credentials { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_credentials_validate {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_credentials_renew { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_req { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_req_extended { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_rep { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rd_rep { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_error { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rd_error { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rd_safe { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rd_priv { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_parse_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_unparse_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_unparse_name_ext { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_principal_realm { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_address_search { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_address_compare { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_address_order { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_realm_compare { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_principal_compare { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_init_keyblock { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_keyblock { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_keyblock_contents { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_data { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_principal { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_addresses { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_ticket { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_authdata { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_authenticator { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_copy_checksum { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_server_rcache { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_build_principal_ext { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_build_principal { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_resolve { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_default_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_default { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_keytab_entry_contents {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_kt_remove_entry { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_add_entry { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_principal2salt { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_resolve { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_default_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_set_default_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_default { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cc_copy_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_principal { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_authenticator { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_addresses { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_authdata { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_ticket { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_error { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_cred_contents { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_checksum { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_checksum_contents { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_keyblock { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_keyblock_contents { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_ap_rep_enc_part { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_data { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_data_contents { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_unparsed_name { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_cksumtypes { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_us_timeofday { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_timeofday { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_os_localaddr { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_default_realm { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_default_realm { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_default_realm { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_sname_to_principal { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_change_password { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_password { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_password_using_ccache {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_profile { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rd_req { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_read_service_key { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_safe { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_priv { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_sendauth { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_recvauth { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_recvauth_version { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_ncred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_mk_1cred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rd_cred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_fwd_tgt_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_init { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_free { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_setflags { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getflags { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_set_checksum_func {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_auth_con_get_checksum_func {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_auth_con_setaddrs { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getaddrs { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_setports { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_setuseruserkey {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_auth_con_getkey { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getsendsubkey { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getrecvsubkey { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_setsendsubkey { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_setrecvsubkey { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getlocalseqnumber {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_auth_con_getremoteseqnumber {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_auth_con_setrcache { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getrcache { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getauthenticator {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_read_password { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_aname_to_localname { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_host_realm { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_host_realm { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kuserok { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_genaddrs { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_real_time { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_string_to_enctype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_string_to_salttype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_string_to_cksumtype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_string_to_timestamp { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_string_to_deltat { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_enctype_to_string { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_salttype_to_string { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_cksumtype_to_string { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_timestamp_to_string { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_timestamp_to_sfstring { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_deltat_to_string { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_xfree_wrap { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_xfree { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_prompter_posix { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_init_creds_opt_init {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_opt_set_tkt_life {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_opt_set_renew_life {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_opt_set_forwardable {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_opt_set_proxiable {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_opt_set_etype_list {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_opt_set_address_list {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1
+ };
+ krb5_get_init_creds_opt_set_preauth_list {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_opt_set_salt {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_password {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_init_creds_keytab { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_verify_init_creds_opt_init {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_verify_init_creds_opt_set_ap_req_nofail {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_verify_init_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_validated_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_renewed_creds { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_decode_ticket { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_appdefault_string { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_appdefault_boolean { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_realm_iterator_create { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_realm_iterator { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_realm_iterator_free { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_realm_string { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_prompt_types { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_string_to_key { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_use_enctype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_init_allocated_keyblock {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_get_key_enctype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_key_length { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_key_data { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_key_enctype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_key_data { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_set_key_length { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_pac_add_buffer { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_pac_free { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_pac_get_buffer { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_pac_get_types { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_pac_init { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_pac_parse { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_pac_verify { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_decode_authdata_container {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_encode_authdata_container {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
# krb5.h - priv/deprecated
- krb5_string_to_key = FUNCTION FILTER mech_krb5.so.1;
- krb5_use_enctype = FUNCTION FILTER mech_krb5.so.1;
- krb5_checksum_size = FUNCTION FILTER mech_krb5.so.1;
- krb5_kt_free_entry = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getlocalsubkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_auth_con_getremotesubkey = FUNCTION FILTER mech_krb5.so.1;
- krb5_set_default_tgs_ktypes = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_ktypes = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_ap_req = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_ap_rep = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_cred = FUNCTION FILTER mech_krb5.so.1;
- krb5_decrypt_tkt_part = FUNCTION FILTER mech_krb5.so.1;
- krb5_get_error_message = FUNCTION FILTER mech_krb5.so.1;
- krb5_free_error_message = FUNCTION FILTER mech_krb5.so.1;
- krb5_clear_error_message = FUNCTION FILTER mech_krb5.so.1;
- valid_cksumtype = FUNCTION FILTER mech_krb5.so.1;
+ krb5_string_to_key { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_use_enctype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_checksum_size { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_kt_free_entry { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_auth_con_getlocalsubkey {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_auth_con_getremotesubkey {
+ TYPE = FUNCTION;
+ FILTER = mech_krb5.so.1;
+ };
+ krb5_set_default_tgs_ktypes { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_ktypes { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_ap_req { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_ap_rep { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_cred { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_decrypt_tkt_part { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_get_error_message { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_free_error_message { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_clear_error_message { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ valid_cksumtype { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
# k5-int.h (needed by Samba, openssl, etc)
- decode_krb5_ap_req = FUNCTION FILTER mech_krb5.so.1;
- encode_krb5_ap_req = FUNCTION FILTER mech_krb5.so.1;
- krb5_rc_get_lifespan = FUNCTION FILTER mech_krb5.so.1;
- krb5_rc_initialize = FUNCTION FILTER mech_krb5.so.1;
- krb5_rc_default = FUNCTION FILTER mech_krb5.so.1;
- krb5_rc_destroy = FUNCTION FILTER mech_krb5.so.1;
+ decode_krb5_ap_req { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ encode_krb5_ap_req { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rc_get_lifespan { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rc_initialize { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rc_default { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
+ krb5_rc_destroy { TYPE = FUNCTION; FILTER = mech_krb5.so.1 };
};
diff --git a/usr/src/lib/libkstat/common/mapfile-vers b/usr/src/lib/libkstat/common/mapfile-vers
index a15de58d01..719d62a1b1 100644
--- a/usr/src/lib/libkstat/common/mapfile-vers
+++ b/usr/src/lib/libkstat/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,16 +36,18 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# Due to mistakes made early in the history of this library, there are
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
kstat_chain_update;
kstat_close;
diff --git a/usr/src/lib/libkvm/common/mapfile-vers b/usr/src/lib/libkvm/common/mapfile-vers
index f967f04e4d..34ccee8093 100644
--- a/usr/src/lib/libkvm/common/mapfile-vers
+++ b/usr/src/lib/libkvm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
kvm_close;
kvm_getcmd;
@@ -55,7 +56,7 @@ SUNW_1.1 {
kvm_write;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
kvm_aread;
kvm_awrite;
diff --git a/usr/src/lib/libldap4/common/mapfile-vers b/usr/src/lib/libldap4/common/mapfile-vers
index c1774dfd94..66b2a61087 100644
--- a/usr/src/lib/libldap4/common/mapfile-vers
+++ b/usr/src/lib/libldap4/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
ber_alloc;
ber_get_int;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
ber_alloc_t;
ber_bvdup;
@@ -212,7 +213,7 @@ SUNW_1.1 {
set_ber_options;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
i18n_catopen;
ldap_create_page_control;
diff --git a/usr/src/lib/libldap5/mapfile-vers b/usr/src/lib/libldap5/mapfile-vers
index 7281f71d40..4215dff088 100644
--- a/usr/src/lib/libldap5/mapfile-vers
+++ b/usr/src/lib/libldap5/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,17 +36,19 @@
# MAPFILE HEADER END
#
-SUNW_5.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_5.2 {
global:
ldap_sasl_interactive_bind_s;
} SUNW_5.1.1;
-SUNW_5.1.1 {
+SYMBOL_VERSION SUNW_5.1.1 {
global:
ldap_url_parse_nodn;
} SUNW_5.1;
-SUNW_5.1 {
+SYMBOL_VERSION SUNW_5.1 {
global:
ber_alloc;
ber_alloc_t;
@@ -221,7 +222,7 @@ SUNW_5.1 {
ldap_version;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ldap_charray_add;
ldap_charray_dup;
diff --git a/usr/src/lib/liblgrp/common/mapfile-vers b/usr/src/lib/liblgrp/common/mapfile-vers
index 04f497621b..295bf409de 100644
--- a/usr/src/lib/liblgrp/common/mapfile-vers
+++ b/usr/src/lib/liblgrp/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
lgrp_latency_cookie;
lgrp_resources;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
lgrp_affinity_get;
lgrp_affinity_set;
diff --git a/usr/src/lib/liblm/common/mapfile-vers b/usr/src/lib/liblm/common/mapfile-vers
index 27720cba6e..5b6ca6dbdc 100644
--- a/usr/src/lib/liblm/common/mapfile-vers
+++ b/usr/src/lib/liblm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
lm_shutdown;
local:
diff --git a/usr/src/lib/libmail/amd64/Makefile b/usr/src/lib/libmail/amd64/Makefile
index f69d11f706..8c194611ae 100644
--- a/usr/src/lib/libmail/amd64/Makefile
+++ b/usr/src/lib/libmail/amd64/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 =
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmail/common/mapfile-vers b/usr/src/lib/libmail/common/mapfile-vers
index a7bcd91b27..bb30491aed 100644
--- a/usr/src/lib/libmail/common/mapfile-vers
+++ b/usr/src/lib/libmail/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,14 +36,16 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
maillock;
mailunlock;
touchlock;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
casncmp;
copystream;
@@ -59,6 +60,27 @@ SUNWprivate_1.1 {
Xgetenv;
xgetenv;
xsetenv;
+
+$if _ELF32 # only for 32-bit applications
+ abspath;
+ notify;
+ s_append;
+ s_array;
+ s_copy;
+ setup_exec;
+ s_free;
+ s_grow;
+ s_new;
+ s_parse;
+ s_read_line;
+ s_read_to_eof;
+ s_seq_read;
+ s_skipwhite;
+ s_tok;
+ s_tolower;
+ systemvp;
+$endif
+
local:
*;
};
diff --git a/usr/src/lib/libmail/common/mapfile32-vers b/usr/src/lib/libmail/common/mapfile32-vers
deleted file mode 100644
index 87bd845f02..0000000000
--- a/usr/src/lib/libmail/common/mapfile32-vers
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 { # only for 32-bit applications
- global:
- abspath;
- notify;
- s_append;
- s_array;
- s_copy;
- setup_exec;
- s_free;
- s_grow;
- s_new;
- s_parse;
- s_read_line;
- s_read_to_eof;
- s_seq_read;
- s_skipwhite;
- s_tok;
- s_tolower;
- systemvp;
-};
diff --git a/usr/src/lib/libmail/i386/Makefile b/usr/src/lib/libmail/i386/Makefile
index a579a6b1b6..b2ea017616 100644
--- a/usr/src/lib/libmail/i386/Makefile
+++ b/usr/src/lib/libmail/i386/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libmail/sparc/Makefile b/usr/src/lib/libmail/sparc/Makefile
index a579a6b1b6..b2ea017616 100644
--- a/usr/src/lib/libmail/sparc/Makefile
+++ b/usr/src/lib/libmail/sparc/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libmail/sparcv9/Makefile b/usr/src/lib/libmail/sparcv9/Makefile
index f69d11f706..32a3d0d45f 100644
--- a/usr/src/lib/libmail/sparcv9/Makefile
+++ b/usr/src/lib/libmail/sparcv9/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 =
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmalloc/common/mapfile-vers b/usr/src/lib/libmalloc/common/mapfile-vers
index 40abcf8138..8674e97263 100644
--- a/usr/src/lib/libmalloc/common/mapfile-vers
+++ b/usr/src/lib/libmalloc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,24 +36,26 @@
# MAPFILE HEADER END
#
-SUNW_1.1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1.1 {
global:
- memalign = NODIRECT;
- valloc = NODIRECT;
+ memalign { FLAGS = NODIRECT };
+ valloc { FLAGS = NODIRECT };
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
- calloc = NODIRECT;
- cfree = NODIRECT;
- free = NODIRECT;
- mallinfo = NODIRECT;
- malloc = NODIRECT;
- mallopt = NODIRECT;
- realloc = NODIRECT;
+ calloc { FLAGS = NODIRECT };
+ cfree { FLAGS = NODIRECT };
+ free { FLAGS = NODIRECT };
+ mallinfo { FLAGS = NODIRECT };
+ malloc { FLAGS = NODIRECT };
+ mallopt { FLAGS = NODIRECT };
+ realloc { FLAGS = NODIRECT };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/libmapid/common/mapfile-vers b/usr/src/lib/libmapid/common/mapfile-vers
index 8c7b461866..be8942848e 100644
--- a/usr/src/lib/libmapid/common/mapfile-vers
+++ b/usr/src/lib/libmapid/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
mapid_derive_domain;
mapid_get_domain;
diff --git a/usr/src/lib/libmapmalloc/common/mapfile-vers b/usr/src/lib/libmapmalloc/common/mapfile-vers
index 5cdbb18ee5..ee1becd4e2 100644
--- a/usr/src/lib/libmapmalloc/common/mapfile-vers
+++ b/usr/src/lib/libmapmalloc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,23 +40,25 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
- calloc = NODIRECT;
- cfree = NODIRECT;
- free = NODIRECT;
- malloc = NODIRECT;
- memalign = NODIRECT;
- realloc = NODIRECT;
- valloc = NODIRECT;
+ calloc { FLAGS = NODIRECT };
+ cfree { FLAGS = NODIRECT };
+ free { FLAGS = NODIRECT };
+ malloc { FLAGS = NODIRECT };
+ memalign { FLAGS = NODIRECT };
+ realloc { FLAGS = NODIRECT };
+ valloc { FLAGS = NODIRECT };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/libmd/common/mapfile-vers b/usr/src/lib/libmd/common/mapfile-vers
index e81bb0e144..a70144e833 100644
--- a/usr/src/lib/libmd/common/mapfile-vers
+++ b/usr/src/lib/libmd/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,6 +36,8 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# Note:
#
# SHA256Update, SHA384Update, and SHA512Update are all
@@ -50,30 +51,30 @@
#
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
MD4Final;
MD4Init;
MD4Update;
md5_calc;
- MD5Final = NODIRECT; # Address interposition from testsuite
- MD5Init = NODIRECT; # Address interposition from testsuite
- MD5Update = NODIRECT; # Address interposition from testsuite
+ MD5Final { FLAGS = NODIRECT }; # Addr interpose from testsuite
+ MD5Init { FLAGS = NODIRECT }; # Addr interpose from testsuite
+ MD5Update { FLAGS = NODIRECT }; # Addr interpose from testsuite
SHA1Final;
SHA1Init;
SHA1Update;
- SHA256Final = NODYNSORT;
+ SHA256Final { FLAGS = NODYNSORT };
SHA256Init;
- SHA256Update = NODYNSORT;
+ SHA256Update { FLAGS = NODYNSORT };
SHA2Final;
SHA2Init;
SHA2Update;
- SHA384Final = NODYNSORT;
+ SHA384Final { FLAGS = NODYNSORT };
SHA384Init;
- SHA384Update = NODYNSORT;
- SHA512Final = NODYNSORT;
+ SHA384Update { FLAGS = NODYNSORT };
+ SHA512Final { FLAGS = NODYNSORT };
SHA512Init;
- SHA512Update = NODYNSORT;
+ SHA512Update { FLAGS = NODYNSORT };
local:
*;
};
diff --git a/usr/src/lib/libmd/sun4u/sparc/mapfile b/usr/src/lib/libmd/sun4u/sparc/mapfile
index 1296d47fb6..535acc1fb3 100644
--- a/usr/src/lib/libmd/sun4u/sparc/mapfile
+++ b/usr/src/lib/libmd/sun4u/sparc/mapfile
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
MD5Init;
MD5Update;
diff --git a/usr/src/lib/libmd/sun4u/sparcv9/mapfile b/usr/src/lib/libmd/sun4u/sparcv9/mapfile
index 1296d47fb6..535acc1fb3 100644
--- a/usr/src/lib/libmd/sun4u/sparcv9/mapfile
+++ b/usr/src/lib/libmd/sun4u/sparcv9/mapfile
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
MD5Init;
MD5Update;
diff --git a/usr/src/lib/libmd/sun4v/sparc/mapfile b/usr/src/lib/libmd/sun4v/sparc/mapfile
index 6c69797780..cfec084689 100644
--- a/usr/src/lib/libmd/sun4v/sparc/mapfile
+++ b/usr/src/lib/libmd/sun4v/sparc/mapfile
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
MD5Init;
MD5Update;
diff --git a/usr/src/lib/libmd/sun4v/sparcv9/mapfile b/usr/src/lib/libmd/sun4v/sparcv9/mapfile
index 6c69797780..cfec084689 100644
--- a/usr/src/lib/libmd/sun4v/sparcv9/mapfile
+++ b/usr/src/lib/libmd/sun4v/sparcv9/mapfile
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
MD5Init;
MD5Update;
diff --git a/usr/src/lib/libmd5/common/mapfile-vers b/usr/src/lib/libmd5/common/mapfile-vers
index 178b540159..f4493ce14c 100644
--- a/usr/src/lib/libmd5/common/mapfile-vers
+++ b/usr/src/lib/libmd5/common/mapfile-vers
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -46,10 +45,12 @@
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
- MD5Init = FUNCTION;
- MD5Update = FUNCTION;
- MD5Final = FUNCTION;
- md5_calc = FUNCTION;
+ MD5Init { TYPE = FUNCTION };
+ MD5Update { TYPE = FUNCTION };
+ MD5Final { TYPE = FUNCTION };
+ md5_calc { TYPE = FUNCTION };
};
diff --git a/usr/src/lib/libmp/common/mapfile-vers b/usr/src/lib/libmp/common/mapfile-vers
index 382ad7c1af..729c9dd029 100644
--- a/usr/src/lib/libmp/common/mapfile-vers
+++ b/usr/src/lib/libmp/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
mp_gcd;
mp_itom;
@@ -57,7 +58,7 @@ SUNW_1.1 {
mp_xtom;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_mp_move;
_mp_xalloc;
diff --git a/usr/src/lib/libmp/common/mapfile_1-vers b/usr/src/lib/libmp/common/mapfile_1-vers
index b746a24eef..01276e6510 100644
--- a/usr/src/lib/libmp/common/mapfile_1-vers
+++ b/usr/src/lib/libmp/common/mapfile_1-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
gcd;
itom;
@@ -57,7 +58,7 @@ SUNW_1.1 {
xtom;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_lib_version;
xalloc;
diff --git a/usr/src/lib/libmtmalloc/common/mapfile-vers b/usr/src/lib/libmtmalloc/common/mapfile-vers
index 25ad169daa..afeedfc9b4 100644
--- a/usr/src/lib/libmtmalloc/common/mapfile-vers
+++ b/usr/src/lib/libmtmalloc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,22 +36,24 @@
# MAPFILE HEADER END
#
-SUNW_1.1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1.1 {
global:
- calloc = NODIRECT;
+ calloc { FLAGS = NODIRECT };
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
- free = NODIRECT;
- malloc = NODIRECT;
- mallocctl = NODIRECT;
- memalign = NODIRECT;
- realloc = NODIRECT;
- valloc = NODIRECT;
+ free { FLAGS = NODIRECT };
+ malloc { FLAGS = NODIRECT };
+ mallocctl { FLAGS = NODIRECT };
+ memalign { FLAGS = NODIRECT };
+ realloc { FLAGS = NODIRECT };
+ valloc { FLAGS = NODIRECT };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/libndmp/common/mapfile-vers b/usr/src/lib/libndmp/common/mapfile-vers
index d28269ebad..84604dd12d 100644
--- a/usr/src/lib/libndmp/common/mapfile-vers
+++ b/usr/src/lib/libndmp/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -51,7 +50,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ndmp_get_devinfo;
ndmp_get_devinfo_free;
diff --git a/usr/src/lib/libnisdb/mapfile-vers b/usr/src/lib/libnisdb/mapfile-vers
index 6645e81890..15a6129269 100644
--- a/usr/src/lib/libnisdb/mapfile-vers
+++ b/usr/src/lib/libnisdb/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,16 +36,18 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# Due to mistakes made early in the history of this library, there are
# no SUNW_2.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_2.1 {
+SYMBOL_VERSION SUNW_2.1 {
global:
SUNW_2.1;
};
-SUNWprivate_2.1 {
+SYMBOL_VERSION SUNWprivate_2.1 {
global:
abort_transaction;
addUpdate;
diff --git a/usr/src/lib/libnls/common/mapfile-vers b/usr/src/lib/libnls/common/mapfile-vers
index d4d49c5e7d..2b1f174884 100644
--- a/usr/src/lib/libnls/common/mapfile-vers
+++ b/usr/src/lib/libnls/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,14 +36,16 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
nlsgetcall;
nlsprovider;
nlsrequest;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_lib_version;
nlsc2addr;
diff --git a/usr/src/lib/libnsctl/common/mapfile-vers b/usr/src/lib/libnsctl/common/mapfile-vers
index c29ddbd6b1..eb399179e2 100644
--- a/usr/src/lib/libnsctl/common/mapfile-vers
+++ b/usr/src/lib/libnsctl/common/mapfile-vers
@@ -17,8 +17,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -35,11 +34,13 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Generic interface definition for usr/src/lib/libnsctl.
#
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nsc_nocheck;
nsc_check_release;
diff --git a/usr/src/lib/libnsl/Makefile.com b/usr/src/lib/libnsl/Makefile.com
index e49cd09409..cea06c2c54 100644
--- a/usr/src/lib/libnsl/Makefile.com
+++ b/usr/src/lib/libnsl/Makefile.com
@@ -166,7 +166,6 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR= ../common
-MAPFILES += mapfile-vers
# Override the position-independent code generation flags.
#
diff --git a/usr/src/lib/libnsl/amd64/mapfile-vers b/usr/src/lib/libnsl/amd64/mapfile-vers
deleted file mode 100644
index af7da82c7c..0000000000
--- a/usr/src/lib/libnsl/amd64/mapfile-vers
+++ /dev/null
@@ -1,187 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- authdes_getucred;
- authdes_seccreate;
- authnone_create;
- authsys_create;
- authsys_create_default;
- clnt_create;
- clnt_dg_create;
- clnt_pcreateerror;
- clnt_perrno;
- clnt_perror;
- clnt_raw_create;
- clnt_spcreateerror;
- clnt_sperrno;
- clnt_sperror;
- clnt_tli_create;
- clnt_tp_create;
- clnt_vc_create;
- endnetconfig;
- endnetpath;
- freenetconfigent;
- gethostbyaddr;
- gethostbyname;
- getnetconfig;
- getnetconfigent;
- getnetname;
- getnetpath;
- getpublickey;
- getsecretkey;
- host2netname;
- inet_addr;
- inet_netof;
- inet_ntoa;
- key_decryptsession;
- key_encryptsession;
- key_gendes;
- key_setsecret;
- nc_perror;
- _nderror;
- netdir_free;
- netdir_getbyaddr;
- netdir_getbyname;
- netdir_options;
- netname2host;
- netname2user;
- _null_auth;
- rpcb_getaddr;
- rpcb_getmaps;
- rpcb_gettime;
- rpcb_rmtcall;
- rpc_broadcast;
- rpc_broadcast_exp;
- rpcb_set;
- rpcb_unset;
- rpc_call;
- rpc_createerr;
- __rpc_createerr;
- rpc_reg;
- setnetconfig;
- setnetpath;
- svc_create;
- svc_dg_create;
- svcerr_auth;
- svcerr_decode;
- svcerr_noproc;
- svcerr_noprog;
- svcerr_progvers;
- svcerr_systemerr;
- svcerr_weakauth;
- svc_exit;
- svc_fd_create;
- svc_fdset;
- svc_getreqset;
- svc_raw_create;
- svc_reg;
- svc_run;
- svc_sendreply;
- svc_tli_create;
- svc_tp_create;
- svc_unreg;
- svc_vc_create;
- t_accept;
- taddr2uaddr;
- t_alloc;
- t_bind;
- t_close;
- t_connect;
- t_errno;
- t_error;
- t_free;
- t_getinfo;
- t_getstate;
- t_listen;
- t_look;
- t_open;
- t_optmgmt;
- t_rcv;
- t_rcvconnect;
- t_rcvdis;
- t_rcvrel;
- t_rcvudata;
- t_rcvuderr;
- t_snd;
- t_snddis;
- t_sndrel;
- t_sndudata;
- t_sync;
- t_unbind;
- uaddr2taddr;
- user2netname;
- xdr_accepted_reply;
- xdr_array;
- xdr_authsys_parms;
- xdr_bool;
- xdr_bytes;
- xdr_callhdr;
- xdr_callmsg;
- xdr_char;
- xdr_double;
- xdr_enum;
- xdr_float;
- xdr_free;
- xdr_int;
- xdr_long;
- xdrmem_create;
- xdr_opaque;
- xdr_opaque_auth;
- xdr_pointer;
- xdrrec_create;
- xdrrec_eof;
- xdrrec_skiprecord;
- xdr_reference;
- xdr_rejected_reply;
- xdr_replymsg;
- xdr_short;
- xdrstdio_create;
- xdr_string;
- xdr_u_char;
- xdr_u_long;
- xdr_union;
- xdr_u_short;
- xdr_vector;
- xdr_void;
- xdr_wrapstring;
- xprt_register;
- xprt_unregister;
-};
diff --git a/usr/src/lib/libnsl/common/mapfile-vers b/usr/src/lib/libnsl/common/mapfile-vers
index 528c9df4aa..f150c1e905 100644
--- a/usr/src/lib/libnsl/common/mapfile-vers
+++ b/usr/src/lib/libnsl/common/mapfile-vers
@@ -37,17 +37,19 @@
# MAPFILE HEADER END
#
-SUNW_1.10 { # SunOS 5.11 (Solaris 11)
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.10 { # SunOS 5.11 (Solaris 11)
global:
SUNW_1.10;
} SUNW_1.9.1;
-SUNW_1.9.1 { # SunOS 5.10 (Solaris 10 update 5)
+SYMBOL_VERSION SUNW_1.9.1 { # SunOS 5.10 (Solaris 10 update 5)
global:
inet_aton;
} SUNW_1.9;
-SUNW_1.9 { # SunOS 5.10 (Solaris 10)
+SYMBOL_VERSION SUNW_1.9 { # SunOS 5.10 (Solaris 10)
global:
freeipsecalgent;
getipsecalgbyname;
@@ -58,14 +60,14 @@ SUNW_1.9 { # SunOS 5.10 (Solaris 10)
svc_getcallerucred;
} SUNW_1.8;
-SUNW_1.8 { # SunOS 5.9 (Solaris 9)
+SYMBOL_VERSION SUNW_1.8 { # SunOS 5.9 (Solaris 9)
global:
clnt_send;
svc_add_input;
svc_remove_input;
} SUNW_1.7;
-SUNW_1.7 { # SunOS 5.8 (Solaris 8)
+SYMBOL_VERSION SUNW_1.7 { # SunOS 5.8 (Solaris 8)
global:
freehostent;
getipnodebyaddr;
@@ -74,7 +76,7 @@ SUNW_1.7 { # SunOS 5.8 (Solaris 8)
inet_pton;
} SUNW_1.6;
-SUNW_1.6 { # SunOS 5.7 (Solaris 7)
+SYMBOL_VERSION SUNW_1.6 { # SunOS 5.7 (Solaris 7)
global:
_xti_rcvreldata;
_xti_rcvv;
@@ -91,30 +93,33 @@ SUNW_1.6 { # SunOS 5.7 (Solaris 7)
# applications built on Solaris 2.6 Beta (when they did contain symbols)
# may depend on them. All symbol content for SunOS 5.6 is now in SUNW_1.1
-SUNW_1.5 {
+SYMBOL_VERSION SUNW_1.5 {
global:
SUNW_1.5;
} SUNW_1.4;
-SUNW_1.4 {
+SYMBOL_VERSION SUNW_1.4 {
global:
SUNW_1.4;
} SUNW_1.3;
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
global:
SUNW_1.3;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
+SYMBOL_VERSION SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
global:
clnt_create_vers_timed;
clnt_door_create;
+$if _ELF32
+ _new_svc_fdset;
+$endif
rpc_gss_getcred;
rpc_gss_get_error;
rpc_gss_get_mechanisms;
@@ -162,20 +167,30 @@ SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
_xti_unbind;
} SUNW_0.9;
-SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
+SYMBOL_VERSION SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
global:
clnt_create_timed;
clnt_tp_create_timed;
getrpcport;
} SUNW_0.8;
-SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
+SYMBOL_VERSION SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
global:
rpc_control;
svc_done;
} SUNW_0.7;
-SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
+# SUNW_0.7 is complicated by ABI issues:
+#
+# - On 32-bit sparc, SUNW_0.7 contains __rpc_createerr and svc_exit, and
+# inherits everyting else from SISCD_2.3, which in turn inherits from
+# SYSVABI_1.3.
+# - On 32-bit X86, there is no SISCD_2.3, the symbols it contained are
+# instead found in SUNW_0.7, which directly inherits SYSVABI_1.3.
+# - The other platforms do not have SISCD_2.3, or SYSVABI_1.3, and everything
+# is directly found in in SUNW_0.7, which does not inherit anything.
+#
+SYMBOL_VERSION SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
global:
authdes_create;
authdes_lock;
@@ -213,7 +228,7 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
getrpcbynumber_r;
getrpcent;
getrpcent_r;
- h_errno = NODIRECT;
+ h_errno { FLAGS = NODIRECT };
inet_ntoa_r;
key_secretkey_is_set;
maxbno;
@@ -237,6 +252,7 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
pmap_set;
pmap_unset;
registerrpc;
+ __rpc_createerr;
sethostent;
setrpcent;
store;
@@ -245,6 +261,7 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
svc_destroy;
svc_dg_enablecache;
svcfd_create;
+ svc_exit;
svc_freeargs;
svc_getargs;
svc_getreq;
@@ -287,17 +304,173 @@ SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
ypprot_err;
yp_unbind;
yp_update;
+$if _sparc && _ELF32
+} SISCD_2.3;
+
+SYMBOL_VERSION SISCD_2.3 {
+ global:
+$endif
+ gethostbyaddr;
+ gethostbyname;
+ inet_addr;
+ inet_netof;
+ inet_ntoa;
+ _null_auth;
+ rpc_broadcast_exp;
+ svc_fdset;
+$if _ELF32
+} SYSVABI_1.3;
+
+SYMBOL_VERSION SYSVABI_1.3 {
+ global:
+$endif
+ authdes_getucred;
+ authdes_seccreate;
+ authnone_create;
+ authsys_create;
+ authsys_create_default;
+ clnt_create;
+ clnt_dg_create;
+ clnt_pcreateerror;
+ clnt_perrno;
+ clnt_perror;
+ clnt_raw_create;
+ clnt_spcreateerror;
+ clnt_sperrno;
+ clnt_sperror;
+ clnt_tli_create;
+ clnt_tp_create;
+ clnt_vc_create;
+ endnetconfig;
+ endnetpath;
+ freenetconfigent;
+ getnetconfig;
+ getnetconfigent;
+ getnetname;
+ getnetpath;
+ getpublickey;
+ getsecretkey;
+ host2netname;
+ key_decryptsession;
+ key_encryptsession;
+ key_gendes;
+ key_setsecret;
+ nc_perror;
+ _nderror;
+ netdir_free;
+ netdir_getbyaddr;
+ netdir_getbyname;
+ netdir_options;
+ netname2host;
+ netname2user;
+ rpcb_getaddr;
+ rpcb_getmaps;
+ rpcb_gettime;
+ rpcb_rmtcall;
+ rpc_broadcast;
+ rpcb_set;
+ rpcb_unset;
+ rpc_call;
+ rpc_createerr;
+ rpc_reg;
+ setnetconfig;
+ setnetpath;
+ svc_create;
+ svc_dg_create;
+ svcerr_auth;
+ svcerr_decode;
+ svcerr_noproc;
+ svcerr_noprog;
+ svcerr_progvers;
+ svcerr_systemerr;
+ svcerr_weakauth;
+ svc_fd_create;
+ svc_getreqset;
+ svc_raw_create;
+ svc_reg;
+ svc_run;
+ svc_sendreply;
+ svc_tli_create;
+ svc_tp_create;
+ svc_unreg;
+ svc_vc_create;
+ t_accept;
+ taddr2uaddr;
+ t_alloc;
+ t_bind;
+ t_close;
+ t_connect;
+ t_errno;
+ t_error;
+ t_free;
+ t_getinfo;
+ t_getstate;
+ t_listen;
+ t_look;
+ t_open;
+ t_optmgmt;
+ t_rcv;
+ t_rcvconnect;
+ t_rcvdis;
+ t_rcvrel;
+ t_rcvudata;
+ t_rcvuderr;
+ t_snd;
+ t_snddis;
+ t_sndrel;
+ t_sndudata;
+ t_sync;
+ t_unbind;
+ uaddr2taddr;
+ user2netname;
+ xdr_accepted_reply;
+ xdr_array;
+ xdr_authsys_parms;
+ xdr_bool;
+ xdr_bytes;
+ xdr_callhdr;
+ xdr_callmsg;
+ xdr_char;
+ xdr_double;
+ xdr_enum;
+ xdr_float;
+ xdr_free;
+ xdr_int;
+ xdr_long;
+ xdrmem_create;
+ xdr_opaque;
+ xdr_opaque_auth;
+ xdr_pointer;
+ xdrrec_create;
+ xdrrec_eof;
+ xdrrec_skiprecord;
+ xdr_reference;
+ xdr_rejected_reply;
+ xdr_replymsg;
+ xdr_short;
+ xdrstdio_create;
+ xdr_string;
+ xdr_u_char;
+ xdr_u_long;
+ xdr_union;
+ xdr_u_short;
+ xdr_vector;
+ xdr_void;
+ xdr_wrapstring;
+ xprt_register;
+ xprt_unregister;
};
+
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.5
-SUNWprivate_1.5 {
+SYMBOL_VERSION SUNWprivate_1.5 {
global:
clnt_create_service_timed;
} SUNWprivate_1.4;
-SUNWprivate_1.4 {
+SYMBOL_VERSION SUNWprivate_1.4 {
global:
_build_internal_algs;
_check_daemon_lock;
@@ -312,7 +485,7 @@ SUNWprivate_1.4 {
__yp_all_cflookup;
} SUNWprivate_1.3;
-SUNWprivate_1.3 {
+SYMBOL_VERSION SUNWprivate_1.3 {
global:
key_call_ruid;
key_removesecret_g_ruid;
@@ -321,7 +494,7 @@ SUNWprivate_1.3 {
key_setnet_ruid;
} SUNWprivate_1.2;
-SUNWprivate_1.2 {
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
_doexeclist;
_dup_execstr;
@@ -371,7 +544,7 @@ SUNWprivate_1.2 {
__yp_next_cflookup;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__authenticate;
bitno;
@@ -393,7 +566,7 @@ SUNWprivate_1.1 {
__gen_dhkeys;
__gen_dhkeys_g;
getdomainname;
- gethostname = FUNCTION FILTER libc.so.1;
+ gethostname { TYPE = FUNCTION; FILTER = libc.so.1 };
_get_hostserv_inetnetdir_byaddr;
_get_hostserv_inetnetdir_byname;
__getnetnamebyuid;
diff --git a/usr/src/lib/libnsl/i386/mapfile-vers b/usr/src/lib/libnsl/i386/mapfile-vers
deleted file mode 100644
index 1045a31cbe..0000000000
--- a/usr/src/lib/libnsl/i386/mapfile-vers
+++ /dev/null
@@ -1,196 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.1 {
- global:
- _new_svc_fdset;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- gethostbyaddr;
- gethostbyname;
- inet_addr;
- inet_netof;
- inet_ntoa;
- _null_auth;
- rpc_broadcast_exp;
- __rpc_createerr;
- svc_exit;
- svc_fdset;
-} SYSVABI_1.3;
-
-SYSVABI_1.3 {
- global:
- authdes_getucred;
- authdes_seccreate;
- authnone_create;
- authsys_create;
- authsys_create_default;
- clnt_create;
- clnt_dg_create;
- clnt_pcreateerror;
- clnt_perrno;
- clnt_perror;
- clnt_raw_create;
- clnt_spcreateerror;
- clnt_sperrno;
- clnt_sperror;
- clnt_tli_create;
- clnt_tp_create;
- clnt_vc_create;
- endnetconfig;
- endnetpath;
- freenetconfigent;
- getnetconfig;
- getnetconfigent;
- getnetname;
- getnetpath;
- getpublickey;
- getsecretkey;
- host2netname;
- key_decryptsession;
- key_encryptsession;
- key_gendes;
- key_setsecret;
- nc_perror;
- _nderror;
- netdir_free;
- netdir_getbyaddr;
- netdir_getbyname;
- netdir_options;
- netname2host;
- netname2user;
- rpcb_getaddr;
- rpcb_getmaps;
- rpcb_gettime;
- rpcb_rmtcall;
- rpc_broadcast;
- rpcb_set;
- rpcb_unset;
- rpc_call;
- rpc_createerr;
- rpc_reg;
- setnetconfig;
- setnetpath;
- svc_create;
- svc_dg_create;
- svcerr_auth;
- svcerr_decode;
- svcerr_noproc;
- svcerr_noprog;
- svcerr_progvers;
- svcerr_systemerr;
- svcerr_weakauth;
- svc_fd_create;
- svc_getreqset;
- svc_raw_create;
- svc_reg;
- svc_run;
- svc_sendreply;
- svc_tli_create;
- svc_tp_create;
- svc_unreg;
- svc_vc_create;
- t_accept;
- taddr2uaddr;
- t_alloc;
- t_bind;
- t_close;
- t_connect;
- t_errno;
- t_error;
- t_free;
- t_getinfo;
- t_getstate;
- t_listen;
- t_look;
- t_open;
- t_optmgmt;
- t_rcv;
- t_rcvconnect;
- t_rcvdis;
- t_rcvrel;
- t_rcvudata;
- t_rcvuderr;
- t_snd;
- t_snddis;
- t_sndrel;
- t_sndudata;
- t_sync;
- t_unbind;
- uaddr2taddr;
- user2netname;
- xdr_accepted_reply;
- xdr_array;
- xdr_authsys_parms;
- xdr_bool;
- xdr_bytes;
- xdr_callhdr;
- xdr_callmsg;
- xdr_char;
- xdr_double;
- xdr_enum;
- xdr_float;
- xdr_free;
- xdr_int;
- xdr_long;
- xdrmem_create;
- xdr_opaque;
- xdr_opaque_auth;
- xdr_pointer;
- xdrrec_create;
- xdrrec_eof;
- xdrrec_skiprecord;
- xdr_reference;
- xdr_rejected_reply;
- xdr_replymsg;
- xdr_short;
- xdrstdio_create;
- xdr_string;
- xdr_u_char;
- xdr_u_long;
- xdr_union;
- xdr_u_short;
- xdr_vector;
- xdr_void;
- xdr_wrapstring;
- xprt_register;
- xprt_unregister;
-};
diff --git a/usr/src/lib/libnsl/sparc/mapfile-vers b/usr/src/lib/libnsl/sparc/mapfile-vers
deleted file mode 100644
index c3310f8a4b..0000000000
--- a/usr/src/lib/libnsl/sparc/mapfile-vers
+++ /dev/null
@@ -1,200 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.1 {
- global:
- _new_svc_fdset;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- __rpc_createerr;
- svc_exit;
-} SISCD_2.3;
-
-SISCD_2.3 {
- global:
- gethostbyaddr;
- gethostbyname;
- inet_addr;
- inet_netof;
- inet_ntoa;
- _null_auth;
- rpc_broadcast_exp;
- svc_fdset;
-} SYSVABI_1.3;
-
-SYSVABI_1.3 {
- global:
- authdes_getucred;
- authdes_seccreate;
- authnone_create;
- authsys_create;
- authsys_create_default;
- clnt_create;
- clnt_dg_create;
- clnt_pcreateerror;
- clnt_perrno;
- clnt_perror;
- clnt_raw_create;
- clnt_spcreateerror;
- clnt_sperrno;
- clnt_sperror;
- clnt_tli_create;
- clnt_tp_create;
- clnt_vc_create;
- endnetconfig;
- endnetpath;
- freenetconfigent;
- getnetconfig;
- getnetconfigent;
- getnetname;
- getnetpath;
- getpublickey;
- getsecretkey;
- host2netname;
- key_decryptsession;
- key_encryptsession;
- key_gendes;
- key_setsecret;
- nc_perror;
- _nderror;
- netdir_free;
- netdir_getbyaddr;
- netdir_getbyname;
- netdir_options;
- netname2host;
- netname2user;
- rpcb_getaddr;
- rpcb_getmaps;
- rpcb_gettime;
- rpcb_rmtcall;
- rpc_broadcast;
- rpcb_set;
- rpcb_unset;
- rpc_call;
- rpc_createerr;
- rpc_reg;
- setnetconfig;
- setnetpath;
- svc_create;
- svc_dg_create;
- svcerr_auth;
- svcerr_decode;
- svcerr_noproc;
- svcerr_noprog;
- svcerr_progvers;
- svcerr_systemerr;
- svcerr_weakauth;
- svc_fd_create;
- svc_getreqset;
- svc_raw_create;
- svc_reg;
- svc_run;
- svc_sendreply;
- svc_tli_create;
- svc_tp_create;
- svc_unreg;
- svc_vc_create;
- t_accept;
- taddr2uaddr;
- t_alloc;
- t_bind;
- t_close;
- t_connect;
- t_errno;
- t_error;
- t_free;
- t_getinfo;
- t_getstate;
- t_listen;
- t_look;
- t_open;
- t_optmgmt;
- t_rcv;
- t_rcvconnect;
- t_rcvdis;
- t_rcvrel;
- t_rcvudata;
- t_rcvuderr;
- t_snd;
- t_snddis;
- t_sndrel;
- t_sndudata;
- t_sync;
- t_unbind;
- uaddr2taddr;
- user2netname;
- xdr_accepted_reply;
- xdr_array;
- xdr_authsys_parms;
- xdr_bool;
- xdr_bytes;
- xdr_callhdr;
- xdr_callmsg;
- xdr_char;
- xdr_double;
- xdr_enum;
- xdr_float;
- xdr_free;
- xdr_int;
- xdr_long;
- xdrmem_create;
- xdr_opaque;
- xdr_opaque_auth;
- xdr_pointer;
- xdrrec_create;
- xdrrec_eof;
- xdrrec_skiprecord;
- xdr_reference;
- xdr_rejected_reply;
- xdr_replymsg;
- xdr_short;
- xdrstdio_create;
- xdr_string;
- xdr_u_char;
- xdr_u_long;
- xdr_union;
- xdr_u_short;
- xdr_vector;
- xdr_void;
- xdr_wrapstring;
- xprt_register;
- xprt_unregister;
-};
diff --git a/usr/src/lib/libnsl/sparcv9/mapfile-vers b/usr/src/lib/libnsl/sparcv9/mapfile-vers
deleted file mode 100644
index af7da82c7c..0000000000
--- a/usr/src/lib/libnsl/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,187 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- authdes_getucred;
- authdes_seccreate;
- authnone_create;
- authsys_create;
- authsys_create_default;
- clnt_create;
- clnt_dg_create;
- clnt_pcreateerror;
- clnt_perrno;
- clnt_perror;
- clnt_raw_create;
- clnt_spcreateerror;
- clnt_sperrno;
- clnt_sperror;
- clnt_tli_create;
- clnt_tp_create;
- clnt_vc_create;
- endnetconfig;
- endnetpath;
- freenetconfigent;
- gethostbyaddr;
- gethostbyname;
- getnetconfig;
- getnetconfigent;
- getnetname;
- getnetpath;
- getpublickey;
- getsecretkey;
- host2netname;
- inet_addr;
- inet_netof;
- inet_ntoa;
- key_decryptsession;
- key_encryptsession;
- key_gendes;
- key_setsecret;
- nc_perror;
- _nderror;
- netdir_free;
- netdir_getbyaddr;
- netdir_getbyname;
- netdir_options;
- netname2host;
- netname2user;
- _null_auth;
- rpcb_getaddr;
- rpcb_getmaps;
- rpcb_gettime;
- rpcb_rmtcall;
- rpc_broadcast;
- rpc_broadcast_exp;
- rpcb_set;
- rpcb_unset;
- rpc_call;
- rpc_createerr;
- __rpc_createerr;
- rpc_reg;
- setnetconfig;
- setnetpath;
- svc_create;
- svc_dg_create;
- svcerr_auth;
- svcerr_decode;
- svcerr_noproc;
- svcerr_noprog;
- svcerr_progvers;
- svcerr_systemerr;
- svcerr_weakauth;
- svc_exit;
- svc_fd_create;
- svc_fdset;
- svc_getreqset;
- svc_raw_create;
- svc_reg;
- svc_run;
- svc_sendreply;
- svc_tli_create;
- svc_tp_create;
- svc_unreg;
- svc_vc_create;
- t_accept;
- taddr2uaddr;
- t_alloc;
- t_bind;
- t_close;
- t_connect;
- t_errno;
- t_error;
- t_free;
- t_getinfo;
- t_getstate;
- t_listen;
- t_look;
- t_open;
- t_optmgmt;
- t_rcv;
- t_rcvconnect;
- t_rcvdis;
- t_rcvrel;
- t_rcvudata;
- t_rcvuderr;
- t_snd;
- t_snddis;
- t_sndrel;
- t_sndudata;
- t_sync;
- t_unbind;
- uaddr2taddr;
- user2netname;
- xdr_accepted_reply;
- xdr_array;
- xdr_authsys_parms;
- xdr_bool;
- xdr_bytes;
- xdr_callhdr;
- xdr_callmsg;
- xdr_char;
- xdr_double;
- xdr_enum;
- xdr_float;
- xdr_free;
- xdr_int;
- xdr_long;
- xdrmem_create;
- xdr_opaque;
- xdr_opaque_auth;
- xdr_pointer;
- xdrrec_create;
- xdrrec_eof;
- xdrrec_skiprecord;
- xdr_reference;
- xdr_rejected_reply;
- xdr_replymsg;
- xdr_short;
- xdrstdio_create;
- xdr_string;
- xdr_u_char;
- xdr_u_long;
- xdr_union;
- xdr_u_short;
- xdr_vector;
- xdr_void;
- xdr_wrapstring;
- xprt_register;
- xprt_unregister;
-};
diff --git a/usr/src/lib/libntfs/common/mapfile-vers b/usr/src/lib/libntfs/common/mapfile-vers
index 3a5e3ef7e9..f0e4c9f3d4 100644
--- a/usr/src/lib/libntfs/common/mapfile-vers
+++ b/usr/src/lib/libntfs/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_10.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_10.1 {
global:
AT_UNNAMED;
NTFS_INDEX_I30;
diff --git a/usr/src/lib/libnvpair/mapfile-vers b/usr/src/lib/libnvpair/mapfile-vers
index 96b598ce7c..73d6dbd160 100644
--- a/usr/src/lib/libnvpair/mapfile-vers
+++ b/usr/src/lib/libnvpair/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
nvlist_add_double;
nvlist_empty;
@@ -47,17 +48,17 @@ SUNW_1.3 {
nvpair_value_double;
} SUNW_1.2.2;
-SUNW_1.2.2 { # s10u8 - SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.2.2 { # s10u8 - SunOS 5.10 (Solaris 10) patch additions
global:
nvlist_lookup_nvpair;
} SUNW_1.2.1;
-SUNW_1.2.1 { # s10u7 - SunOS 5.10 (Solaris 10) patch additions
+SYMBOL_VERSION SUNW_1.2.1 { # s10u7 - SunOS 5.10 (Solaris 10) patch additions
global:
nvlist_exists;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
nv_alloc_fini;
nv_alloc_init;
@@ -94,7 +95,7 @@ SUNW_1.2 {
nvpair_value_uint8_array;
} SUNW_1.1.1;
-SUNW_1.1.1 {
+SYMBOL_VERSION SUNW_1.1.1 {
global:
nvlist_add_nvlist;
nvlist_add_nvlist_array;
@@ -104,7 +105,7 @@ SUNW_1.1.1 {
nvpair_value_nvlist_array;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
nvlist_add_boolean;
nvlist_add_byte;
@@ -167,7 +168,7 @@ SUNW_1.1 {
nvpair_value_uint64_array;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dump_nvlist;
nvlist_add_hrtime;
diff --git a/usr/src/lib/libnwam/common/mapfile-vers b/usr/src/lib/libnwam/common/mapfile-vers
index 02f9e11448..67923bb434 100644
--- a/usr/src/lib/libnwam/common/mapfile-vers
+++ b/usr/src/lib/libnwam/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
nwam_strerror;
nwam_value_create_boolean;
diff --git a/usr/src/lib/libpam/mapfile-vers b/usr/src/lib/libpam/mapfile-vers
index 96962549ce..549be39218 100644
--- a/usr/src/lib/libpam/mapfile-vers
+++ b/usr/src/lib/libpam/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,16 +36,18 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# Due to mistakes made early in the history of this library, there are
# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_acct_mgmt;
pam_authenticate;
@@ -67,7 +68,7 @@ SUNW_1.1 {
pam_strerror;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__pam_display_msg;
__pam_get_authtok;
diff --git a/usr/src/lib/libparted/common/mapfile-vers b/usr/src/lib/libparted/common/mapfile-vers
index 3123420c67..0cfbd9ab88 100644
--- a/usr/src/lib/libparted/common/mapfile-vers
+++ b/usr/src/lib/libparted/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_8.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_8.1 {
global:
close_stdout;
error;
@@ -144,7 +145,7 @@ SUNW_8.1 {
ped_unit_get_name;
ped_unit_parse;
ped_unit_set_default;
- program_name = PARENT;
+ program_name { FLAGS = PARENT };
version_etc;
xalloc_die;
xmalloc;
diff --git a/usr/src/lib/libpcp/common/mapfile-vers b/usr/src/lib/libpcp/common/mapfile-vers
index 017d74d932..eb12775e5c 100644
--- a/usr/src/lib/libpcp/common/mapfile-vers
+++ b/usr/src/lib/libpcp/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,11 +35,13 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Interface definition for usr/src/lib/libpcp
#
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
pcp_init;
pcp_send_recv;
diff --git a/usr/src/lib/libpctx/common/mapfile-vers b/usr/src/lib/libpctx/common/mapfile-vers
index e316020c8b..497fbf6f94 100644
--- a/usr/src/lib/libpctx/common/mapfile-vers
+++ b/usr/src/lib/libpctx/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pctx_capture;
pctx_create;
@@ -46,7 +47,7 @@ SUNW_1.1 {
pctx_set_events;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__pctx_cpc;
__pctx_cpc_register_callback;
diff --git a/usr/src/lib/libpicl/mapfile-vers b/usr/src/lib/libpicl/mapfile-vers
index a1ed262565..407ea3ef9e 100644
--- a/usr/src/lib/libpicl/mapfile-vers
+++ b/usr/src/lib/libpicl/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,20 +36,22 @@
# MAPFILE HEADER END
#
-SUNW_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
picl_find_node;
picl_get_frutree_parent;
picl_get_node_by_path;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
picl_get_propinfo_by_name;
picl_walk_tree_by_class;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
picl_get_first_prop;
picl_get_next_by_col;
diff --git a/usr/src/lib/libpicltree/mapfile-vers b/usr/src/lib/libpicltree/mapfile-vers
index f9250d6e2d..6a3c7fa4cc 100644
--- a/usr/src/lib/libpicltree/mapfile-vers
+++ b/usr/src/lib/libpicltree/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,12 +36,14 @@
# MAPFILE HEADER END
#
-SUNW_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
ptree_get_frutree_parent;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
ptree_create_and_add_node;
ptree_create_and_add_prop;
@@ -55,7 +56,7 @@ SUNW_1.2 {
ptree_walk_tree_by_class;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
picld_plugin_register;
ptree_add_node;
@@ -84,14 +85,14 @@ SUNW_1.1 {
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.2
-SUNWprivate_1.2 {
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
dbg_exec;
dbg_print;
verbose_level;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
cvt_picl2ptree;
cvt_ptree2picl;
diff --git a/usr/src/lib/libpkg/common/mapfile-vers b/usr/src/lib/libpkg/common/mapfile-vers
index f1fd2a8001..ce2bad1bbe 100644
--- a/usr/src/lib/libpkg/common/mapfile-vers
+++ b/usr/src/lib/libpkg/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
add_cache;
attrdefault;
diff --git a/usr/src/lib/libplot/plot/common/mapfile-vers b/usr/src/lib/libplot/plot/common/mapfile-vers
index 3f9c67f1cb..7efc454aa5 100644
--- a/usr/src/lib/libplot/plot/common/mapfile-vers
+++ b/usr/src/lib/libplot/plot/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
arc;
box;
@@ -56,7 +57,7 @@ SUNW_1.1 {
space;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dot;
_lib_version;
diff --git a/usr/src/lib/libplot/t300/common/mapfile-vers b/usr/src/lib/libplot/t300/common/mapfile-vers
index 015158b451..53b160456d 100644
--- a/usr/src/lib/libplot/t300/common/mapfile-vers
+++ b/usr/src/lib/libplot/t300/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
arc;
box;
@@ -56,7 +57,7 @@ SUNW_1.1 {
space;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
botx;
boty;
diff --git a/usr/src/lib/libplot/t300s/common/mapfile-vers b/usr/src/lib/libplot/t300s/common/mapfile-vers
index ec89082a3e..84fe90797d 100644
--- a/usr/src/lib/libplot/t300s/common/mapfile-vers
+++ b/usr/src/lib/libplot/t300s/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
arc;
box;
@@ -57,7 +58,7 @@ SUNW_1.1 {
space;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
botx;
boty;
diff --git a/usr/src/lib/libplot/t4014/common/mapfile-vers b/usr/src/lib/libplot/t4014/common/mapfile-vers
index 1bb051df53..3e986b814e 100644
--- a/usr/src/lib/libplot/t4014/common/mapfile-vers
+++ b/usr/src/lib/libplot/t4014/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
arc;
box;
@@ -57,7 +58,7 @@ SUNW_1.1 {
space;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
botx;
boty;
diff --git a/usr/src/lib/libplot/t450/common/mapfile-vers b/usr/src/lib/libplot/t450/common/mapfile-vers
index 015158b451..53b160456d 100644
--- a/usr/src/lib/libplot/t450/common/mapfile-vers
+++ b/usr/src/lib/libplot/t450/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
arc;
box;
@@ -56,7 +57,7 @@ SUNW_1.1 {
space;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
botx;
boty;
diff --git a/usr/src/lib/libplot/vt0/common/mapfile-vers b/usr/src/lib/libplot/vt0/common/mapfile-vers
index 3aa631d167..66c097ace1 100644
--- a/usr/src/lib/libplot/vt0/common/mapfile-vers
+++ b/usr/src/lib/libplot/vt0/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
arc;
box;
@@ -58,7 +59,7 @@ SUNW_1.1 {
space;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
botx;
boty;
diff --git a/usr/src/lib/libpool/common/mapfile-vers b/usr/src/lib/libpool/common/mapfile-vers
index 17cc1418ca..ff4a094ffa 100644
--- a/usr/src/lib/libpool/common/mapfile-vers
+++ b/usr/src/lib/libpool/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -40,7 +39,9 @@
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.2
-SUNWprivate_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
pool_conf_update;
pool_get_status;
@@ -48,7 +49,7 @@ SUNWprivate_1.2 {
pool_set_status;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
pool_associate;
pool_component_info;
diff --git a/usr/src/lib/libpp/mapfile-vers b/usr/src/lib/libpp/mapfile-vers
index 217559e7b5..5c35324feb 100644
--- a/usr/src/lib/libpp/mapfile-vers
+++ b/usr/src/lib/libpp/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
pp;
ppop;
diff --git a/usr/src/lib/libpri/common/mapfile-vers b/usr/src/lib/libpri/common/mapfile-vers
index 7795a76253..9f01858f0f 100644
--- a/usr/src/lib/libpri/common/mapfile-vers
+++ b/usr/src/lib/libpri/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
pri_fini;
pri_get;
diff --git a/usr/src/lib/libproc/Makefile.com b/usr/src/lib/libproc/Makefile.com
index 577aea87ec..042b42fd53 100644
--- a/usr/src/lib/libproc/Makefile.com
+++ b/usr/src/lib/libproc/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libproc.a
@@ -87,8 +86,6 @@ LDLIBS += -lrtld_db -lelf -lctf -lc
SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-MAPFILES += mapfile-vers
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
diff --git a/usr/src/lib/libproc/amd64/mapfile-vers b/usr/src/lib/libproc/amd64/mapfile-vers
deleted file mode 100644
index b1f774d39e..0000000000
--- a/usr/src/lib/libproc/amd64/mapfile-vers
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
-};
diff --git a/usr/src/lib/libproc/common/mapfile-vers b/usr/src/lib/libproc/common/mapfile-vers
index 8fff0bb1aa..9143637cf2 100644
--- a/usr/src/lib/libproc/common/mapfile-vers
+++ b/usr/src/lib/libproc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,31 +36,33 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# Due to mistakes made early in the history of this library, there are no
# SUNW_1.1 through SUNW_1.4 symbols, but they are now kept as placeholders.
# Don't add any symbols to these versions.
-SUNW_1.4 {
+SYMBOL_VERSION SUNW_1.4 {
global:
SUNW_1.4;
} SUNW_1.3;
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
global:
SUNW_1.3;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
Lalt_stack;
Lclearfault;
@@ -257,15 +258,15 @@ SUNWprivate_1.1 {
ps_pbrandname;
ps_pcontinue;
ps_pdmodel;
- ps_pdread = NODYNSORT; # Alias of ps_pread
- ps_pdwrite = NODYNSORT; # Alias of ps_pwrite
+ ps_pdread { FLAGS = NODYNSORT }; # Alias of ps_pread
+ ps_pdwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite
ps_pglobal_lookup;
ps_pglobal_sym;
ps_plog;
ps_pread;
ps_pstop;
- ps_ptread = NODYNSORT; # Alias of ps_pread
- ps_ptwrite = NODYNSORT; # Alias of ps_pwrite
+ ps_ptread { FLAGS = NODYNSORT }; # Alias of ps_pread
+ ps_ptwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite
ps_pwrite;
Pstack_iter;
Pstate;
@@ -296,6 +297,27 @@ SUNWprivate_1.1 {
Pzonename;
Pzonepath;
Pzoneroot;
+
+$if _x86 && _ELF32
+ Pldt;
+ proc_get_ldt;
+ ps_lgetLDT;
+$endif
+
+$if _sparc
+ Plwp_getgwindows;
+ Plwp_getxregs;
+ Plwp_setxregs;
+ ps_lgetxregs;
+ ps_lgetxregsize;
+ ps_lsetxregs;
+
+$if _ELF64
+ Plwp_getasrs;
+ Plwp_setasrs;
+$endif
+$endif
+
local:
*;
};
diff --git a/usr/src/lib/libproc/i386/mapfile-vers b/usr/src/lib/libproc/i386/mapfile-vers
deleted file mode 100644
index 3890d83985..0000000000
--- a/usr/src/lib/libproc/i386/mapfile-vers
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
- Pldt;
- proc_get_ldt;
- ps_lgetLDT;
-};
diff --git a/usr/src/lib/libproc/sparc/mapfile-vers b/usr/src/lib/libproc/sparc/mapfile-vers
deleted file mode 100644
index 44ddc6ce23..0000000000
--- a/usr/src/lib/libproc/sparc/mapfile-vers
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
- Plwp_getgwindows;
- Plwp_getxregs;
- Plwp_setxregs;
- ps_lgetxregs;
- ps_lgetxregsize;
- ps_lsetxregs;
-};
diff --git a/usr/src/lib/libproc/sparcv9/mapfile-vers b/usr/src/lib/libproc/sparcv9/mapfile-vers
deleted file mode 100644
index 5de9b525c9..0000000000
--- a/usr/src/lib/libproc/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
- Plwp_getasrs;
- Plwp_getgwindows;
- Plwp_getxregs;
- Plwp_setasrs;
- Plwp_setxregs;
- ps_lgetxregs;
- ps_lgetxregsize;
- ps_lsetxregs;
-};
diff --git a/usr/src/lib/libproject/common/mapfile-vers b/usr/src/lib/libproject/common/mapfile-vers
index 721f5e536e..89244f05c2 100644
--- a/usr/src/lib/libproject/common/mapfile-vers
+++ b/usr/src/lib/libproject/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
project_walk;
setproject;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
endprojent;
fgetprojent;
@@ -56,7 +57,7 @@ SUNW_1.1 {
setprojent;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
setproject_initpriv;
setproject_proc;
diff --git a/usr/src/lib/libpthread/Makefile.com b/usr/src/lib/libpthread/Makefile.com
index 74cc5833ad..cd435324e8 100644
--- a/usr/src/lib/libpthread/Makefile.com
+++ b/usr/src/lib/libpthread/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libpthread.a
@@ -30,4 +29,3 @@ include $(SRC)/lib/Makefile.rootfs
LIBS += $(LINTLIB)
DYNFLAGS += -F libc.so.1
-MAPFILEDIR = . # redirect mapfile-vers
diff --git a/usr/src/lib/libpthread/amd64/mapfile-vers b/usr/src/lib/libpthread/amd64/mapfile-vers
deleted file mode 100644
index fdaf4c0bfd..0000000000
--- a/usr/src/lib/libpthread/amd64/mapfile-vers
+++ /dev/null
@@ -1,265 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- pthread_attr_getguardsize = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- pthread_rwlockattr_getpshared = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- getmsg = FUNCTION;
- getpmsg = FUNCTION;
- lockf = FUNCTION;
- msgrcv = FUNCTION;
- msgsnd = FUNCTION;
- poll = FUNCTION;
- putmsg = FUNCTION;
- putpmsg = FUNCTION;
- select = FUNCTION;
- sigpause = FUNCTION;
- usleep = FUNCTION;
- wait3 = FUNCTION;
- waitid = FUNCTION;
- pread = FUNCTION;
- pwrite = FUNCTION;
- readv = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- SUNW_1.1;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- pthread_attr_destroy = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_attr_setschedpolicy = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- pthread_cancel = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- pthread_create = FUNCTION;
- pthread_detach = FUNCTION;
- pthread_equal = FUNCTION;
- pthread_exit = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_join = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_key_delete = FUNCTION;
- pthread_kill = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_mutex_getprioceiling = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- pthread_once = FUNCTION;
- pthread_self = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- pthread_setschedparam = FUNCTION;
- pthread_setspecific = FUNCTION;
- pthread_sigmask = FUNCTION;
- pthread_testcancel = FUNCTION;
- alarm = FUNCTION;
- close = FUNCTION;
- cond_broadcast = FUNCTION;
- cond_destroy = FUNCTION;
- cond_init = FUNCTION;
- cond_signal = FUNCTION;
- cond_timedwait = FUNCTION;
- cond_wait = FUNCTION;
- creat = FUNCTION;
- fcntl = FUNCTION;
- fork = FUNCTION;
- fork1 = FUNCTION;
- fsync = FUNCTION;
- msync = FUNCTION;
- mutex_destroy = FUNCTION;
- mutex_init = FUNCTION;
- mutex_lock = FUNCTION;
- mutex_trylock = FUNCTION;
- mutex_unlock = FUNCTION;
- open = FUNCTION;
- pause = FUNCTION;
- read = FUNCTION;
- rw_rdlock = FUNCTION;
- rw_tryrdlock = FUNCTION;
- rw_trywrlock = FUNCTION;
- rw_unlock = FUNCTION;
- rw_wrlock = FUNCTION;
- rwlock_init = FUNCTION;
- sema_destroy = FUNCTION;
- sema_init = FUNCTION;
- sema_post = FUNCTION;
- sema_trywait = FUNCTION;
- sema_wait = FUNCTION;
- _getfp = FUNCTION;
- setitimer = FUNCTION;
- siglongjmp = FUNCTION;
- sigsetjmp = FUNCTION;
- sigaction = FUNCTION;
- sigprocmask = FUNCTION;
- sigsuspend = FUNCTION;
- sigwait = FUNCTION;
- sleep = FUNCTION;
- tcdrain = FUNCTION;
- thr_continue = FUNCTION;
- thr_create = FUNCTION;
- thr_exit = FUNCTION;
- thr_getconcurrency = FUNCTION;
- thr_getprio = FUNCTION;
- thr_getspecific = FUNCTION;
- thr_join = FUNCTION;
- thr_keycreate = FUNCTION;
- thr_kill = FUNCTION;
- thr_main = FUNCTION;
- thr_min_stack = FUNCTION;
- thr_self = FUNCTION;
- thr_setconcurrency = FUNCTION;
- thr_setprio = FUNCTION;
- thr_setspecific = FUNCTION;
- thr_sigsetmask = FUNCTION;
- thr_stksegment = FUNCTION;
- thr_suspend = FUNCTION;
- thr_yield = FUNCTION;
- wait = FUNCTION;
- waitpid = FUNCTION;
- write = FUNCTION;
- _mutex_lock = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _pthread_setcleanupinit = FUNCTION;
- _resume = FUNCTION;
- _resume_ret = FUNCTION;
- thr_probe_setup = FUNCTION;
- _fork = FUNCTION;
- _sigaction = FUNCTION;
- _sigprocmask = FUNCTION;
- _sigsuspend = FUNCTION;
- _sigsetjmp = FUNCTION;
- _siglongjmp = FUNCTION;
- _sleep = FUNCTION;
- _alarm = FUNCTION;
- _setitimer = FUNCTION;
- _mutex_destroy = FUNCTION;
- _mutex_init = FUNCTION;
- _mutex_unlock = FUNCTION;
- _sema_destroy = FUNCTION;
- _thr_create = FUNCTION;
- _thr_getspecific = FUNCTION;
- _thr_join = FUNCTION;
- _thr_keycreate = FUNCTION;
- _thr_self = FUNCTION;
- _thr_setspecific = FUNCTION;
- _thr_main = FUNCTION;
-};
-
diff --git a/usr/src/lib/libpthread/common/mapfile-vers b/usr/src/lib/libpthread/common/mapfile-vers
new file mode 100644
index 0000000000..11c260863c
--- /dev/null
+++ b/usr/src/lib/libpthread/common/mapfile-vers
@@ -0,0 +1,277 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+#
+
+#
+# MAPFILE HEADER START
+#
+# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+# usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+
+$mapfile_version 2
+
+#
+# DO NOT TOUCH THIS FILE.
+# This file declares interfaces that are cast in stone.
+# They offer interfaces that will never change.
+# DO NOT TOUCH THIS FILE.
+#
+
+SYMBOL_VERSION SUNW_1.4 {
+ global:
+ cond_reltimedwait { TYPE = FUNCTION };
+ pthread_cond_reltimedwait_np { TYPE = FUNCTION };
+ local:
+ *;
+} SUNW_1.3;
+
+SYMBOL_VERSION SUNW_1.3 {
+ global:
+ pthread_mutexattr_getrobust_np { TYPE = FUNCTION };
+ pthread_mutexattr_setrobust_np { TYPE = FUNCTION };
+ pthread_mutex_consistent_np { TYPE = FUNCTION };
+} SUNW_1.2;
+
+SYMBOL_VERSION SUNW_1.2 {
+ global:
+ getmsg { TYPE = FUNCTION };
+ getpmsg { TYPE = FUNCTION };
+ lockf { TYPE = FUNCTION };
+ msgrcv { TYPE = FUNCTION };
+ msgsnd { TYPE = FUNCTION };
+ poll { TYPE = FUNCTION };
+ pread { TYPE = FUNCTION };
+ pthread_attr_getguardsize { TYPE = FUNCTION };
+ pthread_attr_setguardsize { TYPE = FUNCTION };
+ pthread_getconcurrency { TYPE = FUNCTION };
+ pthread_mutexattr_gettype { TYPE = FUNCTION };
+ pthread_mutexattr_settype { TYPE = FUNCTION };
+ pthread_rwlockattr_destroy { TYPE = FUNCTION };
+ pthread_rwlockattr_getpshared { TYPE = FUNCTION };
+ pthread_rwlockattr_init { TYPE = FUNCTION };
+ pthread_rwlockattr_setpshared { TYPE = FUNCTION };
+ pthread_rwlock_destroy { TYPE = FUNCTION };
+ pthread_rwlock_init { TYPE = FUNCTION };
+ pthread_rwlock_rdlock { TYPE = FUNCTION };
+ pthread_rwlock_tryrdlock { TYPE = FUNCTION };
+ pthread_rwlock_trywrlock { TYPE = FUNCTION };
+ pthread_rwlock_unlock { TYPE = FUNCTION };
+ pthread_rwlock_wrlock { TYPE = FUNCTION };
+ pthread_setconcurrency { TYPE = FUNCTION };
+ putmsg { TYPE = FUNCTION };
+ putpmsg { TYPE = FUNCTION };
+ pwrite { TYPE = FUNCTION };
+ readv { TYPE = FUNCTION };
+ select { TYPE = FUNCTION };
+ sigpause { TYPE = FUNCTION };
+ usleep { TYPE = FUNCTION };
+ wait3 { TYPE = FUNCTION };
+ waitid { TYPE = FUNCTION };
+ writev { TYPE = FUNCTION };
+ __xpg4_putmsg { TYPE = FUNCTION };
+ __xpg4_putpmsg { TYPE = FUNCTION };
+
+$if _ELF32 # largefile APIs
+ lockf64 { TYPE = FUNCTION };
+ pread64 { TYPE = FUNCTION };
+ pwrite64 { TYPE = FUNCTION };
+$endif
+} SUNW_1.1;
+
+SYMBOL_VERSION SUNW_1.1 {
+ global:
+$if _ELF32 # largefile APIs
+ creat64 { TYPE = FUNCTION };
+ open64 { TYPE = FUNCTION };
+$else
+ SUNW_1.1;
+$endif
+} SUNW_0.9;
+
+SYMBOL_VERSION SUNW_0.9 {
+ global:
+ alarm { TYPE = FUNCTION };
+ close { TYPE = FUNCTION };
+ cond_broadcast { TYPE = FUNCTION };
+ cond_destroy { TYPE = FUNCTION };
+ cond_init { TYPE = FUNCTION };
+ cond_signal { TYPE = FUNCTION };
+ cond_timedwait { TYPE = FUNCTION };
+ cond_wait { TYPE = FUNCTION };
+ creat { TYPE = FUNCTION };
+ fcntl { TYPE = FUNCTION };
+ fork { TYPE = FUNCTION };
+ fork1 { TYPE = FUNCTION };
+ fsync { TYPE = FUNCTION };
+ _getfp { TYPE = FUNCTION };
+ msync { TYPE = FUNCTION };
+ mutex_destroy { TYPE = FUNCTION };
+ mutex_init { TYPE = FUNCTION };
+ _mutex_lock { TYPE = FUNCTION };
+ mutex_lock { TYPE = FUNCTION };
+ mutex_trylock { TYPE = FUNCTION };
+ mutex_unlock { TYPE = FUNCTION };
+ open { TYPE = FUNCTION };
+ pause { TYPE = FUNCTION };
+ pthread_attr_destroy { TYPE = FUNCTION };
+ pthread_attr_getdetachstate { TYPE = FUNCTION };
+ pthread_attr_getinheritsched { TYPE = FUNCTION };
+ pthread_attr_getschedparam { TYPE = FUNCTION };
+ pthread_attr_getschedpolicy { TYPE = FUNCTION };
+ pthread_attr_getscope { TYPE = FUNCTION };
+ pthread_attr_getstackaddr { TYPE = FUNCTION };
+ pthread_attr_getstacksize { TYPE = FUNCTION };
+ pthread_attr_init { TYPE = FUNCTION };
+ pthread_attr_setdetachstate { TYPE = FUNCTION };
+ pthread_attr_setinheritsched { TYPE = FUNCTION };
+ pthread_attr_setschedparam { TYPE = FUNCTION };
+ pthread_attr_setschedpolicy { TYPE = FUNCTION };
+ pthread_attr_setscope { TYPE = FUNCTION };
+ pthread_attr_setstackaddr { TYPE = FUNCTION };
+ pthread_attr_setstacksize { TYPE = FUNCTION };
+ pthread_cancel { TYPE = FUNCTION };
+ __pthread_cleanup_pop { TYPE = FUNCTION };
+ __pthread_cleanup_push { TYPE = FUNCTION };
+ pthread_condattr_destroy { TYPE = FUNCTION };
+ pthread_condattr_getpshared { TYPE = FUNCTION };
+ pthread_condattr_init { TYPE = FUNCTION };
+ pthread_condattr_setpshared { TYPE = FUNCTION };
+ pthread_cond_broadcast { TYPE = FUNCTION };
+ pthread_cond_destroy { TYPE = FUNCTION };
+ pthread_cond_init { TYPE = FUNCTION };
+ pthread_cond_signal { TYPE = FUNCTION };
+ pthread_cond_timedwait { TYPE = FUNCTION };
+ pthread_cond_wait { TYPE = FUNCTION };
+ pthread_create { TYPE = FUNCTION };
+ pthread_detach { TYPE = FUNCTION };
+ pthread_equal { TYPE = FUNCTION };
+ pthread_exit { TYPE = FUNCTION };
+ pthread_getschedparam { TYPE = FUNCTION };
+ pthread_getspecific { TYPE = FUNCTION };
+ pthread_join { TYPE = FUNCTION };
+ pthread_key_create { TYPE = FUNCTION };
+ pthread_key_delete { TYPE = FUNCTION };
+ pthread_kill { TYPE = FUNCTION };
+ pthread_mutexattr_destroy { TYPE = FUNCTION };
+ pthread_mutexattr_getprioceiling { TYPE = FUNCTION };
+ pthread_mutexattr_getprotocol { TYPE = FUNCTION };
+ pthread_mutexattr_getpshared { TYPE = FUNCTION };
+ pthread_mutexattr_init { TYPE = FUNCTION };
+ pthread_mutexattr_setprioceiling { TYPE = FUNCTION };
+ pthread_mutexattr_setprotocol { TYPE = FUNCTION };
+ pthread_mutexattr_setpshared { TYPE = FUNCTION };
+ pthread_mutex_destroy { TYPE = FUNCTION };
+ pthread_mutex_getprioceiling { TYPE = FUNCTION };
+ pthread_mutex_init { TYPE = FUNCTION };
+ pthread_mutex_lock { TYPE = FUNCTION };
+ pthread_mutex_setprioceiling { TYPE = FUNCTION };
+ pthread_mutex_trylock { TYPE = FUNCTION };
+ pthread_mutex_unlock { TYPE = FUNCTION };
+ pthread_once { TYPE = FUNCTION };
+ pthread_self { TYPE = FUNCTION };
+ pthread_setcancelstate { TYPE = FUNCTION };
+ pthread_setcanceltype { TYPE = FUNCTION };
+ pthread_setschedparam { TYPE = FUNCTION };
+ pthread_setspecific { TYPE = FUNCTION };
+ pthread_sigmask { TYPE = FUNCTION };
+ pthread_testcancel { TYPE = FUNCTION };
+ read { TYPE = FUNCTION };
+ rwlock_init { TYPE = FUNCTION };
+ rw_rdlock { TYPE = FUNCTION };
+ rw_tryrdlock { TYPE = FUNCTION };
+ rw_trywrlock { TYPE = FUNCTION };
+ rw_unlock { TYPE = FUNCTION };
+ rw_wrlock { TYPE = FUNCTION };
+ sema_destroy { TYPE = FUNCTION };
+ sema_init { TYPE = FUNCTION };
+ sema_post { TYPE = FUNCTION };
+ sema_trywait { TYPE = FUNCTION };
+ sema_wait { TYPE = FUNCTION };
+ setitimer { TYPE = FUNCTION };
+ sigaction { TYPE = FUNCTION };
+ siglongjmp { TYPE = FUNCTION };
+ sigprocmask { TYPE = FUNCTION };
+ sigsetjmp { TYPE = FUNCTION };
+ sigsuspend { TYPE = FUNCTION };
+ sigwait { TYPE = FUNCTION };
+ sleep { TYPE = FUNCTION };
+ tcdrain { TYPE = FUNCTION };
+ thr_continue { TYPE = FUNCTION };
+ thr_create { TYPE = FUNCTION };
+ thr_exit { TYPE = FUNCTION };
+ thr_getconcurrency { TYPE = FUNCTION };
+ thr_getprio { TYPE = FUNCTION };
+ thr_getspecific { TYPE = FUNCTION };
+ thr_join { TYPE = FUNCTION };
+ thr_keycreate { TYPE = FUNCTION };
+ thr_kill { TYPE = FUNCTION };
+ thr_main { TYPE = FUNCTION };
+ thr_min_stack { TYPE = FUNCTION };
+ thr_self { TYPE = FUNCTION };
+ thr_setconcurrency { TYPE = FUNCTION };
+ thr_setprio { TYPE = FUNCTION };
+ thr_setspecific { TYPE = FUNCTION };
+ thr_sigsetmask { TYPE = FUNCTION };
+ thr_stksegment { TYPE = FUNCTION };
+ thr_suspend { TYPE = FUNCTION };
+ thr_yield { TYPE = FUNCTION };
+ wait { TYPE = FUNCTION };
+ waitpid { TYPE = FUNCTION };
+ write { TYPE = FUNCTION };
+};
+
+SYMBOL_VERSION SUNWprivate_1.1 {
+ global:
+ _alarm { TYPE = FUNCTION };
+ _fork { TYPE = FUNCTION };
+ _mutex_destroy { TYPE = FUNCTION };
+ _mutex_init { TYPE = FUNCTION };
+ _mutex_unlock { TYPE = FUNCTION };
+ _pthread_setcleanupinit { TYPE = FUNCTION };
+ _resume { TYPE = FUNCTION };
+ _resume_ret { TYPE = FUNCTION };
+ _sema_destroy { TYPE = FUNCTION };
+ _setitimer { TYPE = FUNCTION };
+ _sigaction { TYPE = FUNCTION };
+ _siglongjmp { TYPE = FUNCTION };
+ _sigprocmask { TYPE = FUNCTION };
+ _sigsetjmp { TYPE = FUNCTION };
+ _sigsuspend { TYPE = FUNCTION };
+ _sleep { TYPE = FUNCTION };
+ _thr_create { TYPE = FUNCTION };
+ _thr_getspecific { TYPE = FUNCTION };
+ _thr_join { TYPE = FUNCTION };
+ _thr_keycreate { TYPE = FUNCTION };
+ _thr_main { TYPE = FUNCTION };
+ thr_probe_setup { TYPE = FUNCTION };
+ _thr_self { TYPE = FUNCTION };
+ _thr_setspecific { TYPE = FUNCTION };
+};
+
diff --git a/usr/src/lib/libpthread/i386/mapfile-vers b/usr/src/lib/libpthread/i386/mapfile-vers
deleted file mode 100644
index a75d89e276..0000000000
--- a/usr/src/lib/libpthread/i386/mapfile-vers
+++ /dev/null
@@ -1,269 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- pthread_rwlockattr_getpshared = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- pwrite64 = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- getmsg = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- putpmsg = FUNCTION;
- lockf = FUNCTION;
- lockf64 = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- msgrcv = FUNCTION;
- sigpause = FUNCTION;
- msgsnd = FUNCTION;
- pread64 = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- poll = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- putmsg = FUNCTION;
- pread = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- select = FUNCTION;
- pwrite = FUNCTION;
- usleep = FUNCTION;
- getpmsg = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- wait3 = FUNCTION;
- readv = FUNCTION;
- waitid = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- pthread_attr_getguardsize = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- creat64 = FUNCTION;
- open64 = FUNCTION;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- thr_keycreate = FUNCTION;
- cond_timedwait = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- fcntl = FUNCTION;
- pthread_exit = FUNCTION;
- rw_tryrdlock = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- sigsuspend = FUNCTION;
- pthread_attr_destroy = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_sigmask = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- thr_setconcurrency = FUNCTION;
- thr_kill = FUNCTION;
- fork = FUNCTION;
- cond_wait = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_join = FUNCTION;
- rw_trywrlock = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- fork1 = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- thr_main = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_key_delete = FUNCTION;
- fsync = FUNCTION;
- pthread_kill = FUNCTION;
- rw_unlock = FUNCTION;
- sigwait = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- thr_min_stack = FUNCTION;
- msync = FUNCTION;
- mutex_destroy = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- rw_wrlock = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_setschedparam = FUNCTION;
- thr_setspecific = FUNCTION;
- tcdrain = FUNCTION;
- open = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- thr_self = FUNCTION;
- mutex_init = FUNCTION;
- rwlock_init = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- waitpid = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_setspecific = FUNCTION;
- thr_setprio = FUNCTION;
- pause = FUNCTION;
- mutex_lock = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_once = FUNCTION;
- sema_post = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- thr_continue = FUNCTION;
- thr_sigsetmask = FUNCTION;
- pthread_detach = FUNCTION;
- mutex_trylock = FUNCTION;
- pthread_attr_setschedpolicy = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_testcancel = FUNCTION;
- sigprocmask = FUNCTION;
- pthread_self = FUNCTION;
- sema_trywait = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- thr_create = FUNCTION;
- cond_broadcast = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- thr_stksegment = FUNCTION;
- read = FUNCTION;
- pthread_cancel = FUNCTION;
- mutex_unlock = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- sema_wait = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- thr_getconcurrency = FUNCTION;
- thr_exit = FUNCTION;
- cond_destroy = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- thr_suspend = FUNCTION;
- pthread_create = FUNCTION;
- sema_destroy = FUNCTION;
- setitimer = FUNCTION;
- _getfp = FUNCTION;
- sigaction = FUNCTION;
- pthread_mutex_getprioceiling = FUNCTION;
- thr_getprio = FUNCTION;
- cond_init = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- thr_getspecific = FUNCTION;
- thr_yield = FUNCTION;
- alarm = FUNCTION;
- sleep = FUNCTION;
- sema_init = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- siglongjmp = FUNCTION;
- thr_join = FUNCTION;
- close = FUNCTION;
- wait = FUNCTION;
- cond_signal = FUNCTION;
- pthread_equal = FUNCTION;
- rw_rdlock = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- sigsetjmp = FUNCTION;
- creat = FUNCTION;
- write = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- _mutex_lock = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _mutex_unlock = FUNCTION;
- _thr_main = FUNCTION;
- _siglongjmp = FUNCTION;
- _fork = FUNCTION;
- _setitimer = FUNCTION;
- _thr_create = FUNCTION;
- _sleep = FUNCTION;
- _alarm = FUNCTION;
- _thr_setspecific = FUNCTION;
- _resume = FUNCTION;
- thr_probe_setup = FUNCTION;
- _thr_keycreate = FUNCTION;
- _thr_join = FUNCTION;
- _sigprocmask = FUNCTION;
- _thr_getspecific = FUNCTION;
- _mutex_destroy = FUNCTION;
- _thr_self = FUNCTION;
- _sigaction = FUNCTION;
- _mutex_init = FUNCTION;
- _sema_destroy = FUNCTION;
- _resume_ret = FUNCTION;
- _sigsuspend = FUNCTION;
- _pthread_setcleanupinit = FUNCTION;
- _sigsetjmp = FUNCTION;
-};
-
diff --git a/usr/src/lib/libpthread/sparc/mapfile-vers b/usr/src/lib/libpthread/sparc/mapfile-vers
deleted file mode 100644
index 79e51c4840..0000000000
--- a/usr/src/lib/libpthread/sparc/mapfile-vers
+++ /dev/null
@@ -1,269 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- pthread_attr_getguardsize = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- pthread_rwlockattr_getpshared = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- getmsg = FUNCTION;
- getpmsg = FUNCTION;
- lockf64 = FUNCTION;
- lockf = FUNCTION;
- msgrcv = FUNCTION;
- msgsnd = FUNCTION;
- poll = FUNCTION;
- putmsg = FUNCTION;
- putpmsg = FUNCTION;
- select = FUNCTION;
- sigpause = FUNCTION;
- usleep = FUNCTION;
- wait3 = FUNCTION;
- waitid = FUNCTION;
- pread = FUNCTION;
- pread64 = FUNCTION;
- pwrite = FUNCTION;
- pwrite64 = FUNCTION;
- readv = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- creat64 = FUNCTION;
- open64 = FUNCTION;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- pthread_attr_destroy = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_attr_setschedpolicy = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- pthread_cancel = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- pthread_create = FUNCTION;
- pthread_detach = FUNCTION;
- pthread_equal = FUNCTION;
- pthread_exit = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_join = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_key_delete = FUNCTION;
- pthread_kill = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_mutex_getprioceiling = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- pthread_once = FUNCTION;
- pthread_self = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- pthread_setschedparam = FUNCTION;
- pthread_setspecific = FUNCTION;
- pthread_sigmask = FUNCTION;
- pthread_testcancel = FUNCTION;
- alarm = FUNCTION;
- close = FUNCTION;
- cond_broadcast = FUNCTION;
- cond_destroy = FUNCTION;
- cond_init = FUNCTION;
- cond_signal = FUNCTION;
- cond_timedwait = FUNCTION;
- cond_wait = FUNCTION;
- creat = FUNCTION;
- fcntl = FUNCTION;
- fork = FUNCTION;
- fork1 = FUNCTION;
- fsync = FUNCTION;
- msync = FUNCTION;
- mutex_destroy = FUNCTION;
- mutex_init = FUNCTION;
- mutex_lock = FUNCTION;
- mutex_trylock = FUNCTION;
- mutex_unlock = FUNCTION;
- open = FUNCTION;
- pause = FUNCTION;
- read = FUNCTION;
- rw_rdlock = FUNCTION;
- rw_tryrdlock = FUNCTION;
- rw_trywrlock = FUNCTION;
- rw_unlock = FUNCTION;
- rw_wrlock = FUNCTION;
- rwlock_init = FUNCTION;
- sema_destroy = FUNCTION;
- sema_init = FUNCTION;
- sema_post = FUNCTION;
- sema_trywait = FUNCTION;
- sema_wait = FUNCTION;
- _getfp = FUNCTION;
- setitimer = FUNCTION;
- siglongjmp = FUNCTION;
- sigsetjmp = FUNCTION;
- sigaction = FUNCTION;
- sigprocmask = FUNCTION;
- sigsuspend = FUNCTION;
- sigwait = FUNCTION;
- sleep = FUNCTION;
- tcdrain = FUNCTION;
- thr_continue = FUNCTION;
- thr_create = FUNCTION;
- thr_exit = FUNCTION;
- thr_getconcurrency = FUNCTION;
- thr_getprio = FUNCTION;
- thr_getspecific = FUNCTION;
- thr_join = FUNCTION;
- thr_keycreate = FUNCTION;
- thr_kill = FUNCTION;
- thr_main = FUNCTION;
- thr_min_stack = FUNCTION;
- thr_self = FUNCTION;
- thr_setconcurrency = FUNCTION;
- thr_setprio = FUNCTION;
- thr_setspecific = FUNCTION;
- thr_sigsetmask = FUNCTION;
- thr_stksegment = FUNCTION;
- thr_suspend = FUNCTION;
- thr_yield = FUNCTION;
- wait = FUNCTION;
- waitpid = FUNCTION;
- write = FUNCTION;
- _mutex_lock = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _pthread_setcleanupinit = FUNCTION;
- _resume = FUNCTION;
- _resume_ret = FUNCTION;
- thr_probe_setup = FUNCTION;
- _fork = FUNCTION;
- _sigaction = FUNCTION;
- _sigprocmask = FUNCTION;
- _sigsuspend = FUNCTION;
- _sigsetjmp = FUNCTION;
- _siglongjmp = FUNCTION;
- _sleep = FUNCTION;
- _alarm = FUNCTION;
- _setitimer = FUNCTION;
- _mutex_destroy = FUNCTION;
- _mutex_init = FUNCTION;
- _mutex_unlock = FUNCTION;
- _sema_destroy = FUNCTION;
- _thr_create = FUNCTION;
- _thr_getspecific = FUNCTION;
- _thr_join = FUNCTION;
- _thr_keycreate = FUNCTION;
- _thr_self = FUNCTION;
- _thr_setspecific = FUNCTION;
- _thr_main = FUNCTION;
-};
-
diff --git a/usr/src/lib/libpthread/sparcv9/mapfile-vers b/usr/src/lib/libpthread/sparcv9/mapfile-vers
deleted file mode 100644
index fdaf4c0bfd..0000000000
--- a/usr/src/lib/libpthread/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,265 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- pthread_attr_getguardsize = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- pthread_rwlockattr_getpshared = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- getmsg = FUNCTION;
- getpmsg = FUNCTION;
- lockf = FUNCTION;
- msgrcv = FUNCTION;
- msgsnd = FUNCTION;
- poll = FUNCTION;
- putmsg = FUNCTION;
- putpmsg = FUNCTION;
- select = FUNCTION;
- sigpause = FUNCTION;
- usleep = FUNCTION;
- wait3 = FUNCTION;
- waitid = FUNCTION;
- pread = FUNCTION;
- pwrite = FUNCTION;
- readv = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- SUNW_1.1;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- pthread_attr_destroy = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_attr_setschedpolicy = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- pthread_cancel = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- pthread_create = FUNCTION;
- pthread_detach = FUNCTION;
- pthread_equal = FUNCTION;
- pthread_exit = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_join = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_key_delete = FUNCTION;
- pthread_kill = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_mutex_getprioceiling = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- pthread_once = FUNCTION;
- pthread_self = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- pthread_setschedparam = FUNCTION;
- pthread_setspecific = FUNCTION;
- pthread_sigmask = FUNCTION;
- pthread_testcancel = FUNCTION;
- alarm = FUNCTION;
- close = FUNCTION;
- cond_broadcast = FUNCTION;
- cond_destroy = FUNCTION;
- cond_init = FUNCTION;
- cond_signal = FUNCTION;
- cond_timedwait = FUNCTION;
- cond_wait = FUNCTION;
- creat = FUNCTION;
- fcntl = FUNCTION;
- fork = FUNCTION;
- fork1 = FUNCTION;
- fsync = FUNCTION;
- msync = FUNCTION;
- mutex_destroy = FUNCTION;
- mutex_init = FUNCTION;
- mutex_lock = FUNCTION;
- mutex_trylock = FUNCTION;
- mutex_unlock = FUNCTION;
- open = FUNCTION;
- pause = FUNCTION;
- read = FUNCTION;
- rw_rdlock = FUNCTION;
- rw_tryrdlock = FUNCTION;
- rw_trywrlock = FUNCTION;
- rw_unlock = FUNCTION;
- rw_wrlock = FUNCTION;
- rwlock_init = FUNCTION;
- sema_destroy = FUNCTION;
- sema_init = FUNCTION;
- sema_post = FUNCTION;
- sema_trywait = FUNCTION;
- sema_wait = FUNCTION;
- _getfp = FUNCTION;
- setitimer = FUNCTION;
- siglongjmp = FUNCTION;
- sigsetjmp = FUNCTION;
- sigaction = FUNCTION;
- sigprocmask = FUNCTION;
- sigsuspend = FUNCTION;
- sigwait = FUNCTION;
- sleep = FUNCTION;
- tcdrain = FUNCTION;
- thr_continue = FUNCTION;
- thr_create = FUNCTION;
- thr_exit = FUNCTION;
- thr_getconcurrency = FUNCTION;
- thr_getprio = FUNCTION;
- thr_getspecific = FUNCTION;
- thr_join = FUNCTION;
- thr_keycreate = FUNCTION;
- thr_kill = FUNCTION;
- thr_main = FUNCTION;
- thr_min_stack = FUNCTION;
- thr_self = FUNCTION;
- thr_setconcurrency = FUNCTION;
- thr_setprio = FUNCTION;
- thr_setspecific = FUNCTION;
- thr_sigsetmask = FUNCTION;
- thr_stksegment = FUNCTION;
- thr_suspend = FUNCTION;
- thr_yield = FUNCTION;
- wait = FUNCTION;
- waitpid = FUNCTION;
- write = FUNCTION;
- _mutex_lock = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _pthread_setcleanupinit = FUNCTION;
- _resume = FUNCTION;
- _resume_ret = FUNCTION;
- thr_probe_setup = FUNCTION;
- _fork = FUNCTION;
- _sigaction = FUNCTION;
- _sigprocmask = FUNCTION;
- _sigsuspend = FUNCTION;
- _sigsetjmp = FUNCTION;
- _siglongjmp = FUNCTION;
- _sleep = FUNCTION;
- _alarm = FUNCTION;
- _setitimer = FUNCTION;
- _mutex_destroy = FUNCTION;
- _mutex_init = FUNCTION;
- _mutex_unlock = FUNCTION;
- _sema_destroy = FUNCTION;
- _thr_create = FUNCTION;
- _thr_getspecific = FUNCTION;
- _thr_join = FUNCTION;
- _thr_keycreate = FUNCTION;
- _thr_self = FUNCTION;
- _thr_setspecific = FUNCTION;
- _thr_main = FUNCTION;
-};
-
diff --git a/usr/src/lib/libraidcfg/common/mapfile-vers b/usr/src/lib/libraidcfg/common/mapfile-vers
index 502cc032f5..cfd89c2723 100644
--- a/usr/src/lib/libraidcfg/common/mapfile-vers
+++ b/usr/src/lib/libraidcfg/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
raidcfg_errstr;
raidcfg_get_controller;
diff --git a/usr/src/lib/librcm/mapfile-vers b/usr/src/lib/librcm/mapfile-vers
index b688f9ba1b..4fa87dabb7 100644
--- a/usr/src/lib/librcm/mapfile-vers
+++ b/usr/src/lib/librcm/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
create_event_service;
get_event_service;
diff --git a/usr/src/lib/librdc/common/mapfile-vers b/usr/src/lib/librdc/common/mapfile-vers
index 42f30a66a0..e38650b2a3 100644
--- a/usr/src/lib/librdc/common/mapfile-vers
+++ b/usr/src/lib/librdc/common/mapfile-vers
@@ -18,8 +18,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -40,7 +39,9 @@
# Generic interface definition for usr/src/lib/librdc.
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
Is_ipv6present;
convert_nconf_to_knconf;
diff --git a/usr/src/lib/libreparse/common/mapfile-vers b/usr/src/lib/libreparse/common/mapfile-vers
index 94bfba08ec..e1df770116 100644
--- a/usr/src/lib/libreparse/common/mapfile-vers
+++ b/usr/src/lib/libreparse/common/mapfile-vers
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
reparse_add;
reparse_create;
diff --git a/usr/src/lib/libresolv/mapfile-vers b/usr/src/lib/libresolv/mapfile-vers
index a7200b45b2..55371c37bd 100644
--- a/usr/src/lib/libresolv/mapfile-vers
+++ b/usr/src/lib/libresolv/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,16 +36,18 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# Due to mistakes made early in the history of this library, there are
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
dn_comp;
dn_expand;
@@ -54,7 +55,7 @@ SUNW_0.7 {
fp_query;
_getlong;
_getshort;
- h_errno = NODIRECT FILTER libnsl.so.1;
+ h_errno { FLAGS = NODIRECT; FILTER = libnsl.so.1 };
hostalias;
p_cdname;
p_class;
@@ -70,11 +71,11 @@ SUNW_0.7 {
res_querydomain;
res_search;
res_send;
- strcasecmp = FUNCTION FILTER libc.so.1;
- strncasecmp = FUNCTION FILTER libc.so.1;
+ strcasecmp { TYPE = FUNCTION; FILTER = libc.so.1 };
+ strncasecmp { TYPE = FUNCTION; FILTER = libc.so.1 };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
res_endhostent;
res_gethostbyaddr;
diff --git a/usr/src/lib/libresolv2/common/mapfile-vers b/usr/src/lib/libresolv2/common/mapfile-vers
index 5ef6ef2428..a70aac2380 100644
--- a/usr/src/lib/libresolv2/common/mapfile-vers
+++ b/usr/src/lib/libresolv2/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,22 +36,24 @@
# MAPFILE HEADER END
#
-SUNW_2.3 { # SunOS 5.11 (Solaris 11)
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_2.3 { # SunOS 5.11 (Solaris 11)
global:
SUNW_2.3; # Defined to create a non-weak version of SUNW_2.3.
} SUNW_2.2.2;
-SUNW_2.2.2 { # SunOS 5.10 (Solaris 10 Update 5)
+SYMBOL_VERSION SUNW_2.2.2 { # SunOS 5.10 (Solaris 10 Update 5)
global:
- inet_aton = FUNCTION FILTER libnsl.so.1;
+ inet_aton { TYPE = FUNCTION; FILTER = libnsl.so.1 };
} SUNW_2.2.1;
-SUNW_2.2.1 { # SunOS 5.10 (Solaris 10 Update 4)
+SYMBOL_VERSION SUNW_2.2.1 { # SunOS 5.10 (Solaris 10 Update 4)
global:
res_ndestroy;
} SUNW_2.2;
-SUNW_2.2 { # SunOS 5.9 (Solaris 9)
+SYMBOL_VERSION SUNW_2.2 { # SunOS 5.9 (Solaris 9)
global:
fp_resstat;
herror;
@@ -67,7 +68,7 @@ SUNW_2.2 { # SunOS 5.9 (Solaris 9)
res_nsendsigned;
} SUNW_2.1;
-SUNW_2.1 { # SunOS 5.6 (Solaris 2.6)
+SYMBOL_VERSION SUNW_2.1 { # SunOS 5.6 (Solaris 2.6)
global:
dn_comp;
dn_expand;
@@ -75,7 +76,7 @@ SUNW_2.1 { # SunOS 5.6 (Solaris 2.6)
__fp_query;
_getlong;
_getshort;
- h_errno = NODIRECT FILTER libnsl.so.1;
+ h_errno { FLAGS = NODIRECT; FILTER = libnsl.so.1 };
__hostalias;
hstrerror;
__p_cdname;
@@ -97,7 +98,7 @@ SUNW_2.1 { # SunOS 5.6 (Solaris 2.6)
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_2.2
-SUNWprivate_2.2 {
+SYMBOL_VERSION SUNWprivate_2.2 {
global:
isc_gethexstring;
isc_puthexstring;
@@ -112,7 +113,7 @@ SUNWprivate_2.2 {
res_setservers;
} SUNWprivate_2.1;
-SUNWprivate_2.1 {
+SYMBOL_VERSION SUNWprivate_2.1 {
global:
__assertion_failed;
assertion_type_to_text;
diff --git a/usr/src/lib/librestart/common/mapfile-vers b/usr/src/lib/librestart/common/mapfile-vers
index 40ac2278ae..41ba72ca76 100644
--- a/usr/src/lib/librestart/common/mapfile-vers
+++ b/usr/src/lib/librestart/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
restarter_bind_handle;
_restarter_commit_states;
diff --git a/usr/src/lib/librpcsvc/common/mapfile-vers b/usr/src/lib/librpcsvc/common/mapfile-vers
index d255c8fc49..400ad97038 100644
--- a/usr/src/lib/librpcsvc/common/mapfile-vers
+++ b/usr/src/lib/librpcsvc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,12 +40,14 @@
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
havedisk;
rnusers;
@@ -58,7 +59,7 @@ SUNW_0.7 {
xdr_utmpidlearr;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__clnt_bindresvport;
xdr_bp_address;
diff --git a/usr/src/lib/librsm/common/mapfile-vers b/usr/src/lib/librsm/common/mapfile-vers
index 46ca7ef10a..653429d63d 100644
--- a/usr/src/lib/librsm/common/mapfile-vers
+++ b/usr/src/lib/librsm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
rsm_create_localmemory_handle;
rsm_free_interconnect_topology;
diff --git a/usr/src/lib/librstp/common/mapfile-vers b/usr/src/lib/librstp/common/mapfile-vers
index f3b7876a5a..6bb0878274 100644
--- a/usr/src/lib/librstp/common/mapfile-vers
+++ b/usr/src/lib/librstp/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
STP_IN_init;
STP_IN_stpm_create;
diff --git a/usr/src/lib/librt/Makefile.com b/usr/src/lib/librt/Makefile.com
index b66642374e..e2ca43b66d 100644
--- a/usr/src/lib/librt/Makefile.com
+++ b/usr/src/lib/librt/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = librt.a
@@ -30,4 +29,3 @@ include $(SRC)/lib/Makefile.rootfs
LIBS += $(LINTLIB)
DYNFLAGS += -F libc.so.1
-MAPFILEDIR = . # redirect mapfile-vers
diff --git a/usr/src/lib/librt/amd64/mapfile-vers b/usr/src/lib/librt/amd64/mapfile-vers
deleted file mode 100644
index 35b7f66ec3..0000000000
--- a/usr/src/lib/librt/amd64/mapfile-vers
+++ /dev/null
@@ -1,130 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- clock_nanosleep = FUNCTION;
- mq_reltimedreceive_np = FUNCTION;
- mq_reltimedsend_np = FUNCTION;
- mq_timedreceive = FUNCTION;
- mq_timedsend = FUNCTION;
- sem_reltimedwait_np = FUNCTION;
- sem_timedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- aio_waitn = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- close = NODIRECT FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- fork = NODIRECT FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- aio_cancel = FUNCTION;
- aio_error = FUNCTION;
- aio_fsync = FUNCTION;
- aio_read = FUNCTION;
- aio_return = FUNCTION;
- aio_suspend = FUNCTION;
- aio_write = FUNCTION;
- clock_getres = FUNCTION;
- clock_gettime = FUNCTION;
- clock_settime = FUNCTION;
- fdatasync = FUNCTION;
- lio_listio = FUNCTION;
- mq_close = FUNCTION;
- mq_getattr = FUNCTION;
- mq_notify = FUNCTION;
- mq_open = FUNCTION;
- mq_receive = FUNCTION;
- mq_send = FUNCTION;
- mq_setattr = FUNCTION;
- mq_unlink = FUNCTION;
- nanosleep = FUNCTION;
- sched_getparam = FUNCTION;
- sched_get_priority_max = FUNCTION;
- sched_get_priority_min = FUNCTION;
- sched_getscheduler = FUNCTION;
- sched_rr_get_interval = FUNCTION;
- sched_setparam = FUNCTION;
- sched_setscheduler = FUNCTION;
- sched_yield = FUNCTION;
- sem_close = FUNCTION;
- sem_destroy = FUNCTION;
- sem_getvalue = FUNCTION;
- sem_init = FUNCTION;
- sem_open = FUNCTION;
- sem_post = FUNCTION;
- sem_trywait = FUNCTION;
- sem_unlink = FUNCTION;
- sem_wait = FUNCTION;
- shm_open = FUNCTION;
- shm_unlink = FUNCTION;
- sigqueue = FUNCTION;
- sigtimedwait = FUNCTION;
- sigwaitinfo = FUNCTION;
- timer_create = FUNCTION;
- timer_delete = FUNCTION;
- timer_getoverrun = FUNCTION;
- timer_gettime = FUNCTION;
- timer_settime = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- SUNWprivate_1.1;
-};
diff --git a/usr/src/lib/librt/common/mapfile-vers b/usr/src/lib/librt/common/mapfile-vers
new file mode 100644
index 0000000000..69484ef84a
--- /dev/null
+++ b/usr/src/lib/librt/common/mapfile-vers
@@ -0,0 +1,145 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+#
+
+#
+# MAPFILE HEADER START
+#
+# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+# usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+
+#
+# DO NOT TOUCH THIS FILE.
+# This file declares interfaces that are cast in stone.
+# They offer interfaces that will never change.
+# DO NOT TOUCH THIS FILE.
+#
+
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.4 {
+ global:
+ clock_nanosleep { TYPE = FUNCTION };
+ mq_reltimedreceive_np { TYPE = FUNCTION };
+ mq_reltimedsend_np { TYPE = FUNCTION };
+ mq_timedreceive { TYPE = FUNCTION };
+ mq_timedsend { TYPE = FUNCTION };
+ sem_reltimedwait_np { TYPE = FUNCTION };
+ sem_timedwait { TYPE = FUNCTION };
+ local:
+ *;
+} SUNW_1.3;
+
+SYMBOL_VERSION SUNW_1.3 {
+ global:
+ aio_waitn { TYPE = FUNCTION };
+$if _ELF32
+ aio_waitn64 { TYPE = FUNCTION };
+$endif
+} SUNW_1.2;
+
+SYMBOL_VERSION SUNW_1.2 {
+ global:
+ close { TYPE = FUNCTION; FLAGS = NODIRECT };
+} SUNW_1.1;
+
+SYMBOL_VERSION SUNW_1.1 {
+ global:
+ fork { TYPE = FUNCTION; FLAGS = NODIRECT };
+
+$if _ELF32
+ aio_cancel64 { TYPE = FUNCTION };
+ aio_error64 { TYPE = FUNCTION };
+ aio_fsync64 { TYPE = FUNCTION };
+ aio_read64 { TYPE = FUNCTION };
+ aio_return64 { TYPE = FUNCTION };
+ aio_suspend64 { TYPE = FUNCTION };
+ aio_write64 { TYPE = FUNCTION };
+ lio_listio64 { TYPE = FUNCTION };
+$endif
+} SUNW_0.7;
+
+SYMBOL_VERSION SUNW_0.7 {
+ global:
+ aio_cancel { TYPE = FUNCTION };
+ aio_error { TYPE = FUNCTION };
+ aio_fsync { TYPE = FUNCTION };
+ aio_read { TYPE = FUNCTION };
+ aio_return { TYPE = FUNCTION };
+ aio_suspend { TYPE = FUNCTION };
+ aio_write { TYPE = FUNCTION };
+ clock_getres { TYPE = FUNCTION };
+ clock_gettime { TYPE = FUNCTION };
+ clock_settime { TYPE = FUNCTION };
+ fdatasync { TYPE = FUNCTION };
+ lio_listio { TYPE = FUNCTION };
+ mq_close { TYPE = FUNCTION };
+ mq_getattr { TYPE = FUNCTION };
+ mq_notify { TYPE = FUNCTION };
+ mq_open { TYPE = FUNCTION };
+ mq_receive { TYPE = FUNCTION };
+ mq_send { TYPE = FUNCTION };
+ mq_setattr { TYPE = FUNCTION };
+ mq_unlink { TYPE = FUNCTION };
+ nanosleep { TYPE = FUNCTION };
+ sched_getparam { TYPE = FUNCTION };
+ sched_get_priority_max { TYPE = FUNCTION };
+ sched_get_priority_min { TYPE = FUNCTION };
+ sched_getscheduler { TYPE = FUNCTION };
+ sched_rr_get_interval { TYPE = FUNCTION };
+ sched_setparam { TYPE = FUNCTION };
+ sched_setscheduler { TYPE = FUNCTION };
+ sched_yield { TYPE = FUNCTION };
+ sem_close { TYPE = FUNCTION };
+ sem_destroy { TYPE = FUNCTION };
+ sem_getvalue { TYPE = FUNCTION };
+ sem_init { TYPE = FUNCTION };
+ sem_open { TYPE = FUNCTION };
+ sem_post { TYPE = FUNCTION };
+ sem_trywait { TYPE = FUNCTION };
+ sem_unlink { TYPE = FUNCTION };
+ sem_wait { TYPE = FUNCTION };
+ shm_open { TYPE = FUNCTION };
+ shm_unlink { TYPE = FUNCTION };
+ sigqueue { TYPE = FUNCTION };
+ sigtimedwait { TYPE = FUNCTION };
+ sigwaitinfo { TYPE = FUNCTION };
+ timer_create { TYPE = FUNCTION };
+ timer_delete { TYPE = FUNCTION };
+ timer_getoverrun { TYPE = FUNCTION };
+ timer_gettime { TYPE = FUNCTION };
+ timer_settime { TYPE = FUNCTION };
+};
+
+SYMBOL_VERSION SUNWprivate_1.1 {
+ global:
+ SUNWprivate_1.1;
+};
diff --git a/usr/src/lib/librt/i386/mapfile-vers b/usr/src/lib/librt/i386/mapfile-vers
deleted file mode 100644
index 2a87dac2ae..0000000000
--- a/usr/src/lib/librt/i386/mapfile-vers
+++ /dev/null
@@ -1,139 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- clock_nanosleep = FUNCTION;
- mq_reltimedreceive_np = FUNCTION;
- mq_reltimedsend_np = FUNCTION;
- mq_timedreceive = FUNCTION;
- mq_timedsend = FUNCTION;
- sem_reltimedwait_np = FUNCTION;
- sem_timedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- aio_waitn = FUNCTION;
- aio_waitn64 = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- close = NODIRECT FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- aio_cancel64 = FUNCTION;
- aio_error64 = FUNCTION;
- aio_fsync64 = FUNCTION;
- aio_read64 = FUNCTION;
- aio_return64 = FUNCTION;
- aio_suspend64 = FUNCTION;
- aio_write64 = FUNCTION;
- fork = NODIRECT FUNCTION;
- lio_listio64 = FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- aio_cancel = FUNCTION;
- aio_error = FUNCTION;
- aio_fsync = FUNCTION;
- aio_read = FUNCTION;
- aio_return = FUNCTION;
- aio_suspend = FUNCTION;
- aio_write = FUNCTION;
- clock_getres = FUNCTION;
- clock_gettime = FUNCTION;
- clock_settime = FUNCTION;
- fdatasync = FUNCTION;
- lio_listio = FUNCTION;
- mq_close = FUNCTION;
- mq_getattr = FUNCTION;
- mq_notify = FUNCTION;
- mq_open = FUNCTION;
- mq_receive = FUNCTION;
- mq_send = FUNCTION;
- mq_setattr = FUNCTION;
- mq_unlink = FUNCTION;
- nanosleep = FUNCTION;
- sched_getparam = FUNCTION;
- sched_get_priority_max = FUNCTION;
- sched_get_priority_min = FUNCTION;
- sched_getscheduler = FUNCTION;
- sched_rr_get_interval = FUNCTION;
- sched_setparam = FUNCTION;
- sched_setscheduler = FUNCTION;
- sched_yield = FUNCTION;
- sem_close = FUNCTION;
- sem_destroy = FUNCTION;
- sem_getvalue = FUNCTION;
- sem_init = FUNCTION;
- sem_open = FUNCTION;
- sem_post = FUNCTION;
- sem_trywait = FUNCTION;
- sem_unlink = FUNCTION;
- sem_wait = FUNCTION;
- shm_open = FUNCTION;
- shm_unlink = FUNCTION;
- sigqueue = FUNCTION;
- sigtimedwait = FUNCTION;
- sigwaitinfo = FUNCTION;
- timer_create = FUNCTION;
- timer_delete = FUNCTION;
- timer_getoverrun = FUNCTION;
- timer_gettime = FUNCTION;
- timer_settime = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- SUNWprivate_1.1;
-};
diff --git a/usr/src/lib/librt/sparc/mapfile-vers b/usr/src/lib/librt/sparc/mapfile-vers
deleted file mode 100644
index 2a87dac2ae..0000000000
--- a/usr/src/lib/librt/sparc/mapfile-vers
+++ /dev/null
@@ -1,139 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- clock_nanosleep = FUNCTION;
- mq_reltimedreceive_np = FUNCTION;
- mq_reltimedsend_np = FUNCTION;
- mq_timedreceive = FUNCTION;
- mq_timedsend = FUNCTION;
- sem_reltimedwait_np = FUNCTION;
- sem_timedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- aio_waitn = FUNCTION;
- aio_waitn64 = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- close = NODIRECT FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- aio_cancel64 = FUNCTION;
- aio_error64 = FUNCTION;
- aio_fsync64 = FUNCTION;
- aio_read64 = FUNCTION;
- aio_return64 = FUNCTION;
- aio_suspend64 = FUNCTION;
- aio_write64 = FUNCTION;
- fork = NODIRECT FUNCTION;
- lio_listio64 = FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- aio_cancel = FUNCTION;
- aio_error = FUNCTION;
- aio_fsync = FUNCTION;
- aio_read = FUNCTION;
- aio_return = FUNCTION;
- aio_suspend = FUNCTION;
- aio_write = FUNCTION;
- clock_getres = FUNCTION;
- clock_gettime = FUNCTION;
- clock_settime = FUNCTION;
- fdatasync = FUNCTION;
- lio_listio = FUNCTION;
- mq_close = FUNCTION;
- mq_getattr = FUNCTION;
- mq_notify = FUNCTION;
- mq_open = FUNCTION;
- mq_receive = FUNCTION;
- mq_send = FUNCTION;
- mq_setattr = FUNCTION;
- mq_unlink = FUNCTION;
- nanosleep = FUNCTION;
- sched_getparam = FUNCTION;
- sched_get_priority_max = FUNCTION;
- sched_get_priority_min = FUNCTION;
- sched_getscheduler = FUNCTION;
- sched_rr_get_interval = FUNCTION;
- sched_setparam = FUNCTION;
- sched_setscheduler = FUNCTION;
- sched_yield = FUNCTION;
- sem_close = FUNCTION;
- sem_destroy = FUNCTION;
- sem_getvalue = FUNCTION;
- sem_init = FUNCTION;
- sem_open = FUNCTION;
- sem_post = FUNCTION;
- sem_trywait = FUNCTION;
- sem_unlink = FUNCTION;
- sem_wait = FUNCTION;
- shm_open = FUNCTION;
- shm_unlink = FUNCTION;
- sigqueue = FUNCTION;
- sigtimedwait = FUNCTION;
- sigwaitinfo = FUNCTION;
- timer_create = FUNCTION;
- timer_delete = FUNCTION;
- timer_getoverrun = FUNCTION;
- timer_gettime = FUNCTION;
- timer_settime = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- SUNWprivate_1.1;
-};
diff --git a/usr/src/lib/librt/sparcv9/mapfile-vers b/usr/src/lib/librt/sparcv9/mapfile-vers
deleted file mode 100644
index 35b7f66ec3..0000000000
--- a/usr/src/lib/librt/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,130 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.4 {
- global:
- clock_nanosleep = FUNCTION;
- mq_reltimedreceive_np = FUNCTION;
- mq_reltimedsend_np = FUNCTION;
- mq_timedreceive = FUNCTION;
- mq_timedsend = FUNCTION;
- sem_reltimedwait_np = FUNCTION;
- sem_timedwait = FUNCTION;
- local:
- *;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- aio_waitn = FUNCTION;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- close = NODIRECT FUNCTION;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- fork = NODIRECT FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- aio_cancel = FUNCTION;
- aio_error = FUNCTION;
- aio_fsync = FUNCTION;
- aio_read = FUNCTION;
- aio_return = FUNCTION;
- aio_suspend = FUNCTION;
- aio_write = FUNCTION;
- clock_getres = FUNCTION;
- clock_gettime = FUNCTION;
- clock_settime = FUNCTION;
- fdatasync = FUNCTION;
- lio_listio = FUNCTION;
- mq_close = FUNCTION;
- mq_getattr = FUNCTION;
- mq_notify = FUNCTION;
- mq_open = FUNCTION;
- mq_receive = FUNCTION;
- mq_send = FUNCTION;
- mq_setattr = FUNCTION;
- mq_unlink = FUNCTION;
- nanosleep = FUNCTION;
- sched_getparam = FUNCTION;
- sched_get_priority_max = FUNCTION;
- sched_get_priority_min = FUNCTION;
- sched_getscheduler = FUNCTION;
- sched_rr_get_interval = FUNCTION;
- sched_setparam = FUNCTION;
- sched_setscheduler = FUNCTION;
- sched_yield = FUNCTION;
- sem_close = FUNCTION;
- sem_destroy = FUNCTION;
- sem_getvalue = FUNCTION;
- sem_init = FUNCTION;
- sem_open = FUNCTION;
- sem_post = FUNCTION;
- sem_trywait = FUNCTION;
- sem_unlink = FUNCTION;
- sem_wait = FUNCTION;
- shm_open = FUNCTION;
- shm_unlink = FUNCTION;
- sigqueue = FUNCTION;
- sigtimedwait = FUNCTION;
- sigwaitinfo = FUNCTION;
- timer_create = FUNCTION;
- timer_delete = FUNCTION;
- timer_getoverrun = FUNCTION;
- timer_gettime = FUNCTION;
- timer_settime = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- SUNWprivate_1.1;
-};
diff --git a/usr/src/lib/libsasl/lib/mapfile-vers b/usr/src/lib/libsasl/lib/mapfile-vers
index 8cbc4e8262..620e30638a 100644
--- a/usr/src/lib/libsasl/lib/mapfile-vers
+++ b/usr/src/lib/libsasl/lib/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
prop_clear;
prop_dispose;
@@ -90,7 +91,7 @@ SUNW_1.1 {
sasl_version;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_sasl_auxprop_add_plugin;
_sasl_canonuser_add_plugin;
diff --git a/usr/src/lib/libscf/common/mapfile-vers b/usr/src/lib/libscf/common/mapfile-vers
index b3ae93f4d1..29d0911937 100644
--- a/usr/src/lib/libscf/common/mapfile-vers
+++ b/usr/src/lib/libscf/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
scf_count_ranges_destroy;
scf_int_ranges_destroy;
@@ -92,7 +94,7 @@ SUNW_1.2 {
scf_values_destroy;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
scf_entry_add_value;
scf_entry_create;
@@ -270,7 +272,7 @@ SUNW_1.1 {
smf_restore_instance;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
gen_filenms_from_fmri;
scf_canonify_fmri;
diff --git a/usr/src/lib/libsched/common/mapfile-vers b/usr/src/lib/libsched/common/mapfile-vers
index 4f0ac0af93..06c27e072e 100644
--- a/usr/src/lib/libsched/common/mapfile-vers
+++ b/usr/src/lib/libsched/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,11 +35,13 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- schedctl_exit = FUNCTION;
- schedctl_init = FUNCTION;
- schedctl_lookup = FUNCTION;
+ schedctl_exit { TYPE = FUNCTION };
+ schedctl_init { TYPE = FUNCTION };
+ schedctl_lookup { TYPE = FUNCTION };
local:
*;
};
diff --git a/usr/src/lib/libsctp/common/mapfile-vers b/usr/src/lib/libsctp/common/mapfile-vers
index dea613cd28..b5875c3d52 100644
--- a/usr/src/lib/libsctp/common/mapfile-vers
+++ b/usr/src/lib/libsctp/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
sctp_bindx;
sctp_freeladdrs;
diff --git a/usr/src/lib/libsec/common/mapfile-vers b/usr/src/lib/libsec/common/mapfile-vers
index be8f5c0a34..87e9ea6019 100644
--- a/usr/src/lib/libsec/common/mapfile-vers
+++ b/usr/src/lib/libsec/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
acl_check;
acl_free;
@@ -55,12 +56,12 @@ SUNW_1.2 {
# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.9;
-SUNW_0.9 {
+SYMBOL_VERSION SUNW_0.9 {
global:
aclcheck;
aclfrommode;
@@ -70,7 +71,7 @@ SUNW_0.9 {
acltotext;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
acl_addentries;
acl_alloc;
diff --git a/usr/src/lib/libsecdb/common/mapfile-vers b/usr/src/lib/libsecdb/common/mapfile-vers
index 87d4e1ada5..b184473b9e 100644
--- a/usr/src/lib/libsecdb/common/mapfile-vers
+++ b/usr/src/lib/libsecdb/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
chkauthattr;
endauthattr;
@@ -68,7 +70,7 @@ SUNW_1.1 {
setuserattr;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_argv_to_csl;
_auth_match;
diff --git a/usr/src/lib/libsendfile/Makefile.com b/usr/src/lib/libsendfile/Makefile.com
index 742e1c93a7..5a6a30574c 100644
--- a/usr/src/lib/libsendfile/Makefile.com
+++ b/usr/src/lib/libsendfile/Makefile.com
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libsendfile.a
@@ -36,8 +33,6 @@ include ../../Makefile.rootfs
SRCDIR = ../common
-MAPFILES += $(MAPFILE32)
-
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LIBS = $(DYNLIB) $(LINTLIB)
diff --git a/usr/src/lib/libsendfile/common/mapfile-vers b/usr/src/lib/libsendfile/common/mapfile-vers
index 702fd9db06..43856c744c 100644
--- a/usr/src/lib/libsendfile/common/mapfile-vers
+++ b/usr/src/lib/libsendfile/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,10 +36,18 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
sendfile;
sendfilev;
+
+$if _ELF32 # largefile interfaces for 32-bit applications
+ sendfile64;
+ sendfilev64;
+$endif
+
local:
*;
};
diff --git a/usr/src/lib/libsendfile/common/mapfile32-vers b/usr/src/lib/libsendfile/common/mapfile32-vers
deleted file mode 100644
index 928b6bf6b4..0000000000
--- a/usr/src/lib/libsendfile/common/mapfile32-vers
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_1.1 { # largefile interfaces for 32-bit applications
- global:
- sendfile64;
- sendfilev64;
-};
diff --git a/usr/src/lib/libsendfile/i386/Makefile b/usr/src/lib/libsendfile/i386/Makefile
index a579a6b1b6..3d5b9051f3 100644
--- a/usr/src/lib/libsendfile/i386/Makefile
+++ b/usr/src/lib/libsendfile/i386/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libsendfile/sparc/Makefile b/usr/src/lib/libsendfile/sparc/Makefile
index a579a6b1b6..3d5b9051f3 100644
--- a/usr/src/lib/libsendfile/sparc/Makefile
+++ b/usr/src/lib/libsendfile/sparc/Makefile
@@ -19,13 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libshare/common/mapfile-vers b/usr/src/lib/libshare/common/mapfile-vers
index e0b1fa56f7..7314caf827 100644
--- a/usr/src/lib/libshare/common/mapfile-vers
+++ b/usr/src/lib/libshare/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
sa_get_optionset;
sa_create_property;
diff --git a/usr/src/lib/libshare/nfs/mapfile-vers b/usr/src/lib/libshare/nfs/mapfile-vers
index 542c371906..018d6a1e43 100644
--- a/usr/src/lib/libshare/nfs/mapfile-vers
+++ b/usr/src/lib/libshare/nfs/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
sa_plugin_ops;
local:
diff --git a/usr/src/lib/libshare/smb/mapfile-vers b/usr/src/lib/libshare/smb/mapfile-vers
index 542c371906..018d6a1e43 100644
--- a/usr/src/lib/libshare/smb/mapfile-vers
+++ b/usr/src/lib/libshare/smb/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
sa_plugin_ops;
local:
diff --git a/usr/src/lib/libshare/smbfs/mapfile-vers b/usr/src/lib/libshare/smbfs/mapfile-vers
index 542c371906..6bd21f5016 100644
--- a/usr/src/lib/libshare/smbfs/mapfile-vers
+++ b/usr/src/lib/libshare/smbfs/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
sa_plugin_ops;
local:
diff --git a/usr/src/lib/libshell/mapfile-vers b/usr/src/lib/libshell/mapfile-vers
index abe0b3a59d..4120084852 100644
--- a/usr/src/lib/libshell/mapfile-vers
+++ b/usr/src/lib/libshell/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
sh_bltin_tree;
sh_subfork;
@@ -130,7 +131,7 @@ SUNWprivate_1.1 {
# (see libshell/common/include/builtins.h)
# Note: We have to export all the |b_*()| symbols that the "builtin" command
# can load builtins which are not enabled by the default OS/Net configuration.
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
B_echo;
B_login;
diff --git a/usr/src/lib/libsip/common/mapfile-vers b/usr/src/lib/libsip/common/mapfile-vers
index fa9448b04a..167c901d09 100644
--- a/usr/src/lib/libsip/common/mapfile-vers
+++ b/usr/src/lib/libsip/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
sip_create_dialog_req_nocontact;
sip_get_dialog_local_contact_uri;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
sip_init_conn_object;
sip_clear_stale_data;
diff --git a/usr/src/lib/libsldap/common/mapfile-vers b/usr/src/lib/libsldap/common/mapfile-vers
index e043513adf..e511edf76b 100644
--- a/usr/src/lib/libsldap/common/mapfile-vers
+++ b/usr/src/lib/libsldap/common/mapfile-vers
@@ -19,15 +19,30 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
+$mapfile_version 2
+
+#
+# MAPFILE HEADER START
+#
+# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+# usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.1
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__ns_ldap_cancelStandalone;
__ns_ldap_check_all_preq;
@@ -48,7 +63,7 @@ SUNWprivate_1.1 {
__s_api_ip2hostname;
} SUNWprivate_1.0;
-SUNWprivate_1.0 {
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
__getldapaliasbyname;
__ns_ldap_addAttr;
diff --git a/usr/src/lib/libslp/clib/mapfile-vers b/usr/src/lib/libslp/clib/mapfile-vers
index 5e071e12e0..57b3f8fa29 100644
--- a/usr/src/lib/libslp/clib/mapfile-vers
+++ b/usr/src/lib/libslp/clib/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SLPClose;
SLPDelAttrs;
@@ -58,7 +59,7 @@ SUNW_1.1 {
SLPUnescape;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
Java_com_sun_slp_Syslog_syslog;
local:
diff --git a/usr/src/lib/libsmbfs/smb/mapfile-vers b/usr/src/lib/libsmbfs/smb/mapfile-vers
index 4cf82af26b..b86cbf4a89 100644
--- a/usr/src/lib/libsmbfs/smb/mapfile-vers
+++ b/usr/src/lib/libsmbfs/smb/mapfile-vers
@@ -18,8 +18,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
convert_leunicode_to_utf8;
convert_unicode_to_utf8;
@@ -91,7 +92,7 @@ SUNWprivate {
smb_ctx_setuser;
smb_ctx_setwins;
- smb_debug = NODIRECT; # data
+ smb_debug { FLAGS = NODIRECT }; # data
smb_error;
#
# Functions to support named pipes
@@ -126,7 +127,7 @@ SUNWprivate {
smb_rap_setNparam;
smb_rap_setPparam;
#
- smb_verbose = NODIRECT; # data
+ smb_verbose { FLAGS = NODIRECT }; # data
#
# Functions to support Access Control Lists (ACLs)
smbfs_acl_free_sd;
diff --git a/usr/src/lib/libsmbios/common/mapfile-vers b/usr/src/lib/libsmbios/common/mapfile-vers
index f1223e1ffa..326204c4db 100644
--- a/usr/src/lib/libsmbios/common/mapfile-vers
+++ b/usr/src/lib/libsmbios/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_smb_debug;
smbios_bboard_flag_desc;
diff --git a/usr/src/lib/libsmedia/library/common/mapfile-vers b/usr/src/lib/libsmedia/library/common/mapfile-vers
index a5311f12c0..5b276eb25c 100644
--- a/usr/src/lib/libsmedia/library/common/mapfile-vers
+++ b/usr/src/lib/libsmedia/library/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
smedia_check_format_status;
smedia_eject;
diff --git a/usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers b/usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers
index 3738ddd493..b7bdd1b89f 100644
--- a/usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers
+++ b/usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_m_device_type;
_m_eject;
diff --git a/usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers b/usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers
index 5a68e8b8ac..9bf0fa1ee1 100644
--- a/usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers
+++ b/usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_m_device_type;
_m_free_device_info;
diff --git a/usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers b/usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers
index a8cb5d1bf6..f0c22cd99b 100644
--- a/usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers
+++ b/usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_m_check_format_status;
_m_device_type;
diff --git a/usr/src/lib/libsocket/Makefile.com b/usr/src/lib/libsocket/Makefile.com
index f1e7a0af99..e2dd0778df 100644
--- a/usr/src/lib/libsocket/Makefile.com
+++ b/usr/src/lib/libsocket/Makefile.com
@@ -20,8 +20,7 @@
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libsocket.a
@@ -50,8 +49,6 @@ LDLIBS += -lnsl -lc
SRCDIR = ../common
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-MAPFILES += mapfile-vers
-
# Make string literals read-only to save memory.
CFLAGS += $(XSTRCONST)
CFLAGS64 += $(XSTRCONST)
diff --git a/usr/src/lib/libsocket/amd64/mapfile-vers b/usr/src/lib/libsocket/amd64/mapfile-vers
deleted file mode 100644
index bd01894ed0..0000000000
--- a/usr/src/lib/libsocket/amd64/mapfile-vers
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- accept;
- bind;
- connect;
- getpeername;
- getprotobyname;
- getprotobynumber;
- getprotoent;
- getservbyname;
- getservbyport;
- getsockname;
- getsockopt;
- inet_lnaof;
- inet_makeaddr;
- inet_network;
- listen;
- recv;
- recvfrom;
- recvmsg;
- send;
- sendmsg;
- sendto;
- setsockopt;
- shutdown;
- socket;
-};
diff --git a/usr/src/lib/libsocket/common/mapfile-vers b/usr/src/lib/libsocket/common/mapfile-vers
index b71b64968d..4ecd9350f2 100644
--- a/usr/src/lib/libsocket/common/mapfile-vers
+++ b/usr/src/lib/libsocket/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.7 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.7 {
global:
freeifaddrs;
getifaddrs;
} SUNW_1.6;
-SUNW_1.6 {
+SYMBOL_VERSION SUNW_1.6 {
global:
getipv4sourcefilter;
getsourcefilter;
@@ -51,7 +52,7 @@ SUNW_1.6 {
setsourcefilter;
} SUNW_1.5;
-SUNW_1.5 {
+SYMBOL_VERSION SUNW_1.5 {
global:
inet6_opt_append;
inet6_opt_find;
@@ -70,7 +71,7 @@ SUNW_1.5 {
__xnet_getaddrinfo;
} SUNW_1.4;
-SUNW_1.4 {
+SYMBOL_VERSION SUNW_1.4 {
global:
freeaddrinfo;
gai_strerror;
@@ -91,17 +92,17 @@ SUNW_1.4 {
# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
# Don't add any symbols to these versions.
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
global:
SUNW_1.3;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
__xnet_bind;
__xnet_connect;
@@ -114,7 +115,7 @@ SUNW_1.1 {
__xnet_socketpair;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
endnetent;
endprotoent;
@@ -137,10 +138,10 @@ SUNW_0.7 {
getservbyport_r;
getservent;
getservent_r;
- htonl = FUNCTION FILTER libc.so.1;
- htons = FUNCTION FILTER libc.so.1;
- ntohl = FUNCTION FILTER libc.so.1;
- ntohs = FUNCTION FILTER libc.so.1;
+ htonl { TYPE = FUNCTION; FILTER = libc.so.1 };
+ htons { TYPE = FUNCTION; FILTER = libc.so.1 };
+ ntohl { TYPE = FUNCTION; FILTER = libc.so.1 };
+ ntohs { TYPE = FUNCTION; FILTER = libc.so.1 };
rcmd;
rexec;
rresvport;
@@ -149,12 +150,46 @@ SUNW_0.7 {
setprotoent;
setservent;
socketpair;
+
+ # For ABI reasons, the following symbols are in SISCD_2.3 on 32-bit
+ # sparc, which is inherited by SUNW_0.7. On all other platforms,
+ # they are simply in SUNW_0.7
+$if _sparc && _ELF32
+} SISCD_2.3;
+
+SYMBOL_VERSION SISCD_2.3 {
+ global:
+$endif
+ accept;
+ bind;
+ connect;
+ getpeername;
+ getprotobyname;
+ getprotobynumber;
+ getprotoent;
+ getservbyname;
+ getservbyport;
+ getsockname;
+ getsockopt;
+ inet_lnaof;
+ inet_makeaddr;
+ inet_network;
+ listen;
+ recv;
+ recvfrom;
+ recvmsg;
+ send;
+ sendmsg;
+ sendto;
+ setsockopt;
+ shutdown;
+ socket;
};
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.3
-SUNWprivate_1.3 {
+SYMBOL_VERSION SUNWprivate_1.3 {
global:
_link_aton;
_link_ntoa;
@@ -171,13 +206,13 @@ SUNWprivate_1.3 {
str2protoent;
} SUNWprivate_1.2;
-SUNWprivate_1.2 {
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
getnetmaskbyaddr;
getnetmaskbynet;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_accept;
_bind;
diff --git a/usr/src/lib/libsocket/i386/mapfile-vers b/usr/src/lib/libsocket/i386/mapfile-vers
deleted file mode 100644
index bd01894ed0..0000000000
--- a/usr/src/lib/libsocket/i386/mapfile-vers
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- accept;
- bind;
- connect;
- getpeername;
- getprotobyname;
- getprotobynumber;
- getprotoent;
- getservbyname;
- getservbyport;
- getsockname;
- getsockopt;
- inet_lnaof;
- inet_makeaddr;
- inet_network;
- listen;
- recv;
- recvfrom;
- recvmsg;
- send;
- sendmsg;
- sendto;
- setsockopt;
- shutdown;
- socket;
-};
diff --git a/usr/src/lib/libsocket/sparc/mapfile-vers b/usr/src/lib/libsocket/sparc/mapfile-vers
deleted file mode 100644
index 572458f5cc..0000000000
--- a/usr/src/lib/libsocket/sparc/mapfile-vers
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
-} SISCD_2.3;
-
-SISCD_2.3 {
- global:
- accept;
- bind;
- connect;
- getpeername;
- getprotobyname;
- getprotobynumber;
- getprotoent;
- getservbyname;
- getservbyport;
- getsockname;
- getsockopt;
- inet_lnaof;
- inet_makeaddr;
- inet_network;
- listen;
- recv;
- recvfrom;
- recvmsg;
- send;
- sendmsg;
- sendto;
- setsockopt;
- shutdown;
- socket;
-};
diff --git a/usr/src/lib/libsocket/sparcv9/mapfile-vers b/usr/src/lib/libsocket/sparcv9/mapfile-vers
deleted file mode 100644
index bd01894ed0..0000000000
--- a/usr/src/lib/libsocket/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- accept;
- bind;
- connect;
- getpeername;
- getprotobyname;
- getprotobynumber;
- getprotoent;
- getservbyname;
- getservbyport;
- getsockname;
- getsockopt;
- inet_lnaof;
- inet_makeaddr;
- inet_network;
- listen;
- recv;
- recvfrom;
- recvmsg;
- send;
- sendmsg;
- sendto;
- setsockopt;
- shutdown;
- socket;
-};
diff --git a/usr/src/lib/libsqlite/mapfile-sqlite b/usr/src/lib/libsqlite/mapfile-sqlite
index b68d3c1881..7dbdf5d2be 100644
--- a/usr/src/lib/libsqlite/mapfile-sqlite
+++ b/usr/src/lib/libsqlite/mapfile-sqlite
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -21,7 +20,9 @@
# Defines the public interface to sqlite
#
-{
+$mapfile_version 2
+
+SYMBOL_SCOPE {
global:
# exported functions
sqlite_open;
diff --git a/usr/src/lib/libstmf/common/mapfile-vers b/usr/src/lib/libstmf/common/mapfile-vers
index 873c56f4ae..ade03df69a 100644
--- a/usr/src/lib/libstmf/common/mapfile-vers
+++ b/usr/src/lib/libstmf/common/mapfile-vers
@@ -34,7 +34,9 @@
#
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
stmfAddToHostGroup;
stmfAddToTargetGroup;
@@ -97,7 +99,7 @@ SUNW_1.1 {
*;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
stmfLoadConfig;
stmfLoadStmfProps;
diff --git a/usr/src/lib/libstmfproxy/common/mapfile-vers b/usr/src/lib/libstmfproxy/common/mapfile-vers
index ad13e5ce38..2502068502 100644
--- a/usr/src/lib/libstmfproxy/common/mapfile-vers
+++ b/usr/src/lib/libstmfproxy/common/mapfile-vers
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -35,14 +34,17 @@
#
# MAPFILE HEADER END
#
-SUNW_1.1 {
+
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
stmf_proxy_transport_init;
local:
*;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
local:
*;
diff --git a/usr/src/lib/libsum/mapfile-vers b/usr/src/lib/libsum/mapfile-vers
index 22dc98fcd0..c17c8e8001 100644
--- a/usr/src/lib/libsum/mapfile-vers
+++ b/usr/src/lib/libsum/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
sumopen;
suminit;
diff --git a/usr/src/lib/libsun_ima/common/mapfile-vers b/usr/src/lib/libsun_ima/common/mapfile-vers
index 1709c877ba..7e5127fcd6 100644
--- a/usr/src/lib/libsun_ima/common/mapfile-vers
+++ b/usr/src/lib/libsun_ima/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
IMA_GetPluginProperties;
IMA_GetLhbaOidList;
diff --git a/usr/src/lib/libsys/Makefile.com b/usr/src/lib/libsys/Makefile.com
index 86630ea862..cd829c5c1b 100644
--- a/usr/src/lib/libsys/Makefile.com
+++ b/usr/src/lib/libsys/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libsys.a
@@ -30,7 +29,6 @@ VERS = .1
# the soname.
SONAME = /usr/lib/ld.so.1
DYNFLAGS += -F /usr/lib/libc.so.1
-MAPFILEDIR = . # redirect mapfile-vers
COMSRC = $(COMOBJ:%.o=%.c)
MACHSRC = $(MACHOBJ:%.o=%.s)
diff --git a/usr/src/lib/libsys/sparc/mapfile-vers b/usr/src/lib/libsys/common/mapfile-vers
index 01dc7ecd0f..c847354409 100644
--- a/usr/src/lib/libsys/sparc/mapfile-vers
+++ b/usr/src/lib/libsys/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,388 +35,417 @@
# MAPFILE HEADER END
#
-SISCD_2.3 {
+$mapfile_version 2
+
+$if !_ELF32
+$error libsys is only supported in 32-bit form
+$endif
+
+$if _sparc
+SYMBOL_VERSION SISCD_2.3 {
global:
SISCD_2.3;
- local:
- *;
} SYSVABI_1.3;
+$endif
-SYSVABI_1.3 {
+SYMBOL_VERSION SYSVABI_1.3 {
global:
- makecontext;
- swapcontext;
_makecontext;
+ makecontext;
_swapcontext;
+ swapcontext;
+ local:
+ *;
} SYSVABI_1.2;
-SYSVABI_1.2 {
+SYMBOL_VERSION SYSVABI_1.2 {
global:
+ _access;
access;
+ _acct;
acct;
+ _alarm;
alarm;
+ _altzone;
atexit;
- .div;
- .mul;
- .rem;
- .stret1;
- .stret2;
- .stret4;
- .stret8;
- .udiv;
- .umul;
- .urem;
- _Q_add;
- _Q_cmp;
- _Q_cmpe;
- _Q_div;
- _Q_dtoq;
- _Q_feq;
- _Q_fge;
- _Q_fgt;
- _Q_fle;
- _Q_flt;
- _Q_fne;
- _Q_itoq;
- _Q_mul;
- _Q_neg;
- _Q_qtod;
- _Q_qtoi;
- _Q_qtos;
- _Q_qtou;
- _Q_sqrt;
- _Q_stoq;
- _Q_sub;
- _Q_utoq;
- chdir;
- fchdir;
- chmod;
- fchmod;
- chown;
- lchown;
- fchown;
- chroot;
- close;
- creat;
- closedir;
- opendir;
- readdir;
- rewinddir;
- seekdir;
- telldir;
- dup;
- __dtou;
- __ftou;
- _alarm;
- _fcntl;
- _fork;
- _rename;
- _sigaction;
- _siglongjmp;
- _sigprocmask;
- exit;
- _exit;
- fattach;
- fdetach;
- fcntl;
- fork;
- fpathconf;
- pathconf;
- fsync;
- ftok;
- getcontext;
- setcontext;
- getcwd;
- getgrnam;
- getgrgid;
- getgroups;
- setgroups;
- getlogin;
- getmsg;
- getpmsg;
- getpid;
- getpgrp;
- getppid;
- getpgid;
- getpwnam;
- getpwuid;
- getrlimit;
- setrlimit;
- getsid;
- gettxt;
- getuid;
- geteuid;
- getgid;
- getegid;
- grantpt;
- initgroups;
- ioctl;
- isastream;
- kill;
- link;
- localeconv;
- lseek;
- malloc;
calloc;
- free;
- realloc;
- memcntl;
- mkdir;
- mknod;
- mlock;
- munlock;
- mmap;
- mount;
- mprotect;
- msgctl;
- msgget;
- msgrcv;
- msgsnd;
- msync;
- munmap;
- nice;
- open;
- pause;
- pipe;
- poll;
- profil;
- ptrace;
- ptsname;
- putmsg;
- putpmsg;
- read;
- readv;
- readlink;
- remove;
- rename;
- rmdir;
- setlocale;
- setpgid;
- setpgrp;
- setsid;
- setuid;
- setgid;
- shmctl;
- shmget;
- shmat;
- shmdt;
- sigaction;
- sigaltstack;
- signal;
- sigset;
- sighold;
- sigrelse;
- sigignore;
- sigpause;
- sigemptyset;
- sigfillset;
- sigaddset;
- sigdelset;
- sigismember;
- sigpending;
- sigprocmask;
- sigsend;
- sigsendset;
- sigsuspend;
- stat;
- lstat;
- fstat;
- statvfs;
- fstatvfs;
- stime;
- strcoll;
- strerror;
- strftime;
- strxfrm;
- symlink;
- sync;
- sysconf;
- system;
- time;
- times;
- ttyname;
- ulimit;
- umask;
- umount;
- uname;
- unlink;
- unlockpt;
- utime;
- wait;
- waitid;
- waitpid;
- write;
- writev;
- __ctype;
- __huge_val;
- _access;
- _acct;
- _altzone;
_catclose;
+ catclose;
_catgets;
+ catgets;
_catopen;
+ catopen;
_chdir;
+ chdir;
_chmod;
+ chmod;
_chown;
+ chown;
_chroot;
+ chroot;
_close;
+ close;
_closedir;
+ closedir;
_creat;
+ creat;
+ __ctype;
_daylight;
+ daylight;
_dup;
+ dup;
_environ;
+ environ;
_execl;
+ execl;
_execle;
+ execle;
_execlp;
+ execlp;
_execv;
+ execv;
_execve;
+ execve;
_execvp;
+ execvp;
+ _exit;
+ exit;
_fattach;
+ fattach;
_fchdir;
+ fchdir;
_fchmod;
+ fchmod;
_fchown;
+ fchown;
+ _fcntl;
+ fcntl;
_fdetach;
+ fdetach;
+ _fork;
+ fork;
_fpathconf;
+ fpathconf;
+ free;
_fstat;
+ fstat;
_fstatvfs;
+ fstatvfs;
_fsync;
+ fsync;
_ftok;
+ ftok;
_getcontext;
+ getcontext;
_getcwd;
+ getcwd;
_getegid;
+ getegid;
_geteuid;
+ geteuid;
_getgid;
+ getgid;
_getgrgid;
+ getgrgid;
_getgrnam;
+ getgrnam;
_getgroups;
+ getgroups;
_getlogin;
+ getlogin;
_getmsg;
+ getmsg;
_getpgid;
+ getpgid;
_getpgrp;
+ getpgrp;
_getpid;
+ getpid;
_getpmsg;
+ getpmsg;
_getppid;
+ getppid;
_getpwnam;
+ getpwnam;
_getpwuid;
+ getpwuid;
_getrlimit;
+ getrlimit;
_getsid;
+ getsid;
_gettxt;
+ gettxt;
_getuid;
+ getuid;
_grantpt;
+ grantpt;
+ __huge_val;
_initgroups;
+ initgroups;
_ioctl;
+ ioctl;
_isastream;
+ isastream;
_kill;
+ kill;
_lchown;
+ lchown;
_link;
+ link;
+ localeconv;
_lseek;
+ lseek;
_lstat;
+ lstat;
+ malloc;
_memcntl;
+ memcntl;
_mkdir;
+ mkdir;
_mknod;
+ mknod;
_mlock;
- _mmap = NODYNSORT;
+ mlock;
+ mmap;
_mount;
+ mount;
_mprotect;
+ mprotect;
_msgctl;
+ msgctl;
_msgget;
+ msgget;
_msgrcv;
+ msgrcv;
_msgsnd;
+ msgsnd;
_msync;
+ msync;
_munlock;
+ munlock;
_munmap;
+ munmap;
_nice;
+ nice;
_numeric;
_open;
+ open;
_opendir;
+ opendir;
_pathconf;
+ pathconf;
_pause;
+ pause;
_pipe;
+ pipe;
_poll;
+ poll;
_profil;
+ profil;
_ptrace;
+ ptrace;
_ptsname;
+ ptsname;
_putmsg;
+ putmsg;
_putpmsg;
+ putpmsg;
_read;
+ read;
_readdir;
+ readdir;
_readlink;
+ readlink;
_readv;
+ readv;
+ realloc;
+ remove;
+ _rename;
+ rename;
_rewinddir;
+ rewinddir;
_rmdir;
+ rmdir;
_seekdir;
+ seekdir;
_semctl;
+ semctl;
_semget;
+ semget;
_semop;
+ semop;
_setcontext;
+ setcontext;
_setgid;
+ setgid;
_setgroups;
+ setgroups;
+ setlocale;
_setpgid;
+ setpgid;
_setpgrp;
+ setpgrp;
_setrlimit;
+ setrlimit;
_setsid;
+ setsid;
_setuid;
+ setuid;
_shmat;
+ shmat;
_shmctl;
+ shmctl;
_shmdt;
+ shmdt;
_shmget;
+ shmget;
+ _sigaction;
+ sigaction;
_sigaddset;
+ sigaddset;
_sigaltstack;
+ sigaltstack;
_sigdelset;
+ sigdelset;
_sigemptyset;
+ sigemptyset;
_sigfillset;
+ sigfillset;
_sighold;
+ sighold;
_sigignore;
+ sigignore;
_sigismember;
+ sigismember;
+ _siglongjmp;
+ siglongjmp;
+ signal;
_sigpause;
+ sigpause;
_sigpending;
+ sigpending;
+ _sigprocmask;
+ sigprocmask;
_sigrelse;
+ sigrelse;
_sigsend;
+ sigsend;
_sigsendset;
+ sigsendset;
_sigset;
+ sigset;
_sigsetjmp;
+ sigsetjmp;
_sigsuspend;
+ sigsuspend;
_stat;
+ stat;
_statvfs;
+ statvfs;
_stime;
+ stime;
+ strcoll;
+ strerror;
+ strftime;
+ strxfrm;
_symlink;
+ symlink;
_sync;
+ sync;
_sysconf;
+ sysconf;
+ system;
_telldir;
+ telldir;
_time;
+ time;
_times;
+ times;
_timezone;
+ timezone;
_ttyname;
+ ttyname;
_tzname;
+ tzname;
_ulimit;
+ ulimit;
_umask;
+ umask;
_umount;
+ umount;
_uname;
+ uname;
_unlink;
+ unlink;
_unlockpt;
+ unlockpt;
_utime;
+ utime;
_wait;
+ wait;
_waitid;
+ waitid;
_waitpid;
+ waitpid;
_write;
+ write;
_writev;
- catclose;
- catgets;
- catopen;
- daylight;
- environ;
- execl;
- execle;
- execlp;
- execv;
- execve;
- execvp;
- semctl;
- semget;
- semop;
- siglongjmp;
- sigsetjmp;
- timezone;
- tzname;
-};
+ writev;
+$if _sparc
+ # Sparc-only interfaces
+ _Q_add;
+ _Q_cmp;
+ _Q_cmpe;
+ _Q_div;
+ _Q_dtoq;
+ _Q_feq;
+ _Q_fge;
+ _Q_fgt;
+ _Q_fle;
+ _Q_flt;
+ _Q_fne;
+ _Q_itoq;
+ _Q_mul;
+ _Q_neg;
+ _Q_qtod;
+ _Q_qtoi;
+ _Q_qtos;
+ _Q_qtou;
+ _Q_sqrt;
+ _Q_stoq;
+ _Q_sub;
+ _Q_utoq;
+ .div;
+ __dtou;
+ __ftou;
+ _mmap { FLAGS = NODYNSORT };
+ .mul;
+ .rem;
+ .stret1;
+ .stret2;
+ .stret4;
+ .stret8;
+ .udiv;
+ .umul;
+ .urem;
+$endif
+
+$if _x86
+ # X86-only interfaces
+ __flt_rounds;
+ _fp_hw;
+ _fpstart;
+ _fxstat;
+ _lxstat;
+ _mmap;
+ _nuname;
+ nuname;
+ _sbrk;
+ sbrk;
+ _xmknod;
+ _xstat;
+$endif
+
+
+};
diff --git a/usr/src/lib/libsys/i386/mapfile-vers b/usr/src/lib/libsys/i386/mapfile-vers
deleted file mode 100644
index 3925b47925..0000000000
--- a/usr/src/lib/libsys/i386/mapfile-vers
+++ /dev/null
@@ -1,395 +0,0 @@
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SYSVABI_1.3 {
- global:
- _makecontext;
- makecontext;
- swapcontext;
- _swapcontext;
- local:
- *;
-} SYSVABI_1.2;
-
-SYSVABI_1.2 {
- global:
- _fdetach;
- munlock;
- geteuid;
- setlocale;
- lchown;
- _sigsendset;
- _tzname;
- execl;
- fattach;
- _getrlimit;
- _execlp;
- _getsid;
- _msgget;
- _rmdir;
- _ptsname;
- _waitpid;
- pathconf;
- sigfillset;
- profil;
- shmget;
- sysconf;
- __ctype;
- _getgrgid;
- _sigaddset;
- _ulimit;
- execle;
- fchown;
- fdetach;
- getgid;
- getgroups;
- __huge_val;
- _execv;
- _gettxt;
- _msgrcv;
- _sbrk;
- _grantpt;
- _sigsend;
- mprotect;
- ptrace;
- shmat;
- system;
- _access;
- _putpmsg;
- catclose;
- _umask;
- execlp;
- chroot;
- fcntl;
- getegid;
- fpathconf;
- sigaddset;
- _execve;
- _getuid;
- _msgsnd;
- _semctl;
- _getgrnam;
- _sigismember;
- setgroups;
- _catclose;
- ptsname;
- shmdt;
- time;
- _acct;
- _initgroups;
- _umount;
- execv;
- close;
- fork;
- grantpt;
- readlink;
- _execvp;
- _ioctl;
- _msync;
- _semget;
- _readdir;
- siglongjmp;
- _sigaction;
- sigdelset;
- mmap;
- putmsg;
- signal;
- times;
- _getgroups;
- _sigdelset;
- _uname;
- execve;
- creat;
- fsync;
- ioctl;
- getlogin;
- _daylight;
- _fchdir;
- _kill;
- _munmap;
- _semop;
- _memcntl;
- _sigsetjmp;
- sigaction;
- mount;
- putpmsg;
- sigset;
- ttyname;
- _setcontext;
- daylight;
- _setuid;
- _unlink;
- execvp;
- opendir;
- ftok;
- kill;
- _siglongjmp;
- sigprocmask;
- _fchmod;
- _lchown;
- _nice;
- _setgid;
- _getlogin;
- _sigemptyset;
- getpwnam;
- _catopen;
- msgctl;
- read;
- sighold;
- ulimit;
- _numeric;
- _timezone;
- _shmat;
- _utime;
- nuname;
- readdir;
- getcwd;
- link;
- sigaltstack;
- _fchown;
- _link;
- _nuname;
- _setsid;
- _seekdir;
- _sigprocmask;
- sigsendset;
- msgget;
- readv;
- sigsend;
- umask;
- _getpmsg;
- _sigfillset;
- _shmctl;
- _wait;
- sbrk;
- access;
- seekdir;
- getmsg;
- lseek;
- getpwuid;
- _catgets;
- _chdir;
- _fp_hw;
- _lseek;
- _open;
- _mprotect;
- _statvfs;
- sigrelse;
- msgrcv;
- remove;
- stat;
- umount;
- _getcontext;
- _setpgid;
- _shmdt;
- _waitid;
- semctl;
- acct;
- telldir;
- getpmsg;
- malloc;
- getcontext;
- sigsuspend;
- _chmod;
- _fstat;
- _lstat;
- _pause;
- _sighold;
- getrlimit;
- _fpstart;
- msgsnd;
- rename;
- lstat;
- uname;
- _pathconf;
- _ttyname;
- _shmget;
- _write;
- semget;
- alarm;
- dup;
- getpid;
- calloc;
- sigignore;
- _chown;
- _fsync;
- _lxstat;
- _pipe;
- _fstatvfs;
- _setpgrp;
- timezone;
- setcontext;
- fstatvfs;
- msync;
- rmdir;
- fstat;
- unlink;
- _isastream;
- _sigpause;
- _sigset;
- _writev;
- semop;
- atexit;
- _alarm;
- getpgrp;
- free;
- setrlimit;
- _closedir;
- _chroot;
- _ftok;
- _mkdir;
- _poll;
- _munlock;
- _symlink;
- sigpause;
- munmap;
- setpgid;
- statvfs;
- utime;
- _getpgrp;
- _setgroups;
- _stat;
- _xmknod;
- sigsetjmp;
- chdir;
- _fcntl;
- getppid;
- realloc;
- localeconv;
- strerror;
- _close;
- _fxstat;
- _mknod;
- _profil;
- _getppid;
- _sigpending;
- initgroups;
- _environ;
- nice;
- setpgrp;
- stime;
- wait;
- _opendir;
- _sysconf;
- _stime;
- _xstat;
- fchdir;
- _fork;
- getpgid;
- memcntl;
- rewinddir;
- sigismember;
- _creat;
- _getcwd;
- _mlock;
- _ptrace;
- _getpgid;
- _sigignore;
- isastream;
- strftime;
- open;
- setsid;
- strcoll;
- waitid;
- _getpwnam;
- _sigrelse;
- _sync;
- catgets;
- chmod;
- _rename;
- getsid;
- mkdir;
- _fpathconf;
- _dup;
- _getgid;
- _mmap;
- _putmsg;
- _readlink;
- _telldir;
- __flt_rounds;
- sigpending;
- pause;
- setuid;
- strxfrm;
- waitpid;
- _getegid;
- _sigaltstack;
- _time;
- catopen;
- fchmod;
- exit;
- gettxt;
- mknod;
- getgrnam;
- unlockpt;
- _execl;
- _getmsg;
- _mount;
- _read;
- _getpwuid;
- _sigsuspend;
- _fattach;
- pipe;
- setgid;
- symlink;
- write;
- _rewinddir;
- _unlockpt;
- _times;
- environ;
- chown;
- _exit;
- getuid;
- mlock;
- closedir;
- sigemptyset;
- _execle;
- _getpid;
- _msgctl;
- _readv;
- _geteuid;
- _setrlimit;
- getgrgid;
- _altzone;
- poll;
- shmctl;
- sync;
- writev;
- tzname;
-};
-
diff --git a/usr/src/lib/libsysevent/mapfile-vers b/usr/src/lib/libsysevent/mapfile-vers
index 7e4107db31..f6d15f8b3f 100644
--- a/usr/src/lib/libsysevent/mapfile-vers
+++ b/usr/src/lib/libsysevent/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,16 +36,18 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# Due to mistakes made early in the history of this library, there are
# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
# Don't add any symbols to this version.
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
sysevent_bind_handle;
sysevent_free;
@@ -65,7 +66,7 @@ SUNW_1.1 {
sysevent_unsubscribe_event;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
se_print;
sysevent_alloc_event;
diff --git a/usr/src/lib/libtecla/common/mapfile-vers b/usr/src/lib/libtecla/common/mapfile-vers
index be28aace64..8408b4389d 100644
--- a/usr/src/lib/libtecla/common/mapfile-vers
+++ b/usr/src/lib/libtecla/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,6 +36,8 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# The instances of "tecla_l.5" below (note "l" vs "1") are by design;
# quoting the author:
@@ -47,7 +48,7 @@
# Thus I now have to derive tecla_1.6 from tecla_l.5, in the map file.
#
-tecla_1.6 {
+SYMBOL_VERSION tecla_1.6 {
global:
gl_append_history;
gl_automatic_history;
@@ -55,7 +56,7 @@ tecla_1.6 {
gl_read_char;
} tecla_l.5;
-tecla_l.5 {
+SYMBOL_VERSION tecla_l.5 {
global:
cpl_recall_matches;
gl_abandon_line;
@@ -78,7 +79,7 @@ tecla_l.5 {
gl_tty_signals;
} tecla_1.4;
-tecla_1.4 {
+SYMBOL_VERSION tecla_1.4 {
global:
gl_clear_history;
gl_configure_getline;
@@ -104,12 +105,12 @@ tecla_1.4 {
libtecla_version;
} tecla_1.3;
-tecla_1.3 {
+SYMBOL_VERSION tecla_1.3 {
global:
ef_list_expansions;
} tecla_1.2;
-tecla_1.2 {
+SYMBOL_VERSION tecla_1.2 {
global:
cfc_file_start;
cfc_literal_escapes;
diff --git a/usr/src/lib/libthread/Makefile.com b/usr/src/lib/libthread/Makefile.com
index ffde440e62..67d2b91e3a 100644
--- a/usr/src/lib/libthread/Makefile.com
+++ b/usr/src/lib/libthread/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libthread.a
@@ -30,4 +29,3 @@ include $(SRC)/lib/Makefile.rootfs
LIBS += $(LINTLIB)
DYNFLAGS += -F libc.so.1
-MAPFILEDIR = . # redirect mapfile-vers
diff --git a/usr/src/lib/libthread/amd64/mapfile-vers b/usr/src/lib/libthread/amd64/mapfile-vers
deleted file mode 100644
index d1ed55548c..0000000000
--- a/usr/src/lib/libthread/amd64/mapfile-vers
+++ /dev/null
@@ -1,321 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.6.1 {
- global:
- _stack_grow = FUNCTION;
- local:
- *;
-} SUNW_1.6;
-
-SUNW_1.6 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
-} SUNW_1.5;
-
-SUNW_1.5 {
- global:
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.4;
-
-SUNW_1.4 {
- global:
- pthread_attr_getguardsize = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- pthread_rwlockattr_getpshared = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- getmsg = FUNCTION;
- getpmsg = FUNCTION;
- lockf = FUNCTION;
- msgrcv = FUNCTION;
- msgsnd = FUNCTION;
- poll = FUNCTION;
- putmsg = FUNCTION;
- putpmsg = FUNCTION;
- select = FUNCTION;
- sigpause = FUNCTION;
- usleep = FUNCTION;
- wait3 = FUNCTION;
- waitid = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- pread = FUNCTION;
- pwrite = FUNCTION;
- readv = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- SUNW_1.3;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- SUNW_1.2;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- kill = FUNCTION;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- pthread_attr_destroy = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_attr_setschedpolicy = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- pthread_cancel = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- pthread_create = FUNCTION;
- pthread_detach = FUNCTION;
- pthread_equal = FUNCTION;
- pthread_exit = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_join = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_key_delete = FUNCTION;
- pthread_kill = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_mutex_getprioceiling = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- pthread_once = FUNCTION;
- pthread_self = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- pthread_setschedparam = FUNCTION;
- pthread_setspecific = FUNCTION;
- pthread_sigmask = FUNCTION;
- pthread_testcancel = FUNCTION;
- thr_main = FUNCTION;
- thr_stksegment = FUNCTION;
- alarm = FUNCTION;
- close = FUNCTION NODIRECT;
- creat = FUNCTION;
- fcntl = FUNCTION;
- fork = FUNCTION NODIRECT;
- fsync = FUNCTION;
- msync = FUNCTION;
- open = FUNCTION;
- pause = FUNCTION;
- read = FUNCTION;
- setitimer = FUNCTION;
- sigsetjmp = FUNCTION;
- sigsuspend = FUNCTION;
- tcdrain = FUNCTION;
- wait = FUNCTION;
- waitpid = FUNCTION;
- write = FUNCTION;
- sigpending = FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- thr_continue = FUNCTION;
- thr_create = FUNCTION;
- thr_exit = FUNCTION;
- thr_getconcurrency = FUNCTION;
- thr_getprio = FUNCTION;
- thr_getspecific = FUNCTION;
- thr_join = FUNCTION;
- thr_keycreate = FUNCTION;
- thr_kill = FUNCTION;
- thr_min_stack = FUNCTION;
- thr_self = FUNCTION;
- thr_setconcurrency = FUNCTION;
- thr_setprio = FUNCTION;
- thr_setspecific = FUNCTION;
- thr_sigsetmask = FUNCTION;
- thr_suspend = FUNCTION;
- thr_yield = FUNCTION;
- lwp_self = FUNCTION;
- cond_broadcast = FUNCTION;
- cond_destroy = FUNCTION;
- cond_init = FUNCTION;
- cond_signal = FUNCTION;
- cond_timedwait = FUNCTION;
- cond_wait = FUNCTION;
- fork1 = FUNCTION;
- mutex_destroy = FUNCTION;
- mutex_init = FUNCTION;
- mutex_lock = FUNCTION;
- mutex_trylock = FUNCTION;
- mutex_unlock = FUNCTION;
- rw_rdlock = FUNCTION;
- rw_tryrdlock = FUNCTION;
- rw_trywrlock = FUNCTION;
- rw_unlock = FUNCTION;
- rw_wrlock = FUNCTION;
- rwlock_destroy = FUNCTION;
- rwlock_init = FUNCTION;
- sema_destroy = FUNCTION;
- sema_init = FUNCTION;
- sema_post = FUNCTION;
- sema_trywait = FUNCTION;
- sema_wait = FUNCTION;
- _getfp = FUNCTION;
- sigaction = FUNCTION NODIRECT;
- sigprocmask = FUNCTION;
- sigwait = FUNCTION;
- sleep = FUNCTION;
- setcontext = FUNCTION;
- _mutex_held = FUNCTION;
- _rw_read_held = FUNCTION;
- _rw_write_held = FUNCTION;
- _sema_held = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _resume = FUNCTION;
- _resume_ret = FUNCTION;
- thr_probe_setup = FUNCTION;
- _thr_continue_allmutators = FUNCTION;
- _thr_continue_mutator = FUNCTION;
- _thr_getstate = FUNCTION;
- _thr_mutators_barrier = FUNCTION;
- _thr_setmutator = FUNCTION;
- _thr_setstate = FUNCTION;
- _thr_sighndlrinfo = FUNCTION;
- _thr_suspend_allmutators = FUNCTION;
- _thr_suspend_mutator = FUNCTION;
- _thr_wait_mutator = FUNCTION;
- thr_continue_allmutators = FUNCTION;
- thr_continue_mutator = FUNCTION;
- thr_getstate = FUNCTION;
- thr_mutators_barrier = FUNCTION;
- thr_setmutator = FUNCTION;
- thr_setstate = FUNCTION;
- thr_sighndlrinfo = FUNCTION;
- thr_suspend_allmutators = FUNCTION;
- thr_suspend_mutator = FUNCTION;
- thr_wait_mutator = FUNCTION;
- _mutex_destroy = FUNCTION;
- _mutex_init = FUNCTION;
- _mutex_lock = FUNCTION;
- _mutex_unlock = FUNCTION;
- _sema_destroy = FUNCTION;
- _thr_create = FUNCTION;
- _thr_getspecific = FUNCTION;
- _thr_join = FUNCTION;
- _thr_keycreate = FUNCTION;
- _thr_self = FUNCTION;
- _thr_setspecific = FUNCTION;
- _thr_main = FUNCTION;
- __tls_get_addr = FUNCTION;
- _getsp = FUNCTION;
- _rwlock_destroy = FUNCTION;
- __gettsp = FUNCTION;
- _assfail = FUNCTION;
- _sigoff = FUNCTION;
- _sigon = FUNCTION;
- _fork = FUNCTION;
- _setcontext = FUNCTION;
- _sigaction = FUNCTION NODIRECT;
- _sigprocmask = FUNCTION;
- _sigsuspend = FUNCTION;
- _sigsetjmp = FUNCTION;
- _sleep = FUNCTION;
- _alarm = FUNCTION;
- _setitimer = FUNCTION;
- mutex_held = FUNCTION;
- rw_read_held = FUNCTION;
- rw_write_held = FUNCTION;
- sema_held = FUNCTION;
-};
-
diff --git a/usr/src/lib/libthread/common/mapfile-vers b/usr/src/lib/libthread/common/mapfile-vers
new file mode 100644
index 0000000000..97b0ef8df0
--- /dev/null
+++ b/usr/src/lib/libthread/common/mapfile-vers
@@ -0,0 +1,369 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+#
+
+#
+# MAPFILE HEADER START
+#
+# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+# usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+
+$mapfile_version 2
+
+#
+# DO NOT TOUCH THIS FILE.
+# This file declares interfaces that are cast in stone.
+# They offer interfaces that will never change.
+# DO NOT TOUCH THIS FILE.
+#
+
+# For ABI reasons, 32-bit sparc defines and uses some ABI related versions not
+# used on the other platforms. Define sparc32 for convenience.
+$if _sparc && _ELF32
+$add sparc32
+$endif
+
+SYMBOL_VERSION SUNW_1.6.1 {
+ global:
+ _stack_grow { TYPE = FUNCTION };
+ local:
+ *;
+} SUNW_1.6;
+
+SYMBOL_VERSION SUNW_1.6 {
+ global:
+ cond_reltimedwait { TYPE = FUNCTION };
+ pthread_cond_reltimedwait_np { TYPE = FUNCTION };
+} SUNW_1.5;
+
+SYMBOL_VERSION SUNW_1.5 {
+ global:
+ pthread_mutex_consistent_np { TYPE = FUNCTION };
+ pthread_mutexattr_getrobust_np { TYPE = FUNCTION };
+ pthread_mutexattr_setrobust_np { TYPE = FUNCTION };
+} SUNW_1.4;
+
+SYMBOL_VERSION SUNW_1.4 {
+ global:
+ getmsg { TYPE = FUNCTION };
+ getpmsg { TYPE = FUNCTION };
+ lockf { TYPE = FUNCTION };
+ msgrcv { TYPE = FUNCTION };
+ msgsnd { TYPE = FUNCTION };
+ poll { TYPE = FUNCTION };
+ pread { TYPE = FUNCTION };
+ pthread_attr_getguardsize { TYPE = FUNCTION };
+ pthread_attr_setguardsize { TYPE = FUNCTION };
+ pthread_getconcurrency { TYPE = FUNCTION };
+ pthread_mutexattr_gettype { TYPE = FUNCTION };
+ pthread_mutexattr_settype { TYPE = FUNCTION };
+ pthread_rwlockattr_destroy { TYPE = FUNCTION };
+ pthread_rwlockattr_getpshared { TYPE = FUNCTION };
+ pthread_rwlockattr_init { TYPE = FUNCTION };
+ pthread_rwlockattr_setpshared { TYPE = FUNCTION };
+ pthread_rwlock_destroy { TYPE = FUNCTION };
+ pthread_rwlock_init { TYPE = FUNCTION };
+ pthread_rwlock_rdlock { TYPE = FUNCTION };
+ pthread_rwlock_tryrdlock { TYPE = FUNCTION };
+ pthread_rwlock_trywrlock { TYPE = FUNCTION };
+ pthread_rwlock_unlock { TYPE = FUNCTION };
+ pthread_rwlock_wrlock { TYPE = FUNCTION };
+ pthread_setconcurrency { TYPE = FUNCTION };
+ putmsg { TYPE = FUNCTION };
+ putpmsg { TYPE = FUNCTION };
+ pwrite { TYPE = FUNCTION };
+ readv { TYPE = FUNCTION };
+ select { TYPE = FUNCTION };
+ sigpause { TYPE = FUNCTION };
+ usleep { TYPE = FUNCTION };
+ wait3 { TYPE = FUNCTION };
+ waitid { TYPE = FUNCTION };
+ writev { TYPE = FUNCTION };
+ __xpg4_putmsg { TYPE = FUNCTION };
+ __xpg4_putpmsg { TYPE = FUNCTION };
+
+$if _ELF32 # Large file interfaces
+ lockf64 { TYPE = FUNCTION };
+ pread64 { TYPE = FUNCTION };
+ pwrite64 { TYPE = FUNCTION };
+$endif
+} SUNW_1.3;
+
+SYMBOL_VERSION SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SYMBOL_VERSION SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SYMBOL_VERSION SUNW_1.1 {
+ global:
+ kill { TYPE = FUNCTION };
+
+$if _ELF32 # Large file interfaces
+ creat64 { TYPE = FUNCTION };
+ open64 { TYPE = FUNCTION };
+$endif
+} SUNW_0.9;
+
+SYMBOL_VERSION SUNW_0.9 {
+ global:
+ alarm { TYPE = FUNCTION };
+ close { TYPE = FUNCTION; FLAGS = NODIRECT };
+ creat { TYPE = FUNCTION };
+ fcntl { TYPE = FUNCTION };
+ fork { TYPE = FUNCTION; FLAGS = NODIRECT };
+ fsync { TYPE = FUNCTION };
+ msync { TYPE = FUNCTION };
+ open { TYPE = FUNCTION };
+ pause { TYPE = FUNCTION };
+ pthread_attr_destroy { TYPE = FUNCTION };
+ pthread_attr_getdetachstate { TYPE = FUNCTION };
+ pthread_attr_getinheritsched { TYPE = FUNCTION };
+ pthread_attr_getschedparam { TYPE = FUNCTION };
+ pthread_attr_getschedpolicy { TYPE = FUNCTION };
+ pthread_attr_getscope { TYPE = FUNCTION };
+ pthread_attr_getstackaddr { TYPE = FUNCTION };
+ pthread_attr_getstacksize { TYPE = FUNCTION };
+ pthread_attr_init { TYPE = FUNCTION };
+ pthread_attr_setdetachstate { TYPE = FUNCTION };
+ pthread_attr_setinheritsched { TYPE = FUNCTION };
+ pthread_attr_setschedparam { TYPE = FUNCTION };
+ pthread_attr_setschedpolicy { TYPE = FUNCTION };
+ pthread_attr_setscope { TYPE = FUNCTION };
+ pthread_attr_setstackaddr { TYPE = FUNCTION };
+ pthread_attr_setstacksize { TYPE = FUNCTION };
+ pthread_cancel { TYPE = FUNCTION };
+ __pthread_cleanup_pop { TYPE = FUNCTION };
+ __pthread_cleanup_push { TYPE = FUNCTION };
+ pthread_condattr_destroy { TYPE = FUNCTION };
+ pthread_condattr_getpshared { TYPE = FUNCTION };
+ pthread_condattr_init { TYPE = FUNCTION };
+ pthread_condattr_setpshared { TYPE = FUNCTION };
+ pthread_cond_broadcast { TYPE = FUNCTION };
+ pthread_cond_destroy { TYPE = FUNCTION };
+ pthread_cond_init { TYPE = FUNCTION };
+ pthread_cond_signal { TYPE = FUNCTION };
+ pthread_cond_timedwait { TYPE = FUNCTION };
+ pthread_cond_wait { TYPE = FUNCTION };
+ pthread_create { TYPE = FUNCTION };
+ pthread_detach { TYPE = FUNCTION };
+ pthread_equal { TYPE = FUNCTION };
+ pthread_exit { TYPE = FUNCTION };
+ pthread_getschedparam { TYPE = FUNCTION };
+ pthread_getspecific { TYPE = FUNCTION };
+ pthread_join { TYPE = FUNCTION };
+ pthread_key_create { TYPE = FUNCTION };
+ pthread_key_delete { TYPE = FUNCTION };
+ pthread_kill { TYPE = FUNCTION };
+ pthread_mutexattr_destroy { TYPE = FUNCTION };
+ pthread_mutexattr_getprioceiling { TYPE = FUNCTION };
+ pthread_mutexattr_getprotocol { TYPE = FUNCTION };
+ pthread_mutexattr_getpshared { TYPE = FUNCTION };
+ pthread_mutexattr_init { TYPE = FUNCTION };
+ pthread_mutexattr_setprioceiling { TYPE = FUNCTION };
+ pthread_mutexattr_setprotocol { TYPE = FUNCTION };
+ pthread_mutexattr_setpshared { TYPE = FUNCTION };
+ pthread_mutex_destroy { TYPE = FUNCTION };
+ pthread_mutex_getprioceiling { TYPE = FUNCTION };
+ pthread_mutex_init { TYPE = FUNCTION };
+ pthread_mutex_lock { TYPE = FUNCTION };
+ pthread_mutex_setprioceiling { TYPE = FUNCTION };
+ pthread_mutex_trylock { TYPE = FUNCTION };
+ pthread_mutex_unlock { TYPE = FUNCTION };
+ pthread_once { TYPE = FUNCTION };
+ pthread_self { TYPE = FUNCTION };
+ pthread_setcancelstate { TYPE = FUNCTION };
+ pthread_setcanceltype { TYPE = FUNCTION };
+ pthread_setschedparam { TYPE = FUNCTION };
+ pthread_setspecific { TYPE = FUNCTION };
+ pthread_sigmask { TYPE = FUNCTION };
+ pthread_testcancel { TYPE = FUNCTION };
+ read { TYPE = FUNCTION };
+ setitimer { TYPE = FUNCTION };
+ sigpending { TYPE = FUNCTION };
+ sigsetjmp { TYPE = FUNCTION };
+ sigsuspend { TYPE = FUNCTION };
+ tcdrain { TYPE = FUNCTION };
+ wait { TYPE = FUNCTION };
+ waitpid { TYPE = FUNCTION };
+ write { TYPE = FUNCTION };
+$if sparc32
+} SUNW_0.7 SISCD_2.3b;
+
+SYMBOL_VERSION SISCD_2.3b {
+ global:
+$endif
+ thr_main { TYPE = FUNCTION };
+ thr_stksegment { TYPE = FUNCTION };
+$if sparc32
+};
+$else
+} SUNW_0.7;
+$endif
+
+SYMBOL_VERSION SUNW_0.7 {
+ global:
+ _getfp { TYPE = FUNCTION };
+ lwp_self { TYPE = FUNCTION };
+ _mutex_held { TYPE = FUNCTION };
+ _rw_read_held { TYPE = FUNCTION };
+ _rw_write_held { TYPE = FUNCTION };
+ _sema_held { TYPE = FUNCTION };
+ setcontext { TYPE = FUNCTION };
+ sigaction { TYPE = FUNCTION; FLAGS = NODIRECT };
+ sigprocmask { TYPE = FUNCTION };
+ sleep { TYPE = FUNCTION };
+$if sparc32
+} SISCD_2.3a;
+
+SYMBOL_VERSION SISCD_2.3a {
+ global:
+$endif
+ cond_broadcast { TYPE = FUNCTION };
+ cond_destroy { TYPE = FUNCTION };
+ cond_init { TYPE = FUNCTION };
+ cond_signal { TYPE = FUNCTION };
+ cond_timedwait { TYPE = FUNCTION };
+ cond_wait { TYPE = FUNCTION };
+ fork1 { TYPE = FUNCTION };
+ mutex_destroy { TYPE = FUNCTION };
+ mutex_init { TYPE = FUNCTION };
+ mutex_lock { TYPE = FUNCTION };
+ mutex_trylock { TYPE = FUNCTION };
+ mutex_unlock { TYPE = FUNCTION };
+ rwlock_destroy { TYPE = FUNCTION };
+ rwlock_init { TYPE = FUNCTION };
+ rw_rdlock { TYPE = FUNCTION };
+ rw_tryrdlock { TYPE = FUNCTION };
+ rw_trywrlock { TYPE = FUNCTION };
+ rw_unlock { TYPE = FUNCTION };
+ rw_wrlock { TYPE = FUNCTION };
+ sema_destroy { TYPE = FUNCTION };
+ sema_init { TYPE = FUNCTION };
+ sema_post { TYPE = FUNCTION };
+ sema_trywait { TYPE = FUNCTION };
+ sema_wait { TYPE = FUNCTION };
+ sigwait { TYPE = FUNCTION };
+ thr_continue { TYPE = FUNCTION };
+ thr_create { TYPE = FUNCTION };
+ thr_exit { TYPE = FUNCTION };
+ thr_getconcurrency { TYPE = FUNCTION };
+ thr_getprio { TYPE = FUNCTION };
+ thr_getspecific { TYPE = FUNCTION };
+ thr_join { TYPE = FUNCTION };
+ thr_keycreate { TYPE = FUNCTION };
+ thr_kill { TYPE = FUNCTION };
+ thr_min_stack { TYPE = FUNCTION };
+ thr_self { TYPE = FUNCTION };
+ thr_setconcurrency { TYPE = FUNCTION };
+ thr_setprio { TYPE = FUNCTION };
+ thr_setspecific { TYPE = FUNCTION };
+ thr_sigsetmask { TYPE = FUNCTION };
+ thr_suspend { TYPE = FUNCTION };
+ thr_yield { TYPE = FUNCTION };
+};
+
+SYMBOL_VERSION SUNWprivate_1.1 {
+ global:
+ _alarm { TYPE = FUNCTION };
+ _assfail { TYPE = FUNCTION };
+ _fork { TYPE = FUNCTION };
+$if !(_x86 && _ELF32)
+ _getsp { TYPE = FUNCTION };
+$endif
+ __gettsp { TYPE = FUNCTION };
+ _mutex_destroy { TYPE = FUNCTION };
+ mutex_held { TYPE = FUNCTION };
+ _mutex_init { TYPE = FUNCTION };
+ _mutex_lock { TYPE = FUNCTION };
+ _mutex_unlock { TYPE = FUNCTION };
+$if _sparc || (_x86 && _ELF32)
+ _pthread_setcleanupinit { TYPE = FUNCTION };
+$endif
+ _resume { TYPE = FUNCTION };
+ _resume_ret { TYPE = FUNCTION };
+ _rwlock_destroy { TYPE = FUNCTION };
+ rw_read_held { TYPE = FUNCTION };
+ rw_write_held { TYPE = FUNCTION };
+ _sema_destroy { TYPE = FUNCTION };
+ sema_held { TYPE = FUNCTION };
+ _setcontext { TYPE = FUNCTION };
+ _setitimer { TYPE = FUNCTION };
+ _sigaction { TYPE = FUNCTION; FLAGS = NODIRECT };
+ _sigoff { TYPE = FUNCTION };
+ _sigon { TYPE = FUNCTION };
+ _sigprocmask { TYPE = FUNCTION };
+ _sigsetjmp { TYPE = FUNCTION };
+ _sigsuspend { TYPE = FUNCTION };
+ _sleep { TYPE = FUNCTION };
+ _thr_continue_allmutators { TYPE = FUNCTION };
+ thr_continue_allmutators { TYPE = FUNCTION };
+ _thr_continue_mutator { TYPE = FUNCTION };
+ thr_continue_mutator { TYPE = FUNCTION };
+ _thr_create { TYPE = FUNCTION };
+ _thr_getspecific { TYPE = FUNCTION };
+ _thr_getstate { TYPE = FUNCTION };
+ thr_getstate { TYPE = FUNCTION };
+ _thr_join { TYPE = FUNCTION };
+ _thr_keycreate { TYPE = FUNCTION };
+ _thr_main { TYPE = FUNCTION };
+ _thr_mutators_barrier { TYPE = FUNCTION };
+ thr_mutators_barrier { TYPE = FUNCTION };
+ thr_probe_setup { TYPE = FUNCTION };
+ _thr_self { TYPE = FUNCTION };
+ _thr_setmutator { TYPE = FUNCTION };
+ thr_setmutator { TYPE = FUNCTION };
+ _thr_setspecific { TYPE = FUNCTION };
+ _thr_setstate { TYPE = FUNCTION };
+ thr_setstate { TYPE = FUNCTION };
+ _thr_sighndlrinfo { TYPE = FUNCTION };
+ thr_sighndlrinfo { TYPE = FUNCTION };
+ thr_suspend_allmutators { TYPE = FUNCTION };
+ _thr_suspend_allmutators { TYPE = FUNCTION };
+ _thr_suspend_mutator { TYPE = FUNCTION };
+ thr_suspend_mutator { TYPE = FUNCTION };
+ _thr_wait_mutator { TYPE = FUNCTION };
+ thr_wait_mutator { TYPE = FUNCTION };
+$if _x86 && _ELF32
+ ___tls_get_addr { TYPE = FUNCTION };
+$endif
+ __tls_get_addr { TYPE = FUNCTION };
+};
+
+$if sparc32
+SYMBOL_VERSION SISCD_2.3 {
+ global:
+ SISCD_2.3;
+} SISCD_2.3a SISCD_2.3b;
+$endif
diff --git a/usr/src/lib/libthread/i386/mapfile-vers b/usr/src/lib/libthread/i386/mapfile-vers
deleted file mode 100644
index fc467e6071..0000000000
--- a/usr/src/lib/libthread/i386/mapfile-vers
+++ /dev/null
@@ -1,327 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.6.1 {
- global:
- _stack_grow = FUNCTION;
- local:
- *;
-} SUNW_1.6;
-
-SUNW_1.6 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
-} SUNW_1.5;
-
-SUNW_1.5 {
- global:
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.4;
-
-SUNW_1.4 {
- global:
- lockf64 = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- getmsg = FUNCTION;
- lockf = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- msgrcv = FUNCTION;
- msgsnd = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- poll = FUNCTION;
- pread64 = FUNCTION;
- putmsg = FUNCTION;
- pread = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- select = FUNCTION;
- pwrite = FUNCTION;
- pthread_rwlockattr_getpshared = FUNCTION;
- usleep = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- putpmsg = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- wait3 = FUNCTION;
- readv = FUNCTION;
- waitid = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- sigpause = FUNCTION;
- pwrite64 = FUNCTION;
- pthread_attr_getguardsize = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- getpmsg = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- SUNW_1.3;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- SUNW_1.2;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- open64 = FUNCTION;
- creat64 = FUNCTION;
- kill = FUNCTION;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- pthread_attr_setschedpolicy = FUNCTION;
- fcntl = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- pthread_once = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_setspecific = FUNCTION;
- fork = FUNCTION NODIRECT;
- pthread_mutex_getprioceiling = FUNCTION;
- thr_main = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- pthread_self = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- fsync = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- msync = FUNCTION;
- pthread_cancel = FUNCTION;
- setitimer = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- pthread_testcancel = FUNCTION;
- open = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_create = FUNCTION;
- sigsetjmp = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- pause = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- pthread_detach = FUNCTION;
- sigsuspend = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- pthread_equal = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- thr_stksegment = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- read = FUNCTION;
- pthread_exit = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_key_delete = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_join = FUNCTION;
- tcdrain = FUNCTION;
- pthread_attr_destroy = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_sigmask = FUNCTION;
- alarm = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- pthread_kill = FUNCTION;
- waitpid = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- close = FUNCTION NODIRECT;
- wait = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_setschedparam = FUNCTION;
- creat = FUNCTION;
- write = FUNCTION;
- sigpending = FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- sigaction = FUNCTION NODIRECT;
- sema_trywait = FUNCTION;
- cond_init = FUNCTION;
- thr_kill = FUNCTION;
- thr_getconcurrency = FUNCTION;
- rw_tryrdlock = FUNCTION;
- sema_wait = FUNCTION;
- cond_signal = FUNCTION;
- fork1 = FUNCTION;
- rw_trywrlock = FUNCTION;
- lwp_self = FUNCTION;
- thr_setconcurrency = FUNCTION;
- cond_timedwait = FUNCTION;
- thr_min_stack = FUNCTION;
- rw_unlock = FUNCTION;
- cond_wait = FUNCTION;
- _mutex_held = FUNCTION;
- thr_self = FUNCTION;
- rw_wrlock = FUNCTION;
- mutex_destroy = FUNCTION;
- _rw_read_held = FUNCTION;
- thr_setprio = FUNCTION;
- rwlock_destroy = FUNCTION;
- _rw_write_held = FUNCTION;
- thr_sigsetmask = FUNCTION;
- rwlock_init = FUNCTION;
- sigwait = FUNCTION;
- mutex_init = FUNCTION;
- thr_create = FUNCTION;
- sigprocmask = FUNCTION;
- mutex_lock = FUNCTION;
- thr_setspecific = FUNCTION;
- mutex_unlock = FUNCTION;
- thr_suspend = FUNCTION;
- thr_exit = FUNCTION;
- sema_destroy = FUNCTION;
- mutex_trylock = FUNCTION;
- _getfp = FUNCTION;
- thr_yield = FUNCTION;
- thr_getprio = FUNCTION;
- sema_init = FUNCTION;
- sleep = FUNCTION;
- thr_join = FUNCTION;
- thr_continue = FUNCTION;
- rw_rdlock = FUNCTION;
- cond_broadcast = FUNCTION;
- sema_post = FUNCTION;
- thr_getspecific = FUNCTION;
- setcontext = FUNCTION;
- thr_keycreate = FUNCTION;
- cond_destroy = FUNCTION;
- _sema_held = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _thr_suspend_allmutators = FUNCTION;
- _thr_join = FUNCTION;
- _sigoff = FUNCTION;
- _pthread_setcleanupinit = FUNCTION;
- _thr_sighndlrinfo = FUNCTION;
- thr_suspend_mutator = FUNCTION;
- _thr_setspecific = FUNCTION;
- _sigaction = FUNCTION NODIRECT;
- _thr_keycreate = FUNCTION;
- _mutex_destroy = FUNCTION;
- _resume = FUNCTION;
- _sigon = FUNCTION;
- _setcontext = FUNCTION;
- _thr_setmutator = FUNCTION;
- thr_wait_mutator = FUNCTION;
- _mutex_init = FUNCTION;
- _fork = FUNCTION;
- _resume_ret = FUNCTION;
- _sema_destroy = FUNCTION;
- _sigprocmask = FUNCTION;
- _thr_getstate = FUNCTION;
- _thr_self = FUNCTION;
- _mutex_lock = FUNCTION;
- thr_mutators_barrier = FUNCTION;
- _thr_getspecific = FUNCTION;
- _rwlock_destroy = FUNCTION;
- _sleep = FUNCTION;
- _thr_setstate = FUNCTION;
- _alarm = FUNCTION;
- thr_probe_setup = FUNCTION;
- _thr_suspend_mutator = FUNCTION;
- _sigsuspend = FUNCTION;
- thr_getstate = FUNCTION;
- _mutex_unlock = FUNCTION;
- _sigsetjmp = FUNCTION;
- thr_setmutator = FUNCTION;
- _thr_wait_mutator = FUNCTION;
- ___tls_get_addr = FUNCTION;
- thr_suspend_allmutators = FUNCTION;
- _setitimer = FUNCTION;
- thr_setstate = FUNCTION;
- _thr_main = FUNCTION;
- _thr_continue_allmutators = FUNCTION;
- thr_continue_mutator = FUNCTION;
- __gettsp = FUNCTION;
- _thr_create = FUNCTION;
- mutex_held = FUNCTION;
- _assfail = FUNCTION;
- _thr_continue_mutator = FUNCTION;
- thr_sighndlrinfo = FUNCTION;
- rw_read_held = FUNCTION;
- __tls_get_addr = FUNCTION;
- thr_continue_allmutators = FUNCTION;
- rw_write_held = FUNCTION;
- _thr_mutators_barrier = FUNCTION;
- sema_held = FUNCTION;
-};
-
diff --git a/usr/src/lib/libthread/sparc/mapfile-vers b/usr/src/lib/libthread/sparc/mapfile-vers
deleted file mode 100644
index 8e656dd694..0000000000
--- a/usr/src/lib/libthread/sparc/mapfile-vers
+++ /dev/null
@@ -1,340 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.6.1 {
- global:
- _stack_grow = FUNCTION;
- local:
- *;
-} SUNW_1.6;
-
-SUNW_1.6 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
-} SUNW_1.5;
-
-SUNW_1.5 {
- global:
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.4;
-
-SUNW_1.4 {
- global:
- pthread_attr_getguardsize = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- pthread_rwlockattr_getpshared = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- getmsg = FUNCTION;
- getpmsg = FUNCTION;
- lockf64 = FUNCTION;
- lockf = FUNCTION;
- msgrcv = FUNCTION;
- msgsnd = FUNCTION;
- poll = FUNCTION;
- putmsg = FUNCTION;
- putpmsg = FUNCTION;
- select = FUNCTION;
- sigpause = FUNCTION;
- usleep = FUNCTION;
- wait3 = FUNCTION;
- waitid = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- pread = FUNCTION;
- pread64 = FUNCTION;
- pwrite = FUNCTION;
- pwrite64 = FUNCTION;
- readv = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- SUNW_1.3;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- SUNW_1.2;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- creat64 = FUNCTION;
- open64 = FUNCTION;
- kill = FUNCTION;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- pthread_attr_destroy = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_attr_setschedpolicy = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- pthread_cancel = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- pthread_create = FUNCTION;
- pthread_detach = FUNCTION;
- pthread_equal = FUNCTION;
- pthread_exit = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_join = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_key_delete = FUNCTION;
- pthread_kill = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_mutex_getprioceiling = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- pthread_once = FUNCTION;
- pthread_self = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- pthread_setschedparam = FUNCTION;
- pthread_setspecific = FUNCTION;
- pthread_sigmask = FUNCTION;
- pthread_testcancel = FUNCTION;
- alarm = FUNCTION;
- close = FUNCTION NODIRECT;
- creat = FUNCTION;
- fcntl = FUNCTION;
- fork = FUNCTION NODIRECT;
- fsync = FUNCTION;
- msync = FUNCTION;
- open = FUNCTION;
- pause = FUNCTION;
- read = FUNCTION;
- setitimer = FUNCTION;
- sigsetjmp = FUNCTION;
- sigsuspend = FUNCTION;
- tcdrain = FUNCTION;
- wait = FUNCTION;
- waitpid = FUNCTION;
- write = FUNCTION;
- sigpending = FUNCTION;
-} SUNW_0.7 SISCD_2.3b;
-
-SUNW_0.7 {
- global:
- lwp_self = FUNCTION;
- _getfp = FUNCTION;
- sigaction = FUNCTION NODIRECT;
- sigprocmask = FUNCTION;
- sleep = FUNCTION;
- setcontext = FUNCTION;
- _mutex_held = FUNCTION;
- _rw_read_held = FUNCTION;
- _rw_write_held = FUNCTION;
- _sema_held = FUNCTION;
-} SISCD_2.3a;
-
-SISCD_2.3a {
- global:
- thr_continue = FUNCTION;
- thr_create = FUNCTION;
- thr_exit = FUNCTION;
- thr_getconcurrency = FUNCTION;
- thr_getprio = FUNCTION;
- thr_getspecific = FUNCTION;
- thr_join = FUNCTION;
- thr_keycreate = FUNCTION;
- thr_kill = FUNCTION;
- thr_min_stack = FUNCTION;
- thr_self = FUNCTION;
- thr_setconcurrency = FUNCTION;
- thr_setprio = FUNCTION;
- thr_setspecific = FUNCTION;
- thr_sigsetmask = FUNCTION;
- thr_suspend = FUNCTION;
- thr_yield = FUNCTION;
- cond_broadcast = FUNCTION;
- cond_destroy = FUNCTION;
- cond_init = FUNCTION;
- cond_signal = FUNCTION;
- cond_timedwait = FUNCTION;
- cond_wait = FUNCTION;
- fork1 = FUNCTION;
- mutex_destroy = FUNCTION;
- mutex_init = FUNCTION;
- mutex_lock = FUNCTION;
- mutex_trylock = FUNCTION;
- mutex_unlock = FUNCTION;
- rw_rdlock = FUNCTION;
- rw_tryrdlock = FUNCTION;
- rw_trywrlock = FUNCTION;
- rw_unlock = FUNCTION;
- rw_wrlock = FUNCTION;
- rwlock_destroy = FUNCTION;
- rwlock_init = FUNCTION;
- sema_destroy = FUNCTION;
- sema_init = FUNCTION;
- sema_post = FUNCTION;
- sema_trywait = FUNCTION;
- sema_wait = FUNCTION;
- sigwait = FUNCTION;
-};
-
-SISCD_2.3b {
- global:
- thr_main = FUNCTION;
- thr_stksegment = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _resume = FUNCTION;
- _resume_ret = FUNCTION;
- _pthread_setcleanupinit = FUNCTION;
- thr_probe_setup = FUNCTION;
- _thr_continue_allmutators = FUNCTION;
- _thr_continue_mutator = FUNCTION;
- _thr_getstate = FUNCTION;
- _thr_mutators_barrier = FUNCTION;
- _thr_setmutator = FUNCTION;
- _thr_setstate = FUNCTION;
- _thr_sighndlrinfo = FUNCTION;
- _thr_suspend_allmutators = FUNCTION;
- _thr_suspend_mutator = FUNCTION;
- _thr_wait_mutator = FUNCTION;
- thr_continue_allmutators = FUNCTION;
- thr_continue_mutator = FUNCTION;
- thr_getstate = FUNCTION;
- thr_mutators_barrier = FUNCTION;
- thr_setmutator = FUNCTION;
- thr_setstate = FUNCTION;
- thr_sighndlrinfo = FUNCTION;
- thr_suspend_allmutators = FUNCTION;
- thr_suspend_mutator = FUNCTION;
- thr_wait_mutator = FUNCTION;
- _mutex_destroy = FUNCTION;
- _mutex_init = FUNCTION;
- _mutex_lock = FUNCTION;
- _mutex_unlock = FUNCTION;
- _sema_destroy = FUNCTION;
- _thr_create = FUNCTION;
- _thr_getspecific = FUNCTION;
- _thr_join = FUNCTION;
- _thr_keycreate = FUNCTION;
- _thr_self = FUNCTION;
- _thr_setspecific = FUNCTION;
- _thr_main = FUNCTION;
- __tls_get_addr = FUNCTION;
- _getsp = FUNCTION;
- _rwlock_destroy = FUNCTION;
- __gettsp = FUNCTION;
- _assfail = FUNCTION;
- _sigoff = FUNCTION;
- _sigon = FUNCTION;
- _fork = FUNCTION;
- _setcontext = FUNCTION;
- _sigaction = FUNCTION NODIRECT;
- _sigprocmask = FUNCTION;
- _sigsuspend = FUNCTION;
- _sigsetjmp = FUNCTION;
- _sleep = FUNCTION;
- _alarm = FUNCTION;
- _setitimer = FUNCTION;
- mutex_held = FUNCTION;
- rw_read_held = FUNCTION;
- rw_write_held = FUNCTION;
- sema_held = FUNCTION;
-};
-
-SISCD_2.3 {
- global:
- SISCD_2.3;
-} SISCD_2.3a SISCD_2.3b;
-
diff --git a/usr/src/lib/libthread/sparcv9/mapfile-vers b/usr/src/lib/libthread/sparcv9/mapfile-vers
deleted file mode 100644
index 01378dfa98..0000000000
--- a/usr/src/lib/libthread/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,322 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-#
-# DO NOT TOUCH THIS FILE.
-# This file declares interfaces that are cast in stone.
-# They offer interfaces that will never change.
-# DO NOT TOUCH THIS FILE.
-#
-
-SUNW_1.6.1 {
- global:
- _stack_grow = FUNCTION;
- local:
- *;
-} SUNW_1.6;
-
-SUNW_1.6 {
- global:
- pthread_cond_reltimedwait_np = FUNCTION;
- cond_reltimedwait = FUNCTION;
-} SUNW_1.5;
-
-SUNW_1.5 {
- global:
- pthread_mutexattr_setrobust_np = FUNCTION;
- pthread_mutexattr_getrobust_np = FUNCTION;
- pthread_mutex_consistent_np = FUNCTION;
-} SUNW_1.4;
-
-SUNW_1.4 {
- global:
- pthread_attr_getguardsize = FUNCTION;
- pthread_attr_setguardsize = FUNCTION;
- pthread_getconcurrency = FUNCTION;
- pthread_rwlock_destroy = FUNCTION;
- pthread_rwlock_init = FUNCTION;
- pthread_rwlock_rdlock = FUNCTION;
- pthread_rwlock_tryrdlock = FUNCTION;
- pthread_rwlock_trywrlock = FUNCTION;
- pthread_rwlock_unlock = FUNCTION;
- pthread_rwlock_wrlock = FUNCTION;
- pthread_rwlockattr_destroy = FUNCTION;
- pthread_rwlockattr_getpshared = FUNCTION;
- pthread_rwlockattr_init = FUNCTION;
- pthread_rwlockattr_setpshared = FUNCTION;
- pthread_setconcurrency = FUNCTION;
- __xpg4_putmsg = FUNCTION;
- __xpg4_putpmsg = FUNCTION;
- getmsg = FUNCTION;
- getpmsg = FUNCTION;
- lockf = FUNCTION;
- msgrcv = FUNCTION;
- msgsnd = FUNCTION;
- poll = FUNCTION;
- putmsg = FUNCTION;
- putpmsg = FUNCTION;
- select = FUNCTION;
- sigpause = FUNCTION;
- usleep = FUNCTION;
- wait3 = FUNCTION;
- waitid = FUNCTION;
- pthread_mutexattr_gettype = FUNCTION;
- pthread_mutexattr_settype = FUNCTION;
- pread = FUNCTION;
- pwrite = FUNCTION;
- readv = FUNCTION;
- writev = FUNCTION;
-} SUNW_1.3;
-
-SUNW_1.3 {
- global:
- SUNW_1.3;
-} SUNW_1.2;
-
-SUNW_1.2 {
- global:
- SUNW_1.2;
-} SUNW_1.1;
-
-SUNW_1.1 {
- global:
- kill = FUNCTION;
-} SUNW_0.9;
-
-SUNW_0.9 {
- global:
- pthread_attr_destroy = FUNCTION;
- pthread_attr_getdetachstate = FUNCTION;
- pthread_attr_getinheritsched = FUNCTION;
- pthread_attr_getschedparam = FUNCTION;
- pthread_attr_getschedpolicy = FUNCTION;
- pthread_attr_getscope = FUNCTION;
- pthread_attr_getstackaddr = FUNCTION;
- pthread_attr_getstacksize = FUNCTION;
- pthread_attr_init = FUNCTION;
- pthread_attr_setdetachstate = FUNCTION;
- pthread_attr_setinheritsched = FUNCTION;
- pthread_attr_setschedparam = FUNCTION;
- pthread_attr_setschedpolicy = FUNCTION;
- pthread_attr_setscope = FUNCTION;
- pthread_attr_setstackaddr = FUNCTION;
- pthread_attr_setstacksize = FUNCTION;
- pthread_cancel = FUNCTION;
- __pthread_cleanup_pop = FUNCTION;
- __pthread_cleanup_push = FUNCTION;
- pthread_cond_broadcast = FUNCTION;
- pthread_cond_destroy = FUNCTION;
- pthread_cond_init = FUNCTION;
- pthread_cond_signal = FUNCTION;
- pthread_cond_timedwait = FUNCTION;
- pthread_cond_wait = FUNCTION;
- pthread_condattr_destroy = FUNCTION;
- pthread_condattr_getpshared = FUNCTION;
- pthread_condattr_init = FUNCTION;
- pthread_condattr_setpshared = FUNCTION;
- pthread_create = FUNCTION;
- pthread_detach = FUNCTION;
- pthread_equal = FUNCTION;
- pthread_exit = FUNCTION;
- pthread_getschedparam = FUNCTION;
- pthread_getspecific = FUNCTION;
- pthread_join = FUNCTION;
- pthread_key_create = FUNCTION;
- pthread_key_delete = FUNCTION;
- pthread_kill = FUNCTION;
- pthread_mutex_destroy = FUNCTION;
- pthread_mutex_getprioceiling = FUNCTION;
- pthread_mutex_init = FUNCTION;
- pthread_mutex_lock = FUNCTION;
- pthread_mutex_setprioceiling = FUNCTION;
- pthread_mutex_trylock = FUNCTION;
- pthread_mutex_unlock = FUNCTION;
- pthread_mutexattr_destroy = FUNCTION;
- pthread_mutexattr_getprioceiling = FUNCTION;
- pthread_mutexattr_getprotocol = FUNCTION;
- pthread_mutexattr_getpshared = FUNCTION;
- pthread_mutexattr_init = FUNCTION;
- pthread_mutexattr_setprioceiling = FUNCTION;
- pthread_mutexattr_setprotocol = FUNCTION;
- pthread_mutexattr_setpshared = FUNCTION;
- pthread_once = FUNCTION;
- pthread_self = FUNCTION;
- pthread_setcancelstate = FUNCTION;
- pthread_setcanceltype = FUNCTION;
- pthread_setschedparam = FUNCTION;
- pthread_setspecific = FUNCTION;
- pthread_sigmask = FUNCTION;
- pthread_testcancel = FUNCTION;
- thr_main = FUNCTION;
- thr_stksegment = FUNCTION;
- alarm = FUNCTION;
- close = FUNCTION NODIRECT;
- creat = FUNCTION;
- fcntl = FUNCTION;
- fork = FUNCTION NODIRECT;
- fsync = FUNCTION;
- msync = FUNCTION;
- open = FUNCTION;
- pause = FUNCTION;
- read = FUNCTION;
- setitimer = FUNCTION;
- sigsetjmp = FUNCTION;
- sigsuspend = FUNCTION;
- tcdrain = FUNCTION;
- wait = FUNCTION;
- waitpid = FUNCTION;
- write = FUNCTION;
- sigpending = FUNCTION;
-} SUNW_0.7;
-
-SUNW_0.7 {
- global:
- thr_continue = FUNCTION;
- thr_create = FUNCTION;
- thr_exit = FUNCTION;
- thr_getconcurrency = FUNCTION;
- thr_getprio = FUNCTION;
- thr_getspecific = FUNCTION;
- thr_join = FUNCTION;
- thr_keycreate = FUNCTION;
- thr_kill = FUNCTION;
- thr_min_stack = FUNCTION;
- thr_self = FUNCTION;
- thr_setconcurrency = FUNCTION;
- thr_setprio = FUNCTION;
- thr_setspecific = FUNCTION;
- thr_sigsetmask = FUNCTION;
- thr_suspend = FUNCTION;
- thr_yield = FUNCTION;
- lwp_self = FUNCTION;
- cond_broadcast = FUNCTION;
- cond_destroy = FUNCTION;
- cond_init = FUNCTION;
- cond_signal = FUNCTION;
- cond_timedwait = FUNCTION;
- cond_wait = FUNCTION;
- fork1 = FUNCTION;
- mutex_destroy = FUNCTION;
- mutex_init = FUNCTION;
- mutex_lock = FUNCTION;
- mutex_trylock = FUNCTION;
- mutex_unlock = FUNCTION;
- rw_rdlock = FUNCTION;
- rw_tryrdlock = FUNCTION;
- rw_trywrlock = FUNCTION;
- rw_unlock = FUNCTION;
- rw_wrlock = FUNCTION;
- rwlock_destroy = FUNCTION;
- rwlock_init = FUNCTION;
- sema_destroy = FUNCTION;
- sema_init = FUNCTION;
- sema_post = FUNCTION;
- sema_trywait = FUNCTION;
- sema_wait = FUNCTION;
- _getfp = FUNCTION;
- sigaction = FUNCTION NODIRECT;
- sigprocmask = FUNCTION;
- sigwait = FUNCTION;
- sleep = FUNCTION;
- setcontext = FUNCTION;
- _mutex_held = FUNCTION;
- _rw_read_held = FUNCTION;
- _rw_write_held = FUNCTION;
- _sema_held = FUNCTION;
-};
-
-SUNWprivate_1.1 {
- global:
- _resume = FUNCTION;
- _resume_ret = FUNCTION;
- _pthread_setcleanupinit = FUNCTION;
- thr_probe_setup = FUNCTION;
- _thr_continue_allmutators = FUNCTION;
- _thr_continue_mutator = FUNCTION;
- _thr_getstate = FUNCTION;
- _thr_mutators_barrier = FUNCTION;
- _thr_setmutator = FUNCTION;
- _thr_setstate = FUNCTION;
- _thr_sighndlrinfo = FUNCTION;
- _thr_suspend_allmutators = FUNCTION;
- _thr_suspend_mutator = FUNCTION;
- _thr_wait_mutator = FUNCTION;
- thr_continue_allmutators = FUNCTION;
- thr_continue_mutator = FUNCTION;
- thr_getstate = FUNCTION;
- thr_mutators_barrier = FUNCTION;
- thr_setmutator = FUNCTION;
- thr_setstate = FUNCTION;
- thr_sighndlrinfo = FUNCTION;
- thr_suspend_allmutators = FUNCTION;
- thr_suspend_mutator = FUNCTION;
- thr_wait_mutator = FUNCTION;
- _mutex_destroy = FUNCTION;
- _mutex_init = FUNCTION;
- _mutex_lock = FUNCTION;
- _mutex_unlock = FUNCTION;
- _sema_destroy = FUNCTION;
- _thr_create = FUNCTION;
- _thr_getspecific = FUNCTION;
- _thr_join = FUNCTION;
- _thr_keycreate = FUNCTION;
- _thr_self = FUNCTION;
- _thr_setspecific = FUNCTION;
- _thr_main = FUNCTION;
- __tls_get_addr = FUNCTION;
- _getsp = FUNCTION;
- _rwlock_destroy = FUNCTION;
- __gettsp = FUNCTION;
- _assfail = FUNCTION;
- _sigoff = FUNCTION;
- _sigon = FUNCTION;
- _fork = FUNCTION;
- _setcontext = FUNCTION;
- _sigaction = FUNCTION NODIRECT;
- _sigprocmask = FUNCTION;
- _sigsuspend = FUNCTION;
- _sigsetjmp = FUNCTION;
- _sleep = FUNCTION;
- _alarm = FUNCTION;
- _setitimer = FUNCTION;
- mutex_held = FUNCTION;
- rw_read_held = FUNCTION;
- rw_write_held = FUNCTION;
- sema_held = FUNCTION;
-};
-
diff --git a/usr/src/lib/libtnf/mapfile-vers b/usr/src/lib/libtnf/mapfile-vers
index a2c8c0efaa..80b4c20b22 100644
--- a/usr/src/lib/libtnf/mapfile-vers
+++ b/usr/src/lib/libtnf/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
tnf_default_error_handler;
tnf_error_message;
diff --git a/usr/src/lib/libtnfctl/mapfile-vers b/usr/src/lib/libtnfctl/mapfile-vers
index e546f3f5c0..0d74d0ec43 100644
--- a/usr/src/lib/libtnfctl/mapfile-vers
+++ b/usr/src/lib/libtnfctl/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
tnfctl_buffer_alloc;
tnfctl_buffer_dealloc;
@@ -68,7 +69,7 @@ SUNW_1.1 {
tnfctl_trace_state_set;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_tnfctl_externally_traced_pid;
_tnfctl_internal_tracing_flag;
diff --git a/usr/src/lib/libtnfprobe/Makefile.com b/usr/src/lib/libtnfprobe/Makefile.com
index fade30ae8a..d599d5fc7e 100644
--- a/usr/src/lib/libtnfprobe/Makefile.com
+++ b/usr/src/lib/libtnfprobe/Makefile.com
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY= libtnfprobe.a
@@ -50,7 +47,6 @@ SRCS= $(OBJECTS.c:%.o=../%.c) $(UFSOBJS:%.o=$(UFSDIR)/%.c)
LIBS= $(DYNLIB)
-MAPFILES += mapfile-vers
DYNFLAGS += $(ZINTERPOSE)
HDRS= com.h writer.h probe.h
diff --git a/usr/src/lib/libtnfprobe/amd64/mapfile-vers b/usr/src/lib/libtnfprobe/amd64/mapfile-vers
deleted file mode 100644
index b1f774d39e..0000000000
--- a/usr/src/lib/libtnfprobe/amd64/mapfile-vers
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
-};
diff --git a/usr/src/lib/libtnfprobe/i386/mapfile-vers b/usr/src/lib/libtnfprobe/i386/mapfile-vers
deleted file mode 100644
index b1f774d39e..0000000000
--- a/usr/src/lib/libtnfprobe/i386/mapfile-vers
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
-};
diff --git a/usr/src/lib/libtnfprobe/mapfile-vers b/usr/src/lib/libtnfprobe/mapfile-vers
index 33c186dd4d..bcee4b1a23 100644
--- a/usr/src/lib/libtnfprobe/mapfile-vers
+++ b/usr/src/lib/libtnfprobe/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,9 +36,11 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
- fork = NODIRECT;
+ fork { FLAGS = NODIRECT };
fork1;
pthread_create;
pthread_exit;
@@ -100,6 +101,11 @@ SUNWprivate_1.1 {
tnf_uint8_tag_data;
tnf_user_struct_properties;
_tnfw_b_control;
+
+$if _sparc
+ thr_stksegment;
+$endif
+
local:
*;
};
diff --git a/usr/src/lib/libtnfprobe/sparc/mapfile-vers b/usr/src/lib/libtnfprobe/sparc/mapfile-vers
deleted file mode 100644
index 7e96e167cf..0000000000
--- a/usr/src/lib/libtnfprobe/sparc/mapfile-vers
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
- thr_stksegment;
-};
diff --git a/usr/src/lib/libtnfprobe/sparcv9/mapfile-vers b/usr/src/lib/libtnfprobe/sparcv9/mapfile-vers
deleted file mode 100644
index 7e96e167cf..0000000000
--- a/usr/src/lib/libtnfprobe/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNWprivate_1.1 {
- global:
- thr_stksegment;
-};
diff --git a/usr/src/lib/libtsalarm/common/mapfile-vers b/usr/src/lib/libtsalarm/common/mapfile-vers
index 4b1df8e1e0..46f7b5f26e 100644
--- a/usr/src/lib/libtsalarm/common/mapfile-vers
+++ b/usr/src/lib/libtsalarm/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,11 +35,13 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Interface definition for usr/src/lib/libtsalarm
#
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
tsalarm_get;
tsalarm_set;
diff --git a/usr/src/lib/libtsnet/common/mapfile-vers b/usr/src/lib/libtsnet/common/mapfile-vers
index 4ec0a24258..2801b177eb 100644
--- a/usr/src/lib/libtsnet/common/mapfile-vers
+++ b/usr/src/lib/libtsnet/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
rhstr_to_ent;
rtsa_keyword;
diff --git a/usr/src/lib/libtsol/common/mapfile-vers b/usr/src/lib/libtsol/common/mapfile-vers
index 162bcf5313..b340a0aba4 100644
--- a/usr/src/lib/libtsol/common/mapfile-vers
+++ b/usr/src/lib/libtsol/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_2.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_2.1 {
global:
bldominates;
blequal;
@@ -60,7 +61,7 @@ SUNW_2.1 {
str_to_label;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
bclearcvt;
bclearcvtfull;
diff --git a/usr/src/lib/libumem/common/mapfile-vers b/usr/src/lib/libumem/common/mapfile-vers
index d122a1f2cd..102bd989f7 100644
--- a/usr/src/lib/libumem/common/mapfile-vers
+++ b/usr/src/lib/libumem/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,13 +36,15 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
- calloc = NODIRECT;
- free = NODIRECT;
- malloc = NODIRECT;
- memalign = NODIRECT;
- realloc = NODIRECT;
+ calloc { FLAGS = NODIRECT };
+ free { FLAGS = NODIRECT };
+ malloc { FLAGS = NODIRECT };
+ memalign { FLAGS = NODIRECT };
+ realloc { FLAGS = NODIRECT };
umem_alloc;
umem_cache_alloc;
umem_cache_create;
@@ -52,10 +53,10 @@ SUNW_1.1 {
umem_free;
umem_nofail_callback;
umem_zalloc;
- valloc = NODIRECT;
+ valloc { FLAGS = NODIRECT };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
umem_alloc_align;
umem_free_align;
diff --git a/usr/src/lib/libumem/common/stand_mapfile b/usr/src/lib/libumem/common/stand_mapfile
index cacafb8284..635ad4802f 100644
--- a/usr/src/lib/libumem/common/stand_mapfile
+++ b/usr/src/lib/libumem/common/stand_mapfile
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,6 +35,8 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# This is a supplemental mapfile, used in addition to the standard one
# produced by the spec tools. This mapfile exposes an additional
@@ -43,7 +44,7 @@
# of libumem.
#
-SUNWprivate1.1 {
+SYMBOL_VERSION SUNWprivate1.1 {
global:
umem_startup;
umem_add;
diff --git a/usr/src/lib/libunistat/common/mapfile-vers b/usr/src/lib/libunistat/common/mapfile-vers
index 82904a59f1..8c4028fc96 100644
--- a/usr/src/lib/libunistat/common/mapfile-vers
+++ b/usr/src/lib/libunistat/common/mapfile-vers
@@ -18,8 +18,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -40,7 +39,9 @@
# Generic interface definition for usr/src/lib/libunistat.
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
spcs_s_uinit;
spcs_s_ucreate;
diff --git a/usr/src/lib/libuuid/common/mapfile-vers b/usr/src/lib/libuuid/common/mapfile-vers
index c0efa08cb1..6cea7998d1 100644
--- a/usr/src/lib/libuuid/common/mapfile-vers
+++ b/usr/src/lib/libuuid/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
uuid_clear;
uuid_compare;
@@ -51,7 +52,7 @@ SUNW_1.1 {
uuid_unparse;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/libuutil/common/mapfile-vers b/usr/src/lib/libuutil/common/mapfile-vers
index 7c27d93de2..b488093afb 100644
--- a/usr/src/lib/libuutil/common/mapfile-vers
+++ b/usr/src/lib/libuutil/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
uu_alt_exit;
uu_avl_create;
diff --git a/usr/src/lib/libvolmgt/common/mapfile-vers b/usr/src/lib/libvolmgt/common/mapfile-vers
index 26dabd64d9..8be3415245 100644
--- a/usr/src/lib/libvolmgt/common/mapfile-vers
+++ b/usr/src/lib/libvolmgt/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,24 +40,26 @@
# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
# Don't add any symbols to these versions.
-SUNW_1.3 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.3 {
global:
SUNW_1.3;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
volmgt_acquire;
volmgt_feature_enabled;
volmgt_release;
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
media_findname;
media_getattr;
@@ -73,7 +74,7 @@ SUNW_0.7 {
volmgt_symname;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_dev_mounted;
_dev_unmount;
diff --git a/usr/src/lib/libvrrpadm/common/mapfile-vers b/usr/src/lib/libvrrpadm/common/mapfile-vers
index b7acfccbb6..5551020272 100644
--- a/usr/src/lib/libvrrpadm/common/mapfile-vers
+++ b/usr/src/lib/libvrrpadm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
# MAPFILE HEADER START
@@ -36,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
vrrp_close;
vrrp_create;
diff --git a/usr/src/lib/libvscan/common/mapfile-vers b/usr/src/lib/libvscan/common/mapfile-vers
index 78d83ae462..eb7a5449ea 100644
--- a/usr/src/lib/libvscan/common/mapfile-vers
+++ b/usr/src/lib/libvscan/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
vs_props_get_all;
vs_props_get;
diff --git a/usr/src/lib/libw/common/mapfile-vers b/usr/src/lib/libw/common/mapfile-vers
index 78e06c3f74..83f5f31939 100644
--- a/usr/src/lib/libw/common/mapfile-vers
+++ b/usr/src/lib/libw/common/mapfile-vers
@@ -1,5 +1,4 @@
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -35,102 +34,104 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
local:
*;
} SUNW_0.8;
-SUNW_0.8 {
+SYMBOL_VERSION SUNW_0.8 {
global:
- getwc = FUNCTION;
- putwc = FUNCTION;
- iswctype = FUNCTION;
- wcscoll = FUNCTION;
- wcsftime = FUNCTION;
- wcstod = FUNCTION;
- wcstol = FUNCTION;
- wcstoul = FUNCTION;
- wcscat = FUNCTION;
- wcsncat = FUNCTION;
- wcscmp = FUNCTION;
- wcsncmp = FUNCTION;
- wcscpy = FUNCTION;
- wcsncpy = FUNCTION;
- wcslen = FUNCTION;
- wcwidth = FUNCTION;
- wcswidth = FUNCTION;
- wcschr = FUNCTION;
- wcsrchr = FUNCTION;
- wcspbrk = FUNCTION;
- wcsxfrm = FUNCTION;
- wctype = FUNCTION;
- strtows = FUNCTION;
- wcscspn = FUNCTION;
- wcsspn = FUNCTION;
- wcstok = FUNCTION;
- wcswcs = FUNCTION;
- wstostr = FUNCTION;
+ getwc { TYPE = FUNCTION };
+ putwc { TYPE = FUNCTION };
+ iswctype { TYPE = FUNCTION };
+ wcscoll { TYPE = FUNCTION };
+ wcsftime { TYPE = FUNCTION };
+ wcstod { TYPE = FUNCTION };
+ wcstol { TYPE = FUNCTION };
+ wcstoul { TYPE = FUNCTION };
+ wcscat { TYPE = FUNCTION };
+ wcsncat { TYPE = FUNCTION };
+ wcscmp { TYPE = FUNCTION };
+ wcsncmp { TYPE = FUNCTION };
+ wcscpy { TYPE = FUNCTION };
+ wcsncpy { TYPE = FUNCTION };
+ wcslen { TYPE = FUNCTION };
+ wcwidth { TYPE = FUNCTION };
+ wcswidth { TYPE = FUNCTION };
+ wcschr { TYPE = FUNCTION };
+ wcsrchr { TYPE = FUNCTION };
+ wcspbrk { TYPE = FUNCTION };
+ wcsxfrm { TYPE = FUNCTION };
+ wctype { TYPE = FUNCTION };
+ strtows { TYPE = FUNCTION };
+ wcscspn { TYPE = FUNCTION };
+ wcsspn { TYPE = FUNCTION };
+ wcstok { TYPE = FUNCTION };
+ wcswcs { TYPE = FUNCTION };
+ wstostr { TYPE = FUNCTION };
} SUNW_0.7;
-SUNW_0.7 {
+SYMBOL_VERSION SUNW_0.7 {
global:
- getws = FUNCTION;
- fgetws = FUNCTION;
- fgetwc = FUNCTION;
- getwchar = FUNCTION;
- ungetwc = FUNCTION;
- iswalpha = FUNCTION;
- iswupper = FUNCTION;
- iswlower = FUNCTION;
- iswdigit = FUNCTION;
- iswxdigit = FUNCTION;
- iswalnum = FUNCTION;
- iswspace = FUNCTION;
- iswpunct = FUNCTION;
- iswprint = FUNCTION;
- iswgraph = FUNCTION;
- iswcntrl = FUNCTION;
- isphonogram = FUNCTION;
- isideogram = FUNCTION;
- isenglish = FUNCTION;
- isnumber = FUNCTION;
- isspecial = FUNCTION;
- putws = FUNCTION;
- fputwc = FUNCTION;
- fputws = FUNCTION;
- putwchar = FUNCTION;
- towlower = FUNCTION;
- towupper = FUNCTION;
- wscoll = FUNCTION;
- wstod = FUNCTION;
- wstol = FUNCTION;
- wscat = FUNCTION;
- wsncat = FUNCTION;
- wscmp = FUNCTION;
- wsncmp = FUNCTION;
- wscpy = FUNCTION;
- wsncpy = FUNCTION;
- wslen = FUNCTION;
- wschr = FUNCTION;
- wsrchr = FUNCTION;
- wspbrk = FUNCTION;
- wsxfrm = FUNCTION;
- wsprintf = FUNCTION;
- wsscanf = FUNCTION;
- wscasecmp = FUNCTION;
- wsncasecmp = FUNCTION;
- wsdup = FUNCTION;
- wscol = FUNCTION;
- watoll = FUNCTION;
- wscspn = FUNCTION;
- wsspn = FUNCTION;
- wstok = FUNCTION;
- wstoll = FUNCTION;
+ getws { TYPE = FUNCTION };
+ fgetws { TYPE = FUNCTION };
+ fgetwc { TYPE = FUNCTION };
+ getwchar { TYPE = FUNCTION };
+ ungetwc { TYPE = FUNCTION };
+ iswalpha { TYPE = FUNCTION };
+ iswupper { TYPE = FUNCTION };
+ iswlower { TYPE = FUNCTION };
+ iswdigit { TYPE = FUNCTION };
+ iswxdigit { TYPE = FUNCTION };
+ iswalnum { TYPE = FUNCTION };
+ iswspace { TYPE = FUNCTION };
+ iswpunct { TYPE = FUNCTION };
+ iswprint { TYPE = FUNCTION };
+ iswgraph { TYPE = FUNCTION };
+ iswcntrl { TYPE = FUNCTION };
+ isphonogram { TYPE = FUNCTION };
+ isideogram { TYPE = FUNCTION };
+ isenglish { TYPE = FUNCTION };
+ isnumber { TYPE = FUNCTION };
+ isspecial { TYPE = FUNCTION };
+ putws { TYPE = FUNCTION };
+ fputwc { TYPE = FUNCTION };
+ fputws { TYPE = FUNCTION };
+ putwchar { TYPE = FUNCTION };
+ towlower { TYPE = FUNCTION };
+ towupper { TYPE = FUNCTION };
+ wscoll { TYPE = FUNCTION };
+ wstod { TYPE = FUNCTION };
+ wstol { TYPE = FUNCTION };
+ wscat { TYPE = FUNCTION };
+ wsncat { TYPE = FUNCTION };
+ wscmp { TYPE = FUNCTION };
+ wsncmp { TYPE = FUNCTION };
+ wscpy { TYPE = FUNCTION };
+ wsncpy { TYPE = FUNCTION };
+ wslen { TYPE = FUNCTION };
+ wschr { TYPE = FUNCTION };
+ wsrchr { TYPE = FUNCTION };
+ wspbrk { TYPE = FUNCTION };
+ wsxfrm { TYPE = FUNCTION };
+ wsprintf { TYPE = FUNCTION };
+ wsscanf { TYPE = FUNCTION };
+ wscasecmp { TYPE = FUNCTION };
+ wsncasecmp { TYPE = FUNCTION };
+ wsdup { TYPE = FUNCTION };
+ wscol { TYPE = FUNCTION };
+ watoll { TYPE = FUNCTION };
+ wscspn { TYPE = FUNCTION };
+ wsspn { TYPE = FUNCTION };
+ wstok { TYPE = FUNCTION };
+ wstoll { TYPE = FUNCTION };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
};
diff --git a/usr/src/lib/libwanboot/common/mapfile-vers b/usr/src/lib/libwanboot/common/mapfile-vers
index 6147e9ec5e..0bbcc85a2e 100644
--- a/usr/src/lib/libwanboot/common/mapfile-vers
+++ b/usr/src/lib/libwanboot/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
bootconf_end;
bootconf_errmsg;
diff --git a/usr/src/lib/libwanbootutil/common/mapfile-vers b/usr/src/lib/libwanbootutil/common/mapfile-vers
index fc0520cf81..260a6904b0 100644
--- a/usr/src/lib/libwanbootutil/common/mapfile-vers
+++ b/usr/src/lib/libwanbootutil/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
aes_decrypt;
aes_encrypt;
diff --git a/usr/src/lib/libwrap/mapfile b/usr/src/lib/libwrap/mapfile
index 62ead2f207..e02d7e8c9e 100644
--- a/usr/src/lib/libwrap/mapfile
+++ b/usr/src/lib/libwrap/mapfile
@@ -1,6 +1,5 @@
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -22,8 +21,10 @@
# defined by the application.
#
-{
+$mapfile_version 2
+
+SYMBOL_SCOPE {
global:
- allow_severity = extern;
- deny_severity = extern;
+ allow_severity { FLAGS = extern };
+ deny_severity { FLAGS = extern };
};
diff --git a/usr/src/lib/libxcurses/src/mapfile-vers b/usr/src/lib/libxcurses/src/mapfile-vers
index d98f16c428..a95e9cb147 100644
--- a/usr/src/lib/libxcurses/src/mapfile-vers
+++ b/usr/src/lib/libxcurses/src/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
COLOR_PAIRS;
COLORS;
@@ -51,7 +52,7 @@ SUNW_1.2 {
tputs;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
addch;
addchnstr;
@@ -425,7 +426,7 @@ SUNW_1.1 {
wvline_set;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/libxcurses2/src/mapfile-vers b/usr/src/lib/libxcurses2/src/mapfile-vers
index c54487d811..7541706afe 100644
--- a/usr/src/lib/libxcurses2/src/mapfile-vers
+++ b/usr/src/lib/libxcurses2/src/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.2 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.2 {
global:
add_wchstr;
COLOR_PAIRS;
@@ -53,7 +54,7 @@ SUNW_1.2 {
tputs;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
addch;
addchnstr;
@@ -426,7 +427,7 @@ SUNW_1.1 {
wvline_set;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
boolcodes;
boolfnames;
diff --git a/usr/src/lib/libxnet/common/mapfile-vers b/usr/src/lib/libxnet/common/mapfile-vers
index bae43c0320..72d7871838 100644
--- a/usr/src/lib/libxnet/common/mapfile-vers
+++ b/usr/src/lib/libxnet/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,127 +35,138 @@
# MAPFILE HEADER END
#
-SUNW_1.4 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.4 {
global:
- freeaddrinfo = FUNCTION FILTER libsocket.so.1;
- gai_strerror = FUNCTION FILTER libsocket.so.1;
- getaddrinfo = FUNCTION FILTER libsocket.so.1;
- getnameinfo = FUNCTION FILTER libsocket.so.1;
- inet_ntop = FUNCTION FILTER libnsl.so.1;
- inet_pton = FUNCTION FILTER libnsl.so.1;
+ freeaddrinfo { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ gai_strerror { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getaddrinfo { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getnameinfo { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ inet_ntop { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ inet_pton { TYPE = FUNCTION; FILTER = libnsl.so.1 };
} SUNW_1.3;
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
global:
- if_freenameindex = FUNCTION FILTER libsocket.so.1;
- if_indextoname = FUNCTION FILTER libsocket.so.1;
- if_nameindex = FUNCTION FILTER libsocket.so.1;
- if_nametoindex = FUNCTION FILTER libsocket.so.1;
- sockatmark = FUNCTION FILTER libsocket.so.1;
+ if_freenameindex { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ if_indextoname { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ if_nameindex { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ if_nametoindex { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ sockatmark { TYPE = FUNCTION; FILTER = libsocket.so.1 };
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
- _xti_rcvreldata = FUNCTION FILTER libnsl.so.1;
- _xti_rcvv = FUNCTION FILTER libnsl.so.1;
- _xti_rcvvudata = FUNCTION FILTER libnsl.so.1;
- _xti_sndreldata = FUNCTION FILTER libnsl.so.1;
- _xti_sndv = FUNCTION FILTER libnsl.so.1;
- _xti_sndvudata = FUNCTION FILTER libnsl.so.1;
- _xti_sysconf = FUNCTION FILTER libnsl.so.1;
- _xti_xns5_accept = FUNCTION FILTER libnsl.so.1;
- _xti_xns5_snd = FUNCTION FILTER libnsl.so.1;
+ _xti_rcvreldata { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcvv { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcvvudata { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_sndreldata { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_sndv { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_sndvudata { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_sysconf { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_xns5_accept { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_xns5_snd { TYPE = FUNCTION; FILTER = libnsl.so.1 };
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
- __t_errno = FUNCTION FILTER libnsl.so.1;
- __xnet_bind = FUNCTION FILTER libsocket.so.1;
- __xnet_connect = FUNCTION FILTER libsocket.so.1;
- __xnet_getsockopt = FUNCTION FILTER libsocket.so.1;
- __xnet_listen = FUNCTION FILTER libsocket.so.1;
- __xnet_recvmsg = FUNCTION FILTER libsocket.so.1;
- __xnet_sendmsg = FUNCTION FILTER libsocket.so.1;
- __xnet_sendto = FUNCTION FILTER libsocket.so.1;
- __xnet_socket = FUNCTION FILTER libsocket.so.1;
- __xnet_socketpair = FUNCTION FILTER libsocket.so.1;
- _xti_accept = FUNCTION FILTER libnsl.so.1;
- _xti_alloc = FUNCTION FILTER libnsl.so.1;
- _xti_bind = FUNCTION FILTER libnsl.so.1;
- _xti_close = FUNCTION FILTER libnsl.so.1;
- _xti_connect = FUNCTION FILTER libnsl.so.1;
- _xti_error = FUNCTION FILTER libnsl.so.1;
- _xti_free = FUNCTION FILTER libnsl.so.1;
- _xti_getinfo = FUNCTION FILTER libnsl.so.1;
- _xti_getprotaddr = FUNCTION FILTER libnsl.so.1;
- _xti_getstate = FUNCTION FILTER libnsl.so.1;
- _xti_listen = FUNCTION FILTER libnsl.so.1;
- _xti_look = FUNCTION FILTER libnsl.so.1;
- _xti_open = FUNCTION FILTER libnsl.so.1;
- _xti_optmgmt = FUNCTION FILTER libnsl.so.1;
- _xti_rcv = FUNCTION FILTER libnsl.so.1;
- _xti_rcvconnect = FUNCTION FILTER libnsl.so.1;
- _xti_rcvdis = FUNCTION FILTER libnsl.so.1;
- _xti_rcvrel = FUNCTION FILTER libnsl.so.1;
- _xti_rcvudata = FUNCTION FILTER libnsl.so.1;
- _xti_rcvuderr = FUNCTION FILTER libnsl.so.1;
- _xti_snd = FUNCTION FILTER libnsl.so.1;
- _xti_snddis = FUNCTION FILTER libnsl.so.1;
- _xti_sndrel = FUNCTION FILTER libnsl.so.1;
- _xti_sndudata = FUNCTION FILTER libnsl.so.1;
- _xti_strerror = FUNCTION FILTER libnsl.so.1;
- _xti_sync = FUNCTION FILTER libnsl.so.1;
- _xti_unbind = FUNCTION FILTER libnsl.so.1;
- accept = FUNCTION FILTER libsocket.so.1;
- bind = FUNCTION FILTER libsocket.so.1;
- connect = FUNCTION FILTER libsocket.so.1;
- endhostent = FUNCTION FILTER libnsl.so.1;
- endnetent = FUNCTION FILTER libsocket.so.1;
- endprotoent = FUNCTION FILTER libsocket.so.1;
- endservent = FUNCTION FILTER libsocket.so.1;
- gethostbyaddr = FUNCTION FILTER libnsl.so.1;
- gethostbyname = FUNCTION FILTER libnsl.so.1;
- gethostent = FUNCTION FILTER libnsl.so.1;
- gethostname = FUNCTION FILTER libc.so.1;
- getnetbyaddr = FUNCTION FILTER libsocket.so.1;
- getnetbyname = FUNCTION FILTER libsocket.so.1;
- getnetent = FUNCTION FILTER libsocket.so.1;
- getpeername = FUNCTION FILTER libsocket.so.1;
- getprotobyname = FUNCTION FILTER libsocket.so.1;
- getprotobynumber = FUNCTION FILTER libsocket.so.1;
- getprotoent = FUNCTION FILTER libsocket.so.1;
- getservbyname = FUNCTION FILTER libsocket.so.1;
- getservbyport = FUNCTION FILTER libsocket.so.1;
- getservent = FUNCTION FILTER libsocket.so.1;
- getsockname = FUNCTION FILTER libsocket.so.1;
- getsockopt = FUNCTION FILTER libsocket.so.1;
- h_errno = DATA S0x4 NODIRECT FILTER libnsl.so.1;
- htonl = FUNCTION FILTER libc.so.1;
- htons = FUNCTION FILTER libc.so.1;
- inet_addr = FUNCTION FILTER libnsl.so.1;
- inet_lnaof = FUNCTION FILTER libsocket.so.1;
- inet_makeaddr = FUNCTION FILTER libsocket.so.1;
- inet_netof = FUNCTION FILTER libnsl.so.1;
- inet_network = FUNCTION FILTER libsocket.so.1;
- inet_ntoa = FUNCTION FILTER libnsl.so.1;
- listen = FUNCTION FILTER libsocket.so.1;
- ntohl = FUNCTION FILTER libc.so.1;
- ntohs = FUNCTION FILTER libc.so.1;
- recv = FUNCTION FILTER libsocket.so.1;
- recvfrom = FUNCTION FILTER libsocket.so.1;
- recvmsg = FUNCTION FILTER libsocket.so.1;
- send = FUNCTION FILTER libsocket.so.1;
- sendmsg = FUNCTION FILTER libsocket.so.1;
- sendto = FUNCTION FILTER libsocket.so.1;
- sethostent = FUNCTION FILTER libnsl.so.1;
- setnetent = FUNCTION FILTER libsocket.so.1;
- setprotoent = FUNCTION FILTER libsocket.so.1;
- setservent = FUNCTION FILTER libsocket.so.1;
- setsockopt = FUNCTION FILTER libsocket.so.1;
- shutdown = FUNCTION FILTER libsocket.so.1;
- socket = FUNCTION FILTER libsocket.so.1;
- socketpair = FUNCTION FILTER libsocket.so.1;
- t_errno = DATA S0x4 FILTER libnsl.so.1;
+ __t_errno { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ __xnet_bind { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_connect { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_getsockopt { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_listen { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_recvmsg { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_sendmsg { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_sendto { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_socket { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ __xnet_socketpair { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ _xti_accept { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_alloc { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_bind { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_close { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_connect { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_error { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_free { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_getinfo { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_getprotaddr { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_getstate { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_listen { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_look { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_open { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_optmgmt { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcv { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcvconnect { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcvdis { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcvrel { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcvudata { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_rcvuderr { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_snd { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_snddis { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_sndrel { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_sndudata { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_strerror { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_sync { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ _xti_unbind { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ accept { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ bind { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ connect { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ endhostent { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ endnetent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ endprotoent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ endservent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ gethostbyaddr { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ gethostbyname { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ gethostent { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ gethostname { TYPE = FUNCTION; FILTER = libc.so.1 };
+ getnetbyaddr { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getnetbyname { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getnetent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getpeername { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getprotobyname { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getprotobynumber { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getprotoent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getservbyname { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getservbyport { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getservent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getsockname { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ getsockopt { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ h_errno {
+ TYPE = DATA;
+ SIZE = 0x4;
+ FLAGS = NODIRECT;
+ FILTER = libnsl.so.1;
+ };
+ htonl { TYPE = FUNCTION; FILTER = libc.so.1 };
+ htons { TYPE = FUNCTION; FILTER = libc.so.1 };
+ inet_addr { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ inet_lnaof { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ inet_makeaddr { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ inet_netof { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ inet_network { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ inet_ntoa { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ listen { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ ntohl { TYPE = FUNCTION; FILTER = libc.so.1 };
+ ntohs { TYPE = FUNCTION; FILTER = libc.so.1 };
+ recv { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ recvfrom { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ recvmsg { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ send { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ sendmsg { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ sendto { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ sethostent { TYPE = FUNCTION; FILTER = libnsl.so.1 };
+ setnetent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ setprotoent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ setservent { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ setsockopt { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ shutdown { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ socket { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ socketpair { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+ t_errno {
+ TYPE = DATA;
+ SIZE = 0x4;
+ FILTER = libnsl.so.1;
+ };
local:
*;
};
diff --git a/usr/src/lib/libzfs/common/mapfile-vers b/usr/src/lib/libzfs/common/mapfile-vers
index dc68ed9bc2..b7ca66d6fd 100644
--- a/usr/src/lib/libzfs/common/mapfile-vers
+++ b/usr/src/lib/libzfs/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
fletcher_2_native;
fletcher_2_byteswap;
diff --git a/usr/src/lib/libzfs_jni/common/mapfile-vers b/usr/src/lib/libzfs_jni/common/mapfile-vers
index b6bad54a77..9cd1d114af 100644
--- a/usr/src/lib/libzfs_jni/common/mapfile-vers
+++ b/usr/src/lib/libzfs_jni/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dmgt_avail_disk_iter;
dmgt_free_disk;
diff --git a/usr/src/lib/libzonecfg/common/mapfile-vers b/usr/src/lib/libzonecfg/common/mapfile-vers
index c0e19ce706..4a918197b5 100644
--- a/usr/src/lib/libzonecfg/common/mapfile-vers
+++ b/usr/src/lib/libzonecfg/common/mapfile-vers
@@ -36,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
endzoneent;
getzoneent;
diff --git a/usr/src/lib/libzoneinfo/common/mapfile-vers b/usr/src/lib/libzoneinfo/common/mapfile-vers
index 9a55895c65..6c25631b86 100644
--- a/usr/src/lib/libzoneinfo/common/mapfile-vers
+++ b/usr/src/lib/libzoneinfo/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
conv_gmt;
free_timezones;
diff --git a/usr/src/lib/lvm/libmeta/common/mapfile-vers b/usr/src/lib/lvm/libmeta/common/mapfile-vers
index e4614b3f65..7a96d1e78b 100644
--- a/usr/src/lib/lvm/libmeta/common/mapfile-vers
+++ b/usr/src/lib/lvm/libmeta/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
add_key_name;
add_name;
@@ -161,7 +162,7 @@ SUNWprivate_1.1 {
md_got_sig;
mdhserror;
mdhsperror;
- md_in_daemon = NODIRECT;
+ md_in_daemon { FLAGS = NODIRECT };
md_init;
md_init_daemon;
md_init_nosig;
@@ -710,40 +711,40 @@ SUNWprivate_1.1 {
resync_genid;
s_delrec;
s_delset;
- sdssc_add_hosts = NODIRECT;
- sdssc_bindclusterdevs = NODIRECT;
- sdssc_binddevs = NODIRECT;
- sdssc_bind_library = NODIRECT;
- sdssc_clnt_bind_devs = NODIRECT;
- sdssc_clnt_proxy_cmd = NODIRECT;
- sdssc_cmd_proxy = NODIRECT;
- sdssc_cm_nid2nm = NODIRECT;
- sdssc_cm_nm2nid = NODIRECT;
- sdssc_cm_sr_nid2nm = NODIRECT;
- sdssc_cm_sr_nm2nid = NODIRECT;
- sdssc_convert_cluster_path = NODIRECT;
- sdssc_convert_ctd_path = NODIRECT;
- sdssc_convert_path_free = NODIRECT;
- sdssc_create_begin = NODIRECT;
- sdssc_create_end = NODIRECT;
- sdssc_delete_begin = NODIRECT;
- sdssc_delete_end = NODIRECT;
- sdssc_delete_hosts = NODIRECT;
- sdssc_free_mdcerr_list = NODIRECT;
- sdssc_freenodelist = NODIRECT;
- sdssc_get_index = NODIRECT;
- sdssc_getnodelist = NODIRECT;
- sdssc_get_primary_host = NODIRECT;
- sdssc_get_priv_ipaddr = NODIRECT;
- sdssc_get_services = NODIRECT;
- sdssc_get_services_free = NODIRECT;
- sdssc_gettransportbynode = NODIRECT;
- sdssc_mo_create_begin = NODIRECT;
- sdssc_notify_service = NODIRECT;
- sdssc_property_get = NODIRECT;
- sdssc_property_set = NODIRECT;
- sdssc_suspend = NODIRECT;
- sdssc_version = NODIRECT;
+ sdssc_add_hosts { FLAGS = NODIRECT };
+ sdssc_bindclusterdevs { FLAGS = NODIRECT };
+ sdssc_binddevs { FLAGS = NODIRECT };
+ sdssc_bind_library { FLAGS = NODIRECT };
+ sdssc_clnt_bind_devs { FLAGS = NODIRECT };
+ sdssc_clnt_proxy_cmd { FLAGS = NODIRECT };
+ sdssc_cmd_proxy { FLAGS = NODIRECT };
+ sdssc_cm_nid2nm { FLAGS = NODIRECT };
+ sdssc_cm_nm2nid { FLAGS = NODIRECT };
+ sdssc_cm_sr_nid2nm { FLAGS = NODIRECT };
+ sdssc_cm_sr_nm2nid { FLAGS = NODIRECT };
+ sdssc_convert_cluster_path { FLAGS = NODIRECT };
+ sdssc_convert_ctd_path { FLAGS = NODIRECT };
+ sdssc_convert_path_free { FLAGS = NODIRECT };
+ sdssc_create_begin { FLAGS = NODIRECT };
+ sdssc_create_end { FLAGS = NODIRECT };
+ sdssc_delete_begin { FLAGS = NODIRECT };
+ sdssc_delete_end { FLAGS = NODIRECT };
+ sdssc_delete_hosts { FLAGS = NODIRECT };
+ sdssc_free_mdcerr_list { FLAGS = NODIRECT };
+ sdssc_freenodelist { FLAGS = NODIRECT };
+ sdssc_get_index { FLAGS = NODIRECT };
+ sdssc_getnodelist { FLAGS = NODIRECT };
+ sdssc_get_primary_host { FLAGS = NODIRECT };
+ sdssc_get_priv_ipaddr { FLAGS = NODIRECT };
+ sdssc_get_services { FLAGS = NODIRECT };
+ sdssc_get_services_free { FLAGS = NODIRECT };
+ sdssc_gettransportbynode { FLAGS = NODIRECT };
+ sdssc_mo_create_begin { FLAGS = NODIRECT };
+ sdssc_notify_service { FLAGS = NODIRECT };
+ sdssc_property_get { FLAGS = NODIRECT };
+ sdssc_property_set { FLAGS = NODIRECT };
+ sdssc_suspend { FLAGS = NODIRECT };
+ sdssc_version { FLAGS = NODIRECT };
setdevstamp;
setdup;
set_snarf;
diff --git a/usr/src/lib/lvm/libpreen/common/mapfile-vers b/usr/src/lib/lvm/libpreen/common/mapfile-vers
index 0bce2706e9..bd55e61762 100644
--- a/usr/src/lib/lvm/libpreen/common/mapfile-vers
+++ b/usr/src/lib/lvm/libpreen/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
preen_build_devs;
local:
@@ -46,8 +47,8 @@ SUNWprivate_1.1 {
# External interface requirements
-{
+SYMBOL_SCOPE {
global:
- preen_addunit = EXTERN;
- preen_subdev = EXTERN;
+ preen_addunit { FLAGS = EXTERN };
+ preen_subdev { FLAGS = EXTERN };
};
diff --git a/usr/src/lib/lvm/libsvm/common/mapfile-vers b/usr/src/lib/lvm/libsvm/common/mapfile-vers
index 385dc529f3..a75ef31094 100644
--- a/usr/src/lib/lvm/libsvm/common/mapfile-vers
+++ b/usr/src/lib/lvm/libsvm/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
svm_alloc;
svm_check;
diff --git a/usr/src/lib/mpapi/libmpapi/common/mapfile-vers b/usr/src/lib/mpapi/libmpapi/common/mapfile-vers
index d22649e05a..20ec9971b5 100644
--- a/usr/src/lib/mpapi/libmpapi/common/mapfile-vers
+++ b/usr/src/lib/mpapi/libmpapi/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.0 {
global:
MP_GetLibraryProperties;
MP_GetPluginOidList;
diff --git a/usr/src/lib/mpapi/libmpscsi_vhci/common/mapfile-vers b/usr/src/lib/mpapi/libmpscsi_vhci/common/mapfile-vers
index 135b16038c..ddf614e377 100644
--- a/usr/src/lib/mpapi/libmpscsi_vhci/common/mapfile-vers
+++ b/usr/src/lib/mpapi/libmpscsi_vhci/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
Initialize;
Terminate;
@@ -90,7 +91,7 @@ SUNW_1.1 {
*;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
init_sysevents;
log;
diff --git a/usr/src/lib/nametoaddr/straddr/common/mapfile-vers b/usr/src/lib/nametoaddr/straddr/common/mapfile-vers
index a964f28c9b..45c669516f 100644
--- a/usr/src/lib/nametoaddr/straddr/common/mapfile-vers
+++ b/usr/src/lib/nametoaddr/straddr/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_2.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_2.1 {
global:
_netdir_getbyaddr;
_netdir_getbyname;
diff --git a/usr/src/lib/ncad_addr/Makefile.com b/usr/src/lib/ncad_addr/Makefile.com
index aaf827792a..f7c5994bba 100644
--- a/usr/src/lib/ncad_addr/Makefile.com
+++ b/usr/src/lib/ncad_addr/Makefile.com
@@ -19,10 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = ncad_addr.a
@@ -33,8 +30,6 @@ include ../../Makefile.lib
SRCDIR = ../common
-MAPFILES += mapfile-vers
-
LIBS = $(DYNLIB)
LDLIBS += -lc -lnsl
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/ncad_addr/amd64/mapfile-vers b/usr/src/lib/ncad_addr/amd64/mapfile-vers
deleted file mode 100644
index bca03ea513..0000000000
--- a/usr/src/lib/ncad_addr/amd64/mapfile-vers
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- # Bind is intended to interpose on the real system call. However,
- # we want debuggers to see its real name (nca_bind), so use NODYNSORT
- # to prevent "bind" from going into the ELF .SUNW_dynsymsort section
- bind = NODYNSORT;
-};
diff --git a/usr/src/lib/ncad_addr/common/mapfile-vers b/usr/src/lib/ncad_addr/common/mapfile-vers
index 98c87b3a33..66479635e0 100644
--- a/usr/src/lib/ncad_addr/common/mapfile-vers
+++ b/usr/src/lib/ncad_addr/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,44 +36,66 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# The following version madness was mistakenly inherited from
# libsocket in Solaris 9, when this library was created.
# See the isa-specific mapfiles for the contents of SUNW_0.7
-SUNW_1.4 { # SunOS 5.9 (Solaris 9)
+SYMBOL_VERSION SUNW_1.4 { # SunOS 5.9 (Solaris 9)
global:
SUNW_1.4;
} SUNW_1.3;
-SUNW_1.3 {
+SYMBOL_VERSION SUNW_1.3 {
global:
SUNW_1.3;
} SUNW_1.2;
-SUNW_1.2 {
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
} SUNW_0.7;
+#
+# For most platforms, SUNW_0.7 contains bind. For ABI reasons, 32-bit sparc
+# puts it in SISCD_2.3 instead, and SUNW_0.7 exists solely so that 1.1 can
+# inherit from it on all platforms.
+#
+SYMBOL_VERSION SUNW_0.7 {
+ global:
+$if _sparc && _ELF32
+ SUNW_0.7;
+} SISCD_2.3;
+
+SYMBOL_VERSION SISCD_2.3 {
+ global:
+$endif
+ # Bind is intended to interpose on the real system call. However,
+ # we want debuggers to see its real name (nca_bind), so use NODYNSORT
+ # to prevent "bind" from going into the ELF .SUNW_dynsymsort section
+ bind { FLAGS = NODYNSORT };
+};
+
# There really should be only one SUNWprivate version.
# Don't add any more. Add new private symbols to SUNWprivate_1.3
-SUNWprivate_1.3 {
+SYMBOL_VERSION SUNWprivate_1.3 {
global:
SUNWprivate_1.3;
} SUNWprivate_1.2;
-SUNWprivate_1.2 {
+SYMBOL_VERSION SUNWprivate_1.2 {
global:
SUNWprivate_1.2;
} SUNWprivate_1.1;
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/ncad_addr/i386/mapfile-vers b/usr/src/lib/ncad_addr/i386/mapfile-vers
deleted file mode 100644
index bca03ea513..0000000000
--- a/usr/src/lib/ncad_addr/i386/mapfile-vers
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- # Bind is intended to interpose on the real system call. However,
- # we want debuggers to see its real name (nca_bind), so use NODYNSORT
- # to prevent "bind" from going into the ELF .SUNW_dynsymsort section
- bind = NODYNSORT;
-};
diff --git a/usr/src/lib/ncad_addr/sparc/mapfile-vers b/usr/src/lib/ncad_addr/sparc/mapfile-vers
deleted file mode 100644
index 59e88c8e43..0000000000
--- a/usr/src/lib/ncad_addr/sparc/mapfile-vers
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- SUNW_0.7;
-} SISCD_2.3;
-
-SISCD_2.3 {
- global:
- # Bind is intended to interpose on the real system call. However,
- # we want debuggers to see its real name (nca_bind), so use NODYNSORT
- # to prevent "bind" from going into the ELF .SUNW_dynsymsort section
- bind = NODYNSORT;
-};
diff --git a/usr/src/lib/ncad_addr/sparcv9/mapfile-vers b/usr/src/lib/ncad_addr/sparcv9/mapfile-vers
deleted file mode 100644
index bca03ea513..0000000000
--- a/usr/src/lib/ncad_addr/sparcv9/mapfile-vers
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SUNW_0.7 {
- global:
- # Bind is intended to interpose on the real system call. However,
- # we want debuggers to see its real name (nca_bind), so use NODYNSORT
- # to prevent "bind" from going into the ELF .SUNW_dynsymsort section
- bind = NODYNSORT;
-};
diff --git a/usr/src/lib/nsswitch/ad/common/mapfile-vers b/usr/src/lib/nsswitch/ad/common/mapfile-vers
index ac0a6d7bfb..77e2c2ce7f 100644
--- a/usr/src/lib/nsswitch/ad/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/ad/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
_nss_ad_passwd_constr;
_nss_ad_shadow_constr;
diff --git a/usr/src/lib/nsswitch/compat/common/mapfile-vers b/usr/src/lib/nsswitch/compat/common/mapfile-vers
index e14572c69a..980733ed67 100644
--- a/usr/src/lib/nsswitch/compat/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/compat/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -39,7 +38,9 @@
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nss_compat_audit_user_constr;
_nss_compat_group_constr;
diff --git a/usr/src/lib/nsswitch/dns/common/mapfile-vers b/usr/src/lib/nsswitch/dns/common/mapfile-vers
index 6b841e9077..e9c86550b6 100644
--- a/usr/src/lib/nsswitch/dns/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/dns/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -40,7 +39,9 @@
# Generic interface definition for usr/src/lib/nsswitch/dns.
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nss_dns_hosts_constr;
_nss_dns_ipnodes_constr;
diff --git a/usr/src/lib/nsswitch/files/common/mapfile-vers b/usr/src/lib/nsswitch/files/common/mapfile-vers
index 8ddd8c6f1b..722c5c27f8 100644
--- a/usr/src/lib/nsswitch/files/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/files/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -40,7 +39,9 @@
# Generic interface definition for usr/src/lib/nsswitch/files.
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nss_files_bootparams_constr;
_nss_files_auth_attr_constr;
diff --git a/usr/src/lib/nsswitch/ldap/common/mapfile-vers b/usr/src/lib/nsswitch/ldap/common/mapfile-vers
index 86d5223dfa..278db47d81 100644
--- a/usr/src/lib/nsswitch/ldap/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/ldap/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,11 +35,13 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Generic interface definition for usr/src/lib/nsswitch/ldap.
#
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nss_ldap_audit_user_constr;
_nss_ldap_auth_attr_constr;
diff --git a/usr/src/lib/nsswitch/mdns/common/mapfile-vers b/usr/src/lib/nsswitch/mdns/common/mapfile-vers
index 715604ea71..e50f5e3b70 100644
--- a/usr/src/lib/nsswitch/mdns/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/mdns/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,11 +37,13 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Generic interface definition for usr/src/lib/nsswitch/mdns.
#
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nss_mdns_hosts_constr;
_nss_mdns_ipnodes_constr;
diff --git a/usr/src/lib/nsswitch/nis/common/mapfile-vers b/usr/src/lib/nsswitch/nis/common/mapfile-vers
index c4952b6828..3d4af9a027 100644
--- a/usr/src/lib/nsswitch/nis/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/nis/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -40,7 +39,9 @@
# Generic interface definition for usr/src/lib/nsswitch/nis.
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nss_nis_bootparams_constr;
_nss_nis_auth_attr_constr;
diff --git a/usr/src/lib/nsswitch/user/common/mapfile-vers b/usr/src/lib/nsswitch/user/common/mapfile-vers
index 6d3266eedb..a82aeef345 100644
--- a/usr/src/lib/nsswitch/user/common/mapfile-vers
+++ b/usr/src/lib/nsswitch/user/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -40,7 +39,9 @@
# Generic interface definition for usr/src/lib/nsswitch/user.
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
_nss_user_printers_constr;
_nss_user__printers_constr;
diff --git a/usr/src/lib/pam_modules/allow/mapfile-vers b/usr/src/lib/pam_modules/allow/mapfile-vers
index beac5328ef..396ee34d72 100644
--- a/usr/src/lib/pam_modules/allow/mapfile-vers
+++ b/usr/src/lib/pam_modules/allow/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
pam_sm_authenticate;
diff --git a/usr/src/lib/pam_modules/authtok_check/mapfile-vers b/usr/src/lib/pam_modules/authtok_check/mapfile-vers
index 51e2a7fad8..38981d684b 100644
--- a/usr/src/lib/pam_modules/authtok_check/mapfile-vers
+++ b/usr/src/lib/pam_modules/authtok_check/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_chauthtok;
local:
diff --git a/usr/src/lib/pam_modules/authtok_get/mapfile-vers b/usr/src/lib/pam_modules/authtok_get/mapfile-vers
index 94d37e2bfe..2c199f305d 100644
--- a/usr/src/lib/pam_modules/authtok_get/mapfile-vers
+++ b/usr/src/lib/pam_modules/authtok_get/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_chauthtok;
diff --git a/usr/src/lib/pam_modules/authtok_store/mapfile-vers b/usr/src/lib/pam_modules/authtok_store/mapfile-vers
index 51e2a7fad8..38981d684b 100644
--- a/usr/src/lib/pam_modules/authtok_store/mapfile-vers
+++ b/usr/src/lib/pam_modules/authtok_store/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_chauthtok;
local:
diff --git a/usr/src/lib/pam_modules/deny/mapfile-vers b/usr/src/lib/pam_modules/deny/mapfile-vers
index beac5328ef..396ee34d72 100644
--- a/usr/src/lib/pam_modules/deny/mapfile-vers
+++ b/usr/src/lib/pam_modules/deny/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
pam_sm_authenticate;
diff --git a/usr/src/lib/pam_modules/dhkeys/mapfile-vers b/usr/src/lib/pam_modules/dhkeys/mapfile-vers
index 94d37e2bfe..2c199f305d 100644
--- a/usr/src/lib/pam_modules/dhkeys/mapfile-vers
+++ b/usr/src/lib/pam_modules/dhkeys/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_chauthtok;
diff --git a/usr/src/lib/pam_modules/dial_auth/mapfile-vers b/usr/src/lib/pam_modules/dial_auth/mapfile-vers
index 8cffe9b6f3..f4950dcf15 100644
--- a/usr/src/lib/pam_modules/dial_auth/mapfile-vers
+++ b/usr/src/lib/pam_modules/dial_auth/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_setcred;
diff --git a/usr/src/lib/pam_modules/krb5/mapfile-vers b/usr/src/lib/pam_modules/krb5/mapfile-vers
index beac5328ef..396ee34d72 100644
--- a/usr/src/lib/pam_modules/krb5/mapfile-vers
+++ b/usr/src/lib/pam_modules/krb5/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
pam_sm_authenticate;
diff --git a/usr/src/lib/pam_modules/krb5_migrate/mapfile-vers b/usr/src/lib/pam_modules/krb5_migrate/mapfile-vers
index 8cffe9b6f3..f4950dcf15 100644
--- a/usr/src/lib/pam_modules/krb5_migrate/mapfile-vers
+++ b/usr/src/lib/pam_modules/krb5_migrate/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_setcred;
diff --git a/usr/src/lib/pam_modules/ldap/mapfile-vers b/usr/src/lib/pam_modules/ldap/mapfile-vers
index beac5328ef..396ee34d72 100644
--- a/usr/src/lib/pam_modules/ldap/mapfile-vers
+++ b/usr/src/lib/pam_modules/ldap/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
pam_sm_authenticate;
diff --git a/usr/src/lib/pam_modules/list/mapfile-vers b/usr/src/lib/pam_modules/list/mapfile-vers
index 0da3a70f61..7661d79919 100644
--- a/usr/src/lib/pam_modules/list/mapfile-vers
+++ b/usr/src/lib/pam_modules/list/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
local:
diff --git a/usr/src/lib/pam_modules/passwd_auth/mapfile-vers b/usr/src/lib/pam_modules/passwd_auth/mapfile-vers
index 8cffe9b6f3..f4950dcf15 100644
--- a/usr/src/lib/pam_modules/passwd_auth/mapfile-vers
+++ b/usr/src/lib/pam_modules/passwd_auth/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_setcred;
diff --git a/usr/src/lib/pam_modules/rhosts_auth/mapfile-vers b/usr/src/lib/pam_modules/rhosts_auth/mapfile-vers
index 8cffe9b6f3..f4950dcf15 100644
--- a/usr/src/lib/pam_modules/rhosts_auth/mapfile-vers
+++ b/usr/src/lib/pam_modules/rhosts_auth/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_setcred;
diff --git a/usr/src/lib/pam_modules/roles/mapfile-vers b/usr/src/lib/pam_modules/roles/mapfile-vers
index 0da3a70f61..b8588bde75 100644
--- a/usr/src/lib/pam_modules/roles/mapfile-vers
+++ b/usr/src/lib/pam_modules/roles/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
local:
diff --git a/usr/src/lib/pam_modules/sample/mapfile-vers b/usr/src/lib/pam_modules/sample/mapfile-vers
index beac5328ef..396ee34d72 100644
--- a/usr/src/lib/pam_modules/sample/mapfile-vers
+++ b/usr/src/lib/pam_modules/sample/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
pam_sm_authenticate;
diff --git a/usr/src/lib/pam_modules/smb/mapfile-vers b/usr/src/lib/pam_modules/smb/mapfile-vers
index 51e2a7fad8..330b9bd2fd 100644
--- a/usr/src/lib/pam_modules/smb/mapfile-vers
+++ b/usr/src/lib/pam_modules/smb/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_chauthtok;
local:
diff --git a/usr/src/lib/pam_modules/smbfs/mapfile-vers b/usr/src/lib/pam_modules/smbfs/mapfile-vers
index 8cffe9b6f3..3f581e8127 100644
--- a/usr/src/lib/pam_modules/smbfs/mapfile-vers
+++ b/usr/src/lib/pam_modules/smbfs/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_setcred;
diff --git a/usr/src/lib/pam_modules/tsol_acct/mapfile-vers b/usr/src/lib/pam_modules/tsol_acct/mapfile-vers
index 0da3a70f61..7661d79919 100644
--- a/usr/src/lib/pam_modules/tsol_acct/mapfile-vers
+++ b/usr/src/lib/pam_modules/tsol_acct/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
local:
diff --git a/usr/src/lib/pam_modules/unix_account/mapfile-vers b/usr/src/lib/pam_modules/unix_account/mapfile-vers
index 0da3a70f61..b8588bde75 100644
--- a/usr/src/lib/pam_modules/unix_account/mapfile-vers
+++ b/usr/src/lib/pam_modules/unix_account/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_acct_mgmt;
local:
diff --git a/usr/src/lib/pam_modules/unix_auth/mapfile-vers b/usr/src/lib/pam_modules/unix_auth/mapfile-vers
index 8cffe9b6f3..f4950dcf15 100644
--- a/usr/src/lib/pam_modules/unix_auth/mapfile-vers
+++ b/usr/src/lib/pam_modules/unix_auth/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_setcred;
diff --git a/usr/src/lib/pam_modules/unix_cred/mapfile-vers b/usr/src/lib/pam_modules/unix_cred/mapfile-vers
index 8cffe9b6f3..f4950dcf15 100644
--- a/usr/src/lib/pam_modules/unix_cred/mapfile-vers
+++ b/usr/src/lib/pam_modules/unix_cred/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_authenticate;
pam_sm_setcred;
diff --git a/usr/src/lib/pam_modules/unix_session/mapfile-vers b/usr/src/lib/pam_modules/unix_session/mapfile-vers
index e9b8efda97..db7b8cab49 100644
--- a/usr/src/lib/pam_modules/unix_session/mapfile-vers
+++ b/usr/src/lib/pam_modules/unix_session/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
pam_sm_close_session;
pam_sm_open_session;
diff --git a/usr/src/lib/passwdutil/mapfile-vers b/usr/src/lib/passwdutil/mapfile-vers
index d6cfe0ad89..f070673ac0 100644
--- a/usr/src/lib/passwdutil/mapfile-vers
+++ b/usr/src/lib/passwdutil/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__check_history;
__get_authtoken_attr;
diff --git a/usr/src/lib/pkcs11/libkcfd/common/mapfile-vers b/usr/src/lib/pkcs11/libkcfd/common/mapfile-vers
index befa3b18d6..3b93ffdf5f 100644
--- a/usr/src/lib/pkcs11/libkcfd/common/mapfile-vers
+++ b/usr/src/lib/pkcs11/libkcfd/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,75 +36,279 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
- C_CancelFunction = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_CloseAllSessions = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_CloseSession = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_CopyObject = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_CreateObject = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Decrypt = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DecryptDigestUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DecryptFinal = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DecryptInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DecryptUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DecryptVerifyUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DeriveKey = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DestroyObject = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Digest = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DigestEncryptUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DigestFinal = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DigestInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DigestKey = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_DigestUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Encrypt = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_EncryptFinal = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_EncryptInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_EncryptUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Finalize = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_FindObjects = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_FindObjectsFinal = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_FindObjectsInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GenerateKey = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GenerateKeyPair = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GenerateRandom = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetAttributeValue = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetFunctionList = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetFunctionStatus = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetInfo = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetMechanismInfo = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetMechanismList = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetObjectSize = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetOperationState = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetSessionInfo = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetSlotInfo = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetSlotList = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_GetTokenInfo = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Initialize = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_InitPIN = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_InitToken = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Login = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Logout = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_OpenSession = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SeedRandom = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SetAttributeValue = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SetOperationState = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SetPIN = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Sign = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SignEncryptUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SignFinal = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SignInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SignRecover = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_SignRecoverInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_UnwrapKey = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_Verify = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_VerifyFinal = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_VerifyInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_VerifyRecover = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_VerifyRecoverInit = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_VerifyUpdate = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_WaitForSlotEvent = FUNCTION FILTER pkcs11_softtoken.so.1;
- C_WrapKey = FUNCTION FILTER pkcs11_softtoken.so.1;
+ C_CancelFunction {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_CloseAllSessions {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_CloseSession {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_CopyObject {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_CreateObject {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Decrypt {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DecryptDigestUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DecryptFinal {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DecryptInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DecryptUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DecryptVerifyUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DeriveKey {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DestroyObject {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Digest {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DigestEncryptUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DigestFinal {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DigestInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DigestKey {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_DigestUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Encrypt {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_EncryptFinal {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_EncryptInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_EncryptUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Finalize {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_FindObjects {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_FindObjectsFinal {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_FindObjectsInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GenerateKey {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GenerateKeyPair {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GenerateRandom {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetAttributeValue {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetFunctionList {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetFunctionStatus {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetInfo {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetMechanismInfo {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetMechanismList {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetObjectSize {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetOperationState {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetSessionInfo {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetSlotInfo {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetSlotList {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_GetTokenInfo {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Initialize {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_InitPIN {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_InitToken {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Login {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Logout {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_OpenSession {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SeedRandom {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SetAttributeValue {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SetOperationState {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SetPIN {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Sign {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SignEncryptUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SignFinal {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SignInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SignRecover {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_SignRecoverInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_UnwrapKey {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_Verify {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_VerifyFinal {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_VerifyInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_VerifyRecover {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_VerifyRecoverInit {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_VerifyUpdate {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_WaitForSlotEvent {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+ C_WrapKey {
+ TYPE = FUNCTION;
+ FILTER = pkcs11_softtoken.so.1;
+ };
+
local:
*;
};
diff --git a/usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers b/usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers
index 22adf8154b..1b55644301 100644
--- a/usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers
+++ b/usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
C_CancelFunction;
C_CloseAllSessions;
@@ -113,7 +114,7 @@ SUNW_1.1 {
*;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
pkcs11_GetCriteriaSession;
pkcs11_ObjectToKey;
diff --git a/usr/src/lib/pkcs11/libsoftcrypto/common/mapfile-vers b/usr/src/lib/pkcs11/libsoftcrypto/common/mapfile-vers
index fd67ce6797..293319c719 100644
--- a/usr/src/lib/pkcs11/libsoftcrypto/common/mapfile-vers
+++ b/usr/src/lib/pkcs11/libsoftcrypto/common/mapfile-vers
@@ -38,7 +38,9 @@
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
aes_alloc_keysched;
aes_copy_block;
diff --git a/usr/src/lib/pkcs11/libsoftcrypto/sun4u/mapfile-vers b/usr/src/lib/pkcs11/libsoftcrypto/sun4u/mapfile-vers
index cb7d38c488..086993a110 100644
--- a/usr/src/lib/pkcs11/libsoftcrypto/sun4u/mapfile-vers
+++ b/usr/src/lib/pkcs11/libsoftcrypto/sun4u/mapfile-vers
@@ -37,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
aes_alloc_keysched;
aes_decrypt_contiguous_blocks;
diff --git a/usr/src/lib/pkcs11/libsoftcrypto/sun4v/mapfile-vers b/usr/src/lib/pkcs11/libsoftcrypto/sun4v/mapfile-vers
index 5b6e46606c..a831fd420a 100644
--- a/usr/src/lib/pkcs11/libsoftcrypto/sun4v/mapfile-vers
+++ b/usr/src/lib/pkcs11/libsoftcrypto/sun4v/mapfile-vers
@@ -38,7 +38,9 @@
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
arcfour_crypt;
arcfour_key_init;
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers b/usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers
index 17aaafa0b6..2761d082a3 100644
--- a/usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers
+++ b/usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
C_CancelFunction;
C_CloseAllSessions;
@@ -109,7 +110,7 @@ SUNW_1.1 {
C_WrapKey;
};
-SUNWprivate {
+SYMBOL_VERSION SUNWprivate {
global:
_SUNW_GetThreshold;
local:
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers b/usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers
index fa6f08ecc1..162f30988b 100644
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers
+++ b/usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
C_CancelFunction;
C_CloseAllSessions;
diff --git a/usr/src/lib/pkcs11/pkcs11_tpm/common/mapfile-vers b/usr/src/lib/pkcs11/pkcs11_tpm/common/mapfile-vers
index fca347d317..3377f1afc3 100644
--- a/usr/src/lib/pkcs11/pkcs11_tpm/common/mapfile-vers
+++ b/usr/src/lib/pkcs11/pkcs11_tpm/common/mapfile-vers
@@ -18,8 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
# MAPFILE HEADER START
#
@@ -34,7 +33,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
C_CancelFunction;
C_CloseAllSessions;
diff --git a/usr/src/lib/policykit/libpolkit/common/mapfile-vers b/usr/src/lib/policykit/libpolkit/common/mapfile-vers
index adeac8ed31..8fc4b3f18a 100644
--- a/usr/src/lib/policykit/libpolkit/common/mapfile-vers
+++ b/usr/src/lib/policykit/libpolkit/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
libpolkit_new_context;
libpolkit_free_context;
@@ -47,7 +48,7 @@ SUNW_1.1 {
libpolkit_get_allowed_resources_for_privilege_for_uid;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local:
diff --git a/usr/src/lib/print/libhttp-core/common/mapfile b/usr/src/lib/print/libhttp-core/common/mapfile
index ad7d3c74fe..1d641d73e1 100644
--- a/usr/src/lib/print/libhttp-core/common/mapfile
+++ b/usr/src/lib/print/libhttp-core/common/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -47,7 +46,9 @@
# PAPI implementations.
#
-SUNWprivate_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
httpCheck ;
httpClose ;
diff --git a/usr/src/lib/print/libipp-core/common/mapfile b/usr/src/lib/print/libipp-core/common/mapfile
index 50f631f1f0..19a947feb5 100644
--- a/usr/src/lib/print/libipp-core/common/mapfile
+++ b/usr/src/lib/print/libipp-core/common/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,12 +41,14 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Common interfaces that are most likely to be shared amongst the various
# PAPI implementations.
#
-SUNWprivate_1.0 {
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
ipp_read_message ;
ipp_write_message ;
diff --git a/usr/src/lib/print/libipp-listener/common/mapfile b/usr/src/lib/print/libipp-listener/common/mapfile
index 53892d15cb..8aaaebddb2 100644
--- a/usr/src/lib/print/libipp-listener/common/mapfile
+++ b/usr/src/lib/print/libipp-listener/common/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,7 +41,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
ipp_configure_operation;
ipp_process_request;
diff --git a/usr/src/lib/print/libpapi-common/common/mapfile b/usr/src/lib/print/libpapi-common/common/mapfile
index edda4b3e14..c1f9e3f1ab 100644
--- a/usr/src/lib/print/libpapi-common/common/mapfile
+++ b/usr/src/lib/print/libpapi-common/common/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,12 +41,14 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Common interfaces that are most likely to be shared amongst the various
# PAPI implementations.
#
-SUNW_1.0 {
+SYMBOL_VERSION SUNW_1.0 {
global:
# PAPI Attribute Calls
papiAttributeListAddValue;
@@ -76,58 +77,58 @@ SUNW_1.0 {
papiAttributeListFree;
# PAPI Service Calls
- papiServiceCreate = NODYNSORT;
- papiServiceDestroy = NODYNSORT;
- papiServiceSetUserName = NODYNSORT;
- papiServiceSetPassword = NODYNSORT;
- papiServiceSetEncryption = NODYNSORT;
- papiServiceSetAuthCB = NODYNSORT;
- papiServiceSetAppData = NODYNSORT;
- papiServiceGetUserName = NODYNSORT;
- papiServiceGetPassword = NODYNSORT;
+ papiServiceCreate { FLAGS = NODYNSORT };
+ papiServiceDestroy { FLAGS = NODYNSORT };
+ papiServiceSetUserName { FLAGS = NODYNSORT };
+ papiServiceSetPassword { FLAGS = NODYNSORT };
+ papiServiceSetEncryption { FLAGS = NODYNSORT };
+ papiServiceSetAuthCB { FLAGS = NODYNSORT };
+ papiServiceSetAppData { FLAGS = NODYNSORT };
+ papiServiceGetUserName { FLAGS = NODYNSORT };
+ papiServiceGetPassword { FLAGS = NODYNSORT };
papiServiceGetEncryption;
- papiServiceGetAppData = NODYNSORT;
- papiServiceGetServiceName = NODYNSORT;
- papiServiceGetAttributeList = NODYNSORT;
- papiServiceGetStatusMessage = NODYNSORT;
+ papiServiceGetAppData { FLAGS = NODYNSORT };
+ papiServiceGetServiceName { FLAGS = NODYNSORT };
+ papiServiceGetAttributeList { FLAGS = NODYNSORT };
+ papiServiceGetStatusMessage { FLAGS = NODYNSORT };
# PAPI Printer Calls
- papiPrintersList = NODYNSORT;
- papiPrinterQuery = NODYNSORT;
- papiPrinterAdd = NODYNSORT;
- papiPrinterModify = NODYNSORT;
- papiPrinterRemove = NODYNSORT;
- papiPrinterDisable = NODYNSORT;
- papiPrinterEnable = NODYNSORT;
- papiPrinterPause = NODYNSORT;
- papiPrinterResume = NODYNSORT;
- papiPrinterPurgeJobs = NODYNSORT;
- papiPrinterListJobs = NODYNSORT;
- papiPrinterGetAttributeList = NODYNSORT;
- papiPrinterFree = NODYNSORT;
- papiPrinterListFree = NODYNSORT;
+ papiPrintersList { FLAGS = NODYNSORT };
+ papiPrinterQuery { FLAGS = NODYNSORT };
+ papiPrinterAdd { FLAGS = NODYNSORT };
+ papiPrinterModify { FLAGS = NODYNSORT };
+ papiPrinterRemove { FLAGS = NODYNSORT };
+ papiPrinterDisable { FLAGS = NODYNSORT };
+ papiPrinterEnable { FLAGS = NODYNSORT };
+ papiPrinterPause { FLAGS = NODYNSORT };
+ papiPrinterResume { FLAGS = NODYNSORT };
+ papiPrinterPurgeJobs { FLAGS = NODYNSORT };
+ papiPrinterListJobs { FLAGS = NODYNSORT };
+ papiPrinterGetAttributeList { FLAGS = NODYNSORT };
+ papiPrinterFree { FLAGS = NODYNSORT };
+ papiPrinterListFree { FLAGS = NODYNSORT };
# PAPI Job Calls
- papiJobSubmit = NODYNSORT;
- papiJobSubmitByReference = NODYNSORT;
- papiJobValidate = NODYNSORT;
- papiJobStreamOpen = NODYNSORT;
- papiJobStreamWrite = NODYNSORT;
- papiJobStreamClose = NODYNSORT;
- papiJobQuery = NODYNSORT;
- papiJobModify = NODYNSORT;
- papiJobMove = NODYNSORT;
- papiJobCancel = NODYNSORT;
- papiJobHold = NODYNSORT;
- papiJobRelease = NODYNSORT;
- papiJobRestart = NODYNSORT;
- papiJobPromote = NODYNSORT;
- papiJobGetAttributeList = NODYNSORT;
- papiJobGetPrinterName = NODYNSORT;
+ papiJobSubmit { FLAGS = NODYNSORT };
+ papiJobSubmitByReference { FLAGS = NODYNSORT };
+ papiJobValidate { FLAGS = NODYNSORT };
+ papiJobStreamOpen { FLAGS = NODYNSORT };
+ papiJobStreamWrite { FLAGS = NODYNSORT };
+ papiJobStreamClose { FLAGS = NODYNSORT };
+ papiJobQuery { FLAGS = NODYNSORT };
+ papiJobModify { FLAGS = NODYNSORT };
+ papiJobMove { FLAGS = NODYNSORT };
+ papiJobCancel { FLAGS = NODYNSORT };
+ papiJobHold { FLAGS = NODYNSORT };
+ papiJobRelease { FLAGS = NODYNSORT };
+ papiJobRestart { FLAGS = NODYNSORT };
+ papiJobPromote { FLAGS = NODYNSORT };
+ papiJobGetAttributeList { FLAGS = NODYNSORT };
+ papiJobGetPrinterName { FLAGS = NODYNSORT };
papiJobGetId;
- papiJobGetJobTicket = NODYNSORT;
- papiJobFree = NODYNSORT;
- papiJobListFree = NODYNSORT;
+ papiJobGetJobTicket { FLAGS = NODYNSORT };
+ papiJobFree { FLAGS = NODYNSORT };
+ papiJobListFree { FLAGS = NODYNSORT };
# Misc. PAPI Calls
papiStatusString;
@@ -135,12 +136,12 @@ SUNW_1.0 {
papiLibrarySupportedCalls;
};
-SUNWprivate_1.0 { # Misc. semi-private supporting calls
+SYMBOL_VERSION SUNWprivate_1.0 { # Misc. semi-private supporting calls
global:
- papiServiceSetPeer = NODYNSORT;
- papiJobCreate = NODYNSORT;
- papiJobStreamAdd = NODYNSORT;
- papiJobCommit = NODYNSORT;
+ papiServiceSetPeer { FLAGS = NODYNSORT };
+ papiJobCreate { FLAGS = NODYNSORT };
+ papiJobStreamAdd { FLAGS = NODYNSORT };
+ papiJobCommit { FLAGS = NODYNSORT };
# URI
uri_from_string;
@@ -153,7 +154,7 @@ SUNWprivate_1.0 { # Misc. semi-private supporting calls
list_concatenate;
# NS
- getprinterbyname = NODYNSORT;
+ getprinterbyname { FLAGS = NODYNSORT };
# extra Attribute Calls
copy_attributes;
diff --git a/usr/src/lib/print/libpapi-dynamic/common/mapfile b/usr/src/lib/print/libpapi-dynamic/common/mapfile
index 6d0e92715a..cc8cb45239 100644
--- a/usr/src/lib/print/libpapi-dynamic/common/mapfile
+++ b/usr/src/lib/print/libpapi-dynamic/common/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,38 +41,112 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Common interfaces that are most likely to be shared amongst the various
# PAPI implementations.
#
-SUNW_1.0 {
+SYMBOL_VERSION SUNW_1.0 {
global:
# PAPI Attribute Calls
- papiAttributeListAddValue = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFind = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListToString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFree = FUNCTION FILTER libpapi-common.so ;
+ papiAttributeListAddValue {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddBoolean {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddCollection {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddDatetime {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddInteger {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddMetadata {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddRange {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddResolution {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListDelete {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetValue {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetNext {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFind {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetBoolean {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetCollection {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetDatetime {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetInteger {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetMetadata {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetRange {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetResolution {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFromString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListToString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFree {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# PAPI Service Calls
papiServiceCreate ;
@@ -130,12 +203,21 @@ SUNW_1.0 {
papiJobListFree ;
# Misc. PAPI Calls
- papiStatusString = FUNCTION FILTER libpapi-common.so ;
- papiLibrarySupportedCall = FUNCTION FILTER libpapi-common.so ;
- papiLibrarySupportedCalls = FUNCTION FILTER libpapi-common.so ;
+ papiStatusString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiLibrarySupportedCall {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiLibrarySupportedCalls {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
};
-SUNWprivate_1.0 {
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
papiServiceSetPeer ; # extension
papiJobCreate ;
@@ -144,24 +226,54 @@ SUNWprivate_1.0 {
# Misc. supporting calls
# URI
- uri_from_string = FUNCTION FILTER libpapi-common.so ;
- uri_to_string = FUNCTION FILTER libpapi-common.so ;
- uri_free = FUNCTION FILTER libpapi-common.so ;
+ uri_from_string {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ uri_to_string {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ uri_free {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# list
- list_remove = FUNCTION FILTER libpapi-common.so ;
- list_append = FUNCTION FILTER libpapi-common.so ;
- list_concatenate = FUNCTION FILTER libpapi-common.so ;
+ list_remove {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ list_append {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ list_concatenate {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# NS
getprinterbyname ;
- is_localhost = FUNCTION FILTER libpapi-common.so ;
+ is_localhost {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# extra Attribute Calls
- copy_attributes = FUNCTION FILTER libpapi-common.so ;
- split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ;
+ copy_attributes {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ split_and_copy_attributes {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListPrint {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
local:
* ;
} ;
-FSG_1.0 {} SUNW_1.0;
+SYMBOL_VERSION FSG_1.0 {} SUNW_1.0;
diff --git a/usr/src/lib/print/libpapi-ipp/common/mapfile b/usr/src/lib/print/libpapi-ipp/common/mapfile
index 85f8d79df5..847a5bb76f 100644
--- a/usr/src/lib/print/libpapi-ipp/common/mapfile
+++ b/usr/src/lib/print/libpapi-ipp/common/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,38 +41,112 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Common interfaces that are most likely to be shared amongst the various
# PAPI implementations.
#
-SUNW_1.0 {
+SYMBOL_VERSION SUNW_1.0 {
global:
# PAPI Attribute Calls
- papiAttributeListAddValue = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFind = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListToString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFree = FUNCTION FILTER libpapi-common.so ;
+ papiAttributeListAddValue {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddBoolean {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddCollection {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddDatetime {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddInteger {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddMetadata {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddRange {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddResolution {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListDelete {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetValue {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetNext {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFind {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetBoolean {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetCollection {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetDatetime {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetInteger {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetMetadata {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetRange {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetResolution {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFromString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListToString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFree {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# PAPI Service Calls
papiServiceCreate ;
@@ -130,35 +203,89 @@ SUNW_1.0 {
papiJobListFree ;
# Misc. PAPI Calls
- papiStatusString = FUNCTION FILTER libpapi-common.so ;
- papiLibrarySupportedCall = FUNCTION FILTER libpapi-common.so ;
- papiLibrarySupportedCalls = FUNCTION FILTER libpapi-common.so ;
-};
+ papiStatusString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiLibrarySupportedCall {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiLibrarySupportedCalls {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+} ;
-SUNWprivate_1.0 {
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
- papiServiceSetPeer = FUNCTION FILTER libpapi-common.so ;
- papiJobCreate = FUNCTION FILTER libpapi-common.so ;
- papiJobStreamAdd = FUNCTION FILTER libpapi-common.so ;
- papiJobCommit = FUNCTION FILTER libpapi-common.so ;
+ papiServiceSetPeer {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobCreate {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobStreamAdd {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobCommit {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# Misc. supporting calls
# URI
- uri_from_string = FUNCTION FILTER libpapi-common.so ;
- uri_to_string = FUNCTION FILTER libpapi-common.so ;
- uri_free = FUNCTION FILTER libpapi-common.so ;
+ uri_from_string {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ uri_to_string {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ uri_free {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# list
- list_remove = FUNCTION FILTER libpapi-common.so ;
- list_append = FUNCTION FILTER libpapi-common.so ;
- list_concatenate = FUNCTION FILTER libpapi-common.so ;
+ list_remove {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ list_append {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ list_concatenate {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# NS
- getprinterbyname = FUNCTION FILTER libpapi-common.so ;
- is_localhost = FUNCTION FILTER libpapi-common.so ;
+ getprinterbyname {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ is_localhost {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# extra Attribute Calls
- copy_attributes = FUNCTION FILTER libpapi-common.so ;
- split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ;
+ copy_attributes {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ split_and_copy_attributes {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListPrint {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
local:
* ;
diff --git a/usr/src/lib/print/libpapi-lpd/common/mapfile b/usr/src/lib/print/libpapi-lpd/common/mapfile
index d113b208a2..2ad5020f15 100644
--- a/usr/src/lib/print/libpapi-lpd/common/mapfile
+++ b/usr/src/lib/print/libpapi-lpd/common/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,38 +41,112 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Common interfaces that are most likely to be shared amongst the various
# PAPI implementations.
#
-SUNW_1.0 {
+SYMBOL_VERSION SUNW_1.0 {
global:
# PAPI Attribute Calls
- papiAttributeListAddValue = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddBoolean = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddCollection = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddDatetime = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddInteger = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddMetadata = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddRange = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddResolution = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListAddString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListDelete = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetValue = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetNext = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFind = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetBoolean = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetCollection = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetDatetime = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetInteger = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetMetadata = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetRange = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetResolution = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListGetString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFromString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListToString = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListFree = FUNCTION FILTER libpapi-common.so ;
+ papiAttributeListAddValue {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddBoolean {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddCollection {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddDatetime {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddInteger {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddMetadata {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddRange {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddResolution {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListAddString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListDelete {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetValue {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetNext {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFind {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetBoolean {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetCollection {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetDatetime {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetInteger {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetMetadata {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetRange {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetResolution {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListGetString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFromString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListToString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListFree {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# PAPI Service Calls
papiServiceCreate ;
@@ -92,11 +165,23 @@ SUNW_1.0 {
papiServiceGetStatusMessage ;
# PAPI Printer Calls
- papiPrintersList = FUNCTION FILTER libpapi-common.so ;
+ papiPrintersList {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
papiPrinterQuery ;
- papiPrinterAdd = FUNCTION FILTER libpapi-common.so ;
- papiPrinterModify = FUNCTION FILTER libpapi-common.so ;
- papiPrinterRemove = FUNCTION FILTER libpapi-common.so ;
+ papiPrinterAdd {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiPrinterModify {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiPrinterRemove {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
papiPrinterDisable ;
papiPrinterEnable ;
papiPrinterPause ;
@@ -110,55 +195,127 @@ SUNW_1.0 {
# PAPI Job Calls
papiJobSubmit ;
papiJobSubmitByReference ;
- papiJobValidate = FUNCTION FILTER libpapi-common.so ;
+ papiJobValidate {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
papiJobStreamOpen ;
papiJobStreamWrite ;
papiJobStreamClose ;
papiJobQuery ;
- papiJobModify = FUNCTION FILTER libpapi-common.so ;
- papiJobMove = FUNCTION FILTER libpapi-common.so ;
+ papiJobModify {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobMove {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
papiJobCancel ;
- papiJobHold = FUNCTION FILTER libpapi-common.so ;
- papiJobRelease = FUNCTION FILTER libpapi-common.so ;
- papiJobRestart = FUNCTION FILTER libpapi-common.so ;
- papiJobPromote = FUNCTION FILTER libpapi-common.so ;
+ papiJobHold {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobRelease {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobRestart {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobPromote {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
papiJobGetAttributeList ;
papiJobGetPrinterName ;
papiJobGetId ;
- papiJobGetJobTicket = FUNCTION FILTER libpapi-common.so ;
+ papiJobGetJobTicket {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
papiJobFree ;
papiJobListFree ;
# Misc. PAPI Calls
- papiStatusString = FUNCTION FILTER libpapi-common.so ;
+ papiStatusString {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
papiLibrarySupportedCall ;
papiLibrarySupportedCalls ;
-};
+} ;
-SUNWprivate_1.0 {
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
- papiServiceSetPeer = FUNCTION FILTER libpapi-common.so ;
- papiJobCreate = FUNCTION FILTER libpapi-common.so ;
- papiJobStreamAdd = FUNCTION FILTER libpapi-common.so ;
- papiJobCommit = FUNCTION FILTER libpapi-common.so ;
+ papiServiceSetPeer {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobCreate {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobStreamAdd {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiJobCommit {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# Misc. supporting calls
# URI
- uri_from_string = FUNCTION FILTER libpapi-common.so ;
- uri_to_string = FUNCTION FILTER libpapi-common.so ;
- uri_free = FUNCTION FILTER libpapi-common.so ;
+ uri_from_string {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ uri_to_string {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ uri_free {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# list
- list_remove = FUNCTION FILTER libpapi-common.so ;
- list_append = FUNCTION FILTER libpapi-common.so ;
- list_concatenate = FUNCTION FILTER libpapi-common.so ;
+ list_remove {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ list_append {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ list_concatenate {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# NS
- getprinterbyname = FUNCTION FILTER libpapi-common.so ;
- is_localhost = FUNCTION FILTER libpapi-common.so ;
+ getprinterbyname {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ is_localhost {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
# extra Attribute Calls
- copy_attributes = FUNCTION FILTER libpapi-common.so ;
- split_and_copy_attributes = FUNCTION FILTER libpapi-common.so ;
- papiAttributeListPrint = FUNCTION FILTER libpapi-common.so ;
+ copy_attributes {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ split_and_copy_attributes {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
+ papiAttributeListPrint {
+ TYPE = FUNCTION;
+ FILTER = libpapi-common.so;
+ } ;
local:
* ;
diff --git a/usr/src/lib/print/libprint/common/mapfile-vers b/usr/src/lib/print/libprint/common/mapfile-vers
index 522583b98f..776e97beca 100644
--- a/usr/src/lib/print/libprint/common/mapfile-vers
+++ b/usr/src/lib/print/libprint/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,11 +36,13 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Generic interface definition for usr/src/lib/print.
#
-SUNWprivate_2.1 {
+SYMBOL_VERSION SUNWprivate_2.1 {
global:
getprinterbyname; # NSS support
getprinterentry;
diff --git a/usr/src/lib/print/mod_ipp/mapfile b/usr/src/lib/print/mod_ipp/mapfile
index 94db41b644..ffdec222b5 100644
--- a/usr/src/lib/print/mod_ipp/mapfile
+++ b/usr/src/lib/print/mod_ipp/mapfile
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,7 +41,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.0 {
global:
ipp_module;
diff --git a/usr/src/lib/pyzfs/common/mapfile-vers b/usr/src/lib/pyzfs/common/mapfile-vers
index cc3d648b8a..d16918c098 100644
--- a/usr/src/lib/pyzfs/common/mapfile-vers
+++ b/usr/src/lib/pyzfs/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
initioctl;
local:
diff --git a/usr/src/lib/rpcsec_gss/mapfile-vers b/usr/src/lib/rpcsec_gss/mapfile-vers
index 7ae7dee65b..899726d23f 100644
--- a/usr/src/lib/rpcsec_gss/mapfile-vers
+++ b/usr/src/lib/rpcsec_gss/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,6 +35,8 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
#
# Generic interface definition for usr/src/lib/rpcsec_gss.
#
@@ -46,17 +47,17 @@
# present. This is because applications built on 2.6 Beta
# (when it did contain symbols explicitly) may depend on it.
#
-SUNW_1.2 { # This empty version MUST BE preserved for 2.6Beta apps
+SYMBOL_VERSION SUNW_1.2 {
global:
SUNW_1.2;
} SUNW_1.1;
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
SUNW_1.1;
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
__rpc_gss_seccreate;
__rpc_gss_set_defaults;
diff --git a/usr/src/lib/sasl_plugins/mapfile-vers b/usr/src/lib/sasl_plugins/mapfile-vers
index 47adcbb633..65df915d43 100644
--- a/usr/src/lib/sasl_plugins/mapfile-vers
+++ b/usr/src/lib/sasl_plugins/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
sasl_client_plug_init;
sasl_server_plug_init;
diff --git a/usr/src/lib/scsi/libscsi/libscsi_api.map b/usr/src/lib/scsi/libscsi/libscsi_api.map
index 8fbb5ef1ca..72efb3a2de 100644
--- a/usr/src/lib/scsi/libscsi/libscsi_api.map
+++ b/usr/src/lib/scsi/libscsi/libscsi_api.map
@@ -20,30 +20,30 @@
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-{
- libscsi_strerror = FUNCTION extern;
- libscsi_errname = FUNCTION extern;
- libscsi_errcode = FUNCTION extern;
- libscsi_alloc = FUNCTION extern;
- libscsi_zalloc = FUNCTION extern;
- libscsi_strdup = FUNCTION extern;
- libscsi_free = FUNCTION extern;
- libscsi_set_errno = FUNCTION extern;
- libscsi_verror = FUNCTION extern;
- libscsi_error = FUNCTION extern;
- libscsi_cmd_cdblen = FUNCTION extern;
- libscsi_action_get_timeout = FUNCTION extern;
- libscsi_action_get_flags = FUNCTION extern;
- libscsi_action_get_cdb = FUNCTION extern;
- libscsi_action_get_buffer = FUNCTION extern;
- libscsi_action_get_sense = FUNCTION extern;
- libscsi_action_set_status = FUNCTION extern;
- libscsi_action_set_datalen = FUNCTION extern;
- libscsi_action_set_senselen = FUNCTION extern;
- libscsi_assert = FUNCTION extern;
+$mapfile_version 2
+
+SYMBOL_SCOPE {
+ libscsi_strerror { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_errname { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_errcode { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_alloc { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_zalloc { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_strdup { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_free { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_set_errno { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_verror { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_error { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_cmd_cdblen { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_get_timeout { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_get_flags { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_get_cdb { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_get_buffer { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_get_sense { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_set_status { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_set_datalen { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_action_set_senselen { TYPE = FUNCTION; FLAGS = extern };
+ libscsi_assert { TYPE = FUNCTION; FLAGS = extern };
};
diff --git a/usr/src/lib/scsi/libscsi/mapfile-vers b/usr/src/lib/scsi/libscsi/mapfile-vers
index 0aa907794e..7e0d8e251c 100644
--- a/usr/src/lib/scsi/libscsi/mapfile-vers
+++ b/usr/src/lib/scsi/libscsi/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
libscsi_init;
libscsi_fini;
diff --git a/usr/src/lib/scsi/libses/libses_api.map b/usr/src/lib/scsi/libses/libses_api.map
index d58255ac12..d0b58c08fe 100644
--- a/usr/src/lib/scsi/libses/libses_api.map
+++ b/usr/src/lib/scsi/libses/libses_api.map
@@ -20,51 +20,51 @@
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-{
- ses_close = FUNCTION extern;
- ses_errno = FUNCTION extern;
- ses_errmsg = FUNCTION extern;
- ses_node_child = FUNCTION extern;
- ses_node_id = FUNCTION extern;
- ses_node_lookup = FUNCTION extern;
- ses_node_parent = FUNCTION extern;
- ses_node_props = FUNCTION extern;
- ses_node_prev_sibling = FUNCTION extern;
- ses_node_sibling = FUNCTION extern;
- ses_node_snapshot = FUNCTION extern;
- ses_node_target = FUNCTION extern;
- ses_node_type = FUNCTION extern;
- ses_open = FUNCTION extern;
- ses_root_node = FUNCTION extern;
- ses_scsi_target = FUNCTION extern;
- ses_snap_primary_enclosure = FUNCTION extern;
- ses_snap_generation = FUNCTION extern;
- ses_strerror = FUNCTION extern;
- ses_walk = FUNCTION extern;
+$mapfile_version 2
- nvlist_add_fixed_string = FUNCTION extern;
- nvlist_add_fixed_string_trunc = FUNCTION extern;
+SYMBOL_SCOPE {
+ ses_close { TYPE = FUNCTION; FLAGS = extern };
+ ses_errno { TYPE = FUNCTION; FLAGS = extern };
+ ses_errmsg { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_child { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_id { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_lookup { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_parent { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_props { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_prev_sibling { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_sibling { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_snapshot { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_target { TYPE = FUNCTION; FLAGS = extern };
+ ses_node_type { TYPE = FUNCTION; FLAGS = extern };
+ ses_open { TYPE = FUNCTION; FLAGS = extern };
+ ses_root_node { TYPE = FUNCTION; FLAGS = extern };
+ ses_scsi_target { TYPE = FUNCTION; FLAGS = extern };
+ ses_snap_primary_enclosure { TYPE = FUNCTION; FLAGS = extern };
+ ses_snap_generation { TYPE = FUNCTION; FLAGS = extern };
+ ses_strerror { TYPE = FUNCTION; FLAGS = extern };
+ ses_walk { TYPE = FUNCTION; FLAGS = extern };
- ses_alloc = FUNCTION extern;
- ses_assert = FUNCTION extern;
- ses_error = FUNCTION extern;
- ses_free = FUNCTION extern;
- ses_nverror = FUNCTION extern;
- ses_panic = FUNCTION extern;
- ses_realloc = FUNCTION extern;
- ses_set_nverrno = FUNCTION extern;
- ses_set_errno = FUNCTION extern;
- ses_strdup = FUNCTION extern;
- ses_zalloc = FUNCTION extern;
+ nvlist_add_fixed_string { TYPE = FUNCTION; FLAGS = extern };
+ nvlist_add_fixed_string_trunc { TYPE = FUNCTION; FLAGS = extern };
- ses_plugin_ctlpage_lookup = FUNCTION extern;
- ses_plugin_page_lookup = FUNCTION extern;
- ses_plugin_register = FUNCTION extern;
- ses_plugin_setspecific = FUNCTION extern;
- ses_plugin_getspecific = FUNCTION extern;
+ ses_alloc { TYPE = FUNCTION; FLAGS = extern };
+ ses_assert { TYPE = FUNCTION; FLAGS = extern };
+ ses_error { TYPE = FUNCTION; FLAGS = extern };
+ ses_free { TYPE = FUNCTION; FLAGS = extern };
+ ses_nverror { TYPE = FUNCTION; FLAGS = extern };
+ ses_panic { TYPE = FUNCTION; FLAGS = extern };
+ ses_realloc { TYPE = FUNCTION; FLAGS = extern };
+ ses_set_nverrno { TYPE = FUNCTION; FLAGS = extern };
+ ses_set_errno { TYPE = FUNCTION; FLAGS = extern };
+ ses_strdup { TYPE = FUNCTION; FLAGS = extern };
+ ses_zalloc { TYPE = FUNCTION; FLAGS = extern };
+
+ ses_plugin_ctlpage_lookup { TYPE = FUNCTION; FLAGS = extern };
+ ses_plugin_page_lookup { TYPE = FUNCTION; FLAGS = extern };
+ ses_plugin_register { TYPE = FUNCTION; FLAGS = extern };
+ ses_plugin_setspecific { TYPE = FUNCTION; FLAGS = extern };
+ ses_plugin_getspecific { TYPE = FUNCTION; FLAGS = extern };
};
diff --git a/usr/src/lib/scsi/libses/mapfile-vers b/usr/src/lib/scsi/libses/mapfile-vers
index c624386a19..d4d3fd363b 100644
--- a/usr/src/lib/scsi/libses/mapfile-vers
+++ b/usr/src/lib/scsi/libses/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
ses_close;
ses_errno;
diff --git a/usr/src/lib/smbsrv/libmlrpc/common/mapfile-vers b/usr/src/lib/smbsrv/libmlrpc/common/mapfile-vers
index 67aece634c..c6a32420e0 100644
--- a/usr/src/lib/smbsrv/libmlrpc/common/mapfile-vers
+++ b/usr/src/lib/smbsrv/libmlrpc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
ndr_buf_decode;
ndr_buf_fini;
diff --git a/usr/src/lib/smbsrv/libmlsvc/common/mapfile-vers b/usr/src/lib/smbsrv/libmlsvc/common/mapfile-vers
index 4854c7494f..9737c5f4ae 100644
--- a/usr/src/lib/smbsrv/libmlsvc/common/mapfile-vers
+++ b/usr/src/lib/smbsrv/libmlsvc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
dfs_get_referrals;
dfs_info_free;
@@ -48,7 +49,7 @@ SUNWprivate {
mlsvc_disconnect;
mlsvc_fini;
mlsvc_init;
- mlsvc_join;
+ mlsvc_join;
mlsvc_netlogon;
smb_autohome_add;
smb_autohome_remove;
diff --git a/usr/src/lib/smbsrv/libsmb/common/mapfile-vers b/usr/src/lib/smbsrv/libsmb/common/mapfile-vers
index ea37cac092..1d4828eab2 100644
--- a/usr/src/lib/smbsrv/libsmb/common/mapfile-vers
+++ b/usr/src/lib/smbsrv/libsmb/common/mapfile-vers
@@ -35,7 +35,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
bintohex;
dfs_referral_query_xdr;
diff --git a/usr/src/lib/smbsrv/libsmbns/common/mapfile-vers b/usr/src/lib/smbsrv/libsmbns/common/mapfile-vers
index 0840c08192..05155f64fb 100644
--- a/usr/src/lib/smbsrv/libsmbns/common/mapfile-vers
+++ b/usr/src/lib/smbsrv/libsmbns/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
dyndns_clear_zones;
dyndns_start;
diff --git a/usr/src/lib/smbsrv/libsmbrdr/common/mapfile-vers b/usr/src/lib/smbsrv/libsmbrdr/common/mapfile-vers
index af37a4252a..3ae28df879 100644
--- a/usr/src/lib/smbsrv/libsmbrdr/common/mapfile-vers
+++ b/usr/src/lib/smbsrv/libsmbrdr/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
smbrdr_close_pipe;
smbrdr_disconnect;
diff --git a/usr/src/lib/smhba/common/mapfile-vers b/usr/src/lib/smhba/common/mapfile-vers
index c1c823a847..b5a7a4d341 100644
--- a/usr/src/lib/smhba/common/mapfile-vers
+++ b/usr/src/lib/smhba/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,8 +36,9 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
-SUNW_1.1 {
+SYMBOL_VERSION SUNW_1.1 {
global:
HBA_GetVersion;
HBA_GetWrapperLibraryAttributes;
diff --git a/usr/src/lib/storage/liba5k/common/mapfile-vers b/usr/src/lib/storage/liba5k/common/mapfile-vers
index ad489dc154..543594daf0 100644
--- a/usr/src/lib/storage/liba5k/common/mapfile-vers
+++ b/usr/src/lib/storage/liba5k/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -42,7 +41,9 @@
# Generic interface definition for usr/src/lib/storage/liba5k.
#
-SUNW_2.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_2.0 {
global:
l_chk_null_wwn;
l_convert_name;
diff --git a/usr/src/lib/storage/libg_fc/common/mapfile-vers b/usr/src/lib/storage/libg_fc/common/mapfile-vers
index 5497e35558..8515664d10 100644
--- a/usr/src/lib/storage/libg_fc/common/mapfile-vers
+++ b/usr/src/lib/storage/libg_fc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -41,7 +40,9 @@
# Generic interface definition for usr/src/lib/storage/libg_fc.
#
-SUNW_2.0 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_2.0 {
global:
g_device_in_map;
g_free_multipath;
diff --git a/usr/src/lib/sun_fc/common/mapfile-vers b/usr/src/lib/sun_fc/common/mapfile-vers
index d23fe88b55..a976cd0f2a 100644
--- a/usr/src/lib/sun_fc/common/mapfile-vers
+++ b/usr/src/lib/sun_fc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
HBA_RegisterLibrary;
HBA_RegisterLibraryV2;
diff --git a/usr/src/lib/sun_sas/common/mapfile-vers b/usr/src/lib/sun_sas/common/mapfile-vers
index d0085ce9e1..3fde77b9a0 100644
--- a/usr/src/lib/sun_sas/common/mapfile-vers
+++ b/usr/src/lib/sun_sas/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
#
-SUNWprivate {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate {
global:
SMHBA_RegisterLibrary;
Sun_sasGetNumberOfAdapters;
diff --git a/usr/src/lib/udapl/libdat/common/mapfile-vers b/usr/src/lib/udapl/libdat/common/mapfile-vers
index 1e3a24d350..a9d8c3a042 100644
--- a/usr/src/lib/udapl/libdat/common/mapfile-vers
+++ b/usr/src/lib/udapl/libdat/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,7 +36,9 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
dat_cno_create;
dat_cno_free;
diff --git a/usr/src/lib/udapl/udapl_tavor/common/mapfile-vers b/usr/src/lib/udapl/udapl_tavor/common/mapfile-vers
index d6822a7ca5..bf9b1863f3 100644
--- a/usr/src/lib/udapl/udapl_tavor/common/mapfile-vers
+++ b/usr/src/lib/udapl/udapl_tavor/common/mapfile-vers
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,7 +37,9 @@
# MAPFILE HEADER END
#
-SUNWprivate_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
dapl_cno_create;
dapl_cno_free;
diff --git a/usr/src/lib/watchmalloc/common/mapfile-vers b/usr/src/lib/watchmalloc/common/mapfile-vers
index 0dcafcb935..183d8574bc 100644
--- a/usr/src/lib/watchmalloc/common/mapfile-vers
+++ b/usr/src/lib/watchmalloc/common/mapfile-vers
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -37,18 +36,20 @@
# MAPFILE HEADER END
#
-SUNW_1.1 {
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
global:
- calloc = NODIRECT;
- cfree = NODIRECT;
- free = NODIRECT;
- malloc = NODIRECT;
- memalign = NODIRECT;
- realloc = NODIRECT;
- valloc = NODIRECT;
+ calloc { FLAGS = NODIRECT };
+ cfree { FLAGS = NODIRECT };
+ free { FLAGS = NODIRECT };
+ malloc { FLAGS = NODIRECT };
+ memalign { FLAGS = NODIRECT };
+ realloc { FLAGS = NODIRECT };
+ valloc { FLAGS = NODIRECT };
};
-SUNWprivate_1.1 {
+SYMBOL_VERSION SUNWprivate_1.1 {
global:
SUNWprivate_1.1;
local: