1b30d1939SAndy Fiddaman# 2b30d1939SAndy Fiddaman# CDDL HEADER START 3b30d1939SAndy Fiddaman# 4b30d1939SAndy Fiddaman# The contents of this file are subject to the terms of the 5b30d1939SAndy Fiddaman# Common Development and Distribution License (the "License"). 6b30d1939SAndy Fiddaman# You may not use this file except in compliance with the License. 7b30d1939SAndy Fiddaman# 8b30d1939SAndy Fiddaman# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9b30d1939SAndy Fiddaman# or http://www.opensolaris.org/os/licensing. 10b30d1939SAndy Fiddaman# See the License for the specific language governing permissions 11b30d1939SAndy Fiddaman# and limitations under the License. 12b30d1939SAndy Fiddaman# 13b30d1939SAndy Fiddaman# When distributing Covered Code, include this CDDL HEADER in each 14b30d1939SAndy Fiddaman# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15b30d1939SAndy Fiddaman# If applicable, add the following below this CDDL HEADER, with the 16b30d1939SAndy Fiddaman# fields enclosed by brackets "[]" replaced with your own identifying 17b30d1939SAndy Fiddaman# information: Portions Copyright [yyyy] [name of copyright owner] 18b30d1939SAndy Fiddaman# 19b30d1939SAndy Fiddaman# CDDL HEADER END 20b30d1939SAndy Fiddaman# 21b30d1939SAndy Fiddaman 22b30d1939SAndy Fiddaman# 23b30d1939SAndy Fiddaman# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 24b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association. 25b30d1939SAndy Fiddaman# 26b30d1939SAndy Fiddaman 27b30d1939SAndy Fiddaman# 28b30d1939SAndy Fiddaman# MAPFILE HEADER START 29b30d1939SAndy Fiddaman# 30b30d1939SAndy Fiddaman# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 31b30d1939SAndy Fiddaman# Object versioning must comply with the rules detailed in 32b30d1939SAndy Fiddaman# 33b30d1939SAndy Fiddaman# usr/src/lib/README.mapfiles 34b30d1939SAndy Fiddaman# 35b30d1939SAndy Fiddaman# You should not be making modifications here until you've read the most current 36b30d1939SAndy Fiddaman# copy of that file. If you need help, contact a gatekeeper for guidance. 37b30d1939SAndy Fiddaman# 38b30d1939SAndy Fiddaman# MAPFILE HEADER END 39b30d1939SAndy Fiddaman# 40b30d1939SAndy Fiddaman 41b30d1939SAndy Fiddaman$mapfile_version 2 42b30d1939SAndy Fiddaman 43b30d1939SAndy FiddamanSYMBOL_VERSION SUNWprivate_1.1 { 44b30d1939SAndy Fiddaman global: 45b30d1939SAndy Fiddaman plugin_version; 46b30d1939SAndy Fiddaman 47b30d1939SAndy Fiddaman sh_access; 48b30d1939SAndy Fiddaman sh_addbuiltin; 49b30d1939SAndy Fiddaman sh_bltin_tree; 50b30d1939SAndy Fiddaman sh_close; 51b30d1939SAndy Fiddaman sh_delay; 52b30d1939SAndy Fiddaman sh_dup; 53b30d1939SAndy Fiddaman sh_eval; 54b30d1939SAndy Fiddaman sh_exec; 55b30d1939SAndy Fiddaman sh_exit; 56b30d1939SAndy Fiddaman sh_fcntl; 57b30d1939SAndy Fiddaman sh_fmtq; 58b30d1939SAndy Fiddaman sh_fmtqf; 59b30d1939SAndy Fiddaman sh_fun; 60b30d1939SAndy Fiddaman sh_funscope; 61b30d1939SAndy Fiddaman sh_getinterp; 62b30d1939SAndy Fiddaman sh_getscope; 63b30d1939SAndy Fiddaman sh_init; 64b30d1939SAndy Fiddaman sh_iogetiop; 65b30d1939SAndy Fiddaman sh_isoption; 66b30d1939SAndy Fiddaman sh_main; 67b30d1939SAndy Fiddaman sh_menu; 68b30d1939SAndy Fiddaman sh_offoption; 69b30d1939SAndy Fiddaman sh_onoption; 70b30d1939SAndy Fiddaman sh_open; 71b30d1939SAndy Fiddaman sh_parse; 72b30d1939SAndy Fiddaman sh_pathopen; 73b30d1939SAndy Fiddaman sh_pipe; 74b30d1939SAndy Fiddaman sh_read; 75b30d1939SAndy Fiddaman sh_reinit; 76b30d1939SAndy Fiddaman sh_seek; 77b30d1939SAndy Fiddaman sh_setscope; 78b30d1939SAndy Fiddaman sh_sigcheck; 79b30d1939SAndy Fiddaman sh_strnum; 80b30d1939SAndy Fiddaman sh_subfork; 81b30d1939SAndy Fiddaman sh_tdump; 82b30d1939SAndy Fiddaman sh_trap; 83b30d1939SAndy Fiddaman sh_waitnotify; 84b30d1939SAndy Fiddaman sh_waitsafe; 85b30d1939SAndy Fiddaman sh_write; 86b30d1939SAndy Fiddaman 87b30d1939SAndy Fiddaman nv_adddisc; 88b30d1939SAndy Fiddaman nv_aindex; 89b30d1939SAndy Fiddaman nv_associative; 90b30d1939SAndy Fiddaman nv_clone; 91b30d1939SAndy Fiddaman nv_close; 92b30d1939SAndy Fiddaman nv_context; 93b30d1939SAndy Fiddaman nv_create; 94b30d1939SAndy Fiddaman nv_dict; 95b30d1939SAndy Fiddaman nv_disc; 96b30d1939SAndy Fiddaman nv_discfun; 97b30d1939SAndy Fiddaman nv_getn; 98b30d1939SAndy Fiddaman nv_getnum; 99b30d1939SAndy Fiddaman nv_getsub; 100b30d1939SAndy Fiddaman nv_getv; 101b30d1939SAndy Fiddaman nv_getval; 102b30d1939SAndy Fiddaman nv_hasdisc; 103b30d1939SAndy Fiddaman nv_isnull; 104b30d1939SAndy Fiddaman nv_lastdict; 105b30d1939SAndy Fiddaman nv_name; 106b30d1939SAndy Fiddaman nv_newattr; 107b30d1939SAndy Fiddaman nv_nextsub; 108b30d1939SAndy Fiddaman nv_open; 109b30d1939SAndy Fiddaman nv_opensub; 110b30d1939SAndy Fiddaman nv_putsub; 111b30d1939SAndy Fiddaman nv_putv; 112b30d1939SAndy Fiddaman nv_putval; 113b30d1939SAndy Fiddaman nv_scan; 114b30d1939SAndy Fiddaman nv_search; 115b30d1939SAndy Fiddaman nv_setarray; 116b30d1939SAndy Fiddaman nv_setdisc; 117b30d1939SAndy Fiddaman nv_setref; 118b30d1939SAndy Fiddaman nv_setsize; 119b30d1939SAndy Fiddaman nv_settype; 120b30d1939SAndy Fiddaman nv_setvec; 121b30d1939SAndy Fiddaman nv_setvtree; 122b30d1939SAndy Fiddaman nv_unset; 123b30d1939SAndy Fiddaman 124b30d1939SAndy Fiddaman # semi-private, needed for shcomp 1258222814eSRichard Lowe$if _ELF64 126*7e85189aSToomas Soome $if _x86 1278222814eSRichard Lowe sh { ASSERT = { TYPE = OBJECT; SIZE = 1888; }; }; 128*7e85189aSToomas Soome $elif _sparc 129*7e85189aSToomas Soome sh { ASSERT = { TYPE = OBJECT; SIZE = 1920; }; }; 130*7e85189aSToomas Soome $else 131*7e85189aSToomas Soome $error Unknown architecture 132*7e85189aSToomas Soome $endif 1338222814eSRichard Lowe$elif _ELF32 134*7e85189aSToomas Soome $if _x86 1358222814eSRichard Lowe sh { ASSERT = { TYPE = OBJECT; SIZE = 1216; }; }; 136*7e85189aSToomas Soome $elif _sparc 137*7e85189aSToomas Soome sh { ASSERT = { TYPE = OBJECT; SIZE = 1224; }; }; 138*7e85189aSToomas Soome $else 139*7e85189aSToomas Soome $error Unknown architecture 140*7e85189aSToomas Soome $endif 1418222814eSRichard Lowe$else 1428222814eSRichard Lowe$error unknown ELFCLASS 1438222814eSRichard Lowe$endif 1448222814eSRichard Lowe e_dict { ASSERT = { TYPE = OBJECT; SIZE = 9; }; }; 145b30d1939SAndy Fiddaman 146b30d1939SAndy Fiddaman local: 147b30d1939SAndy Fiddaman *; 148b30d1939SAndy Fiddaman}; 149b30d1939SAndy Fiddaman 150b30d1939SAndy Fiddaman# Builtin shell commands 151b30d1939SAndy Fiddaman# (see libshell/common/include/builtins.h) 152b30d1939SAndy Fiddaman# Note: We have to export all the |b_*()| symbols that the "builtin" command 153b30d1939SAndy Fiddaman# can load builtins which are not enabled by the default OS/Net configuration. 154b30d1939SAndy FiddamanSYMBOL_VERSION SUNWprivate_1.1 { 155b30d1939SAndy Fiddaman global: 156b30d1939SAndy Fiddaman B_echo; 157b30d1939SAndy Fiddaman B_login; 158b30d1939SAndy Fiddaman b_alarm; 159b30d1939SAndy Fiddaman b_alias; 160b30d1939SAndy Fiddaman b_bg; 161b30d1939SAndy Fiddaman b_break; 162b30d1939SAndy Fiddaman b_builtin; 163b30d1939SAndy Fiddaman b_cd; 164b30d1939SAndy Fiddaman b_close; 165b30d1939SAndy Fiddaman b_command; 166b30d1939SAndy Fiddaman b_dot_cmd; 167b30d1939SAndy Fiddaman b_dup; 168b30d1939SAndy Fiddaman b_eval; 169b30d1939SAndy Fiddaman b_exec; 170b30d1939SAndy Fiddaman b_false; 171b30d1939SAndy Fiddaman b_getopts; 172b30d1939SAndy Fiddaman b_hist; 173b30d1939SAndy Fiddaman b_jobs; 174b30d1939SAndy Fiddaman b_kill; 175b30d1939SAndy Fiddaman b_let; 176b30d1939SAndy Fiddaman b_open; 177b30d1939SAndy Fiddaman b_poll; 178b30d1939SAndy Fiddaman b_print; 179b30d1939SAndy Fiddaman b_printf; 180b30d1939SAndy Fiddaman b_pwd; 181b30d1939SAndy Fiddaman b_read; 182b30d1939SAndy Fiddaman b_readonly; 183b30d1939SAndy Fiddaman b_return; 184b30d1939SAndy Fiddaman b_rewind; 185b30d1939SAndy Fiddaman b_set; 186b30d1939SAndy Fiddaman b_shift; 187b30d1939SAndy Fiddaman b_sleep; 188b30d1939SAndy Fiddaman b_stat; 189b30d1939SAndy Fiddaman b_test; 190b30d1939SAndy Fiddaman b_tmpfile; 191b30d1939SAndy Fiddaman b_trap; 192b30d1939SAndy Fiddaman b_true; 193b30d1939SAndy Fiddaman b_typeset; 194b30d1939SAndy Fiddaman b_ulimit; 195b30d1939SAndy Fiddaman b_umask; 196b30d1939SAndy Fiddaman b_unalias; 197b30d1939SAndy Fiddaman b_unset; 198b30d1939SAndy Fiddaman b_vpath; 199b30d1939SAndy Fiddaman b_wait; 200b30d1939SAndy Fiddaman b_whence; 201b30d1939SAndy Fiddaman local: 202b30d1939SAndy Fiddaman *; 203b30d1939SAndy Fiddaman}; 204