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